mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 14:32:27 -04:00
drm/amd/display: Rename dc resource_validate_ctx methods
Rename dc_resource methods from validate_ctx to state Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
608ac7bb39
commit
f36cc577c3
@@ -4651,7 +4651,7 @@ int amdgpu_dm_atomic_check(struct drm_device *dev,
|
||||
|
||||
dm_state->context = dc_create_state();
|
||||
ASSERT(dm_state->context);
|
||||
dc_resource_validate_ctx_copy_construct_current(dc, dm_state->context);
|
||||
dc_resource_state_copy_construct_current(dc, dm_state->context);
|
||||
|
||||
/* Remove exiting planes if they are modified */
|
||||
ret = dm_update_planes_state(dc, state, false, &lock_and_validation_needed);
|
||||
|
||||
Reference in New Issue
Block a user