]> Git Repo - linux.git/commit
drm/amd/display: Drop 'acrtc' and add 'new_crtc_state' NULL check for writeback requests.
authorSrinivasan Shanmugam <[email protected]>
Sat, 13 Jan 2024 09:02:27 +0000 (14:32 +0530)
committerAlex Deucher <[email protected]>
Thu, 18 Jan 2024 21:44:43 +0000 (16:44 -0500)
commitb2139c96dc954b58b81bc670fc4ea5f034ed062c
tree5b0874d1931f9dca7d10102126713b6330673129
parentfb1c93c2e9604a884467a773790016199f78ca08
drm/amd/display: Drop 'acrtc' and add 'new_crtc_state' NULL check for writeback requests.

Return value of 'to_amdgpu_crtc' which is container_of(...) can't be
null, so it's null check 'acrtc' is dropped.

Fixing the below:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9302 amdgpu_dm_atomic_commit_tail() error: we previously assumed 'acrtc' could be null (see line 9299)

Added 'new_crtc_state' NULL check for function
'drm_atomic_get_new_crtc_state' that retrieves the new state for a CRTC,
while enabling writeback requests.

Cc: [email protected]
Cc: Alex Hung <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Hamza Mahfooz <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
This page took 0.066222 seconds and 4 git commands to generate.