aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2024-01-13 09:02:27 +0000
committerAlex Deucher <[email protected]>2024-01-18 20:45:46 +0000
commitb2f26f49e84bea03dddb5f37ff137c97b165107b (patch)
treed81c39cbdb640ec64a764c4ca930072815a884ed /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/amdgpu: Remove unnecessary NULL check (diff)
downloadkernel-b2f26f49e84bea03dddb5f37ff137c97b165107b.tar.gz
kernel-b2f26f49e84bea03dddb5f37ff137c97b165107b.zip
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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions