aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorZicheng Qu <[email protected]>2024-11-05 14:01:37 +0000
committerAlex Deucher <[email protected]>2024-11-20 15:03:06 +0000
commit2bc96c95070571c6c824e0d4c7783bee25a37876 (patch)
tree41ed2fb8b366ccaae47a14436d0fd64417a6be54 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe (diff)
downloadkernel-2bc96c95070571c6c824e0d4c7783bee25a37876.tar.gz
kernel-2bc96c95070571c6c824e0d4c7783bee25a37876.zip
drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
This commit addresses a null pointer dereference issue in hwss_setup_dpp(). The issue could occur when pipe_ctx->plane_state is null. The fix adds a check to ensure `pipe_ctx->plane_state` is not null before accessing. This prevents a null pointer dereference. Fixes: 0baae6246307 ("drm/amd/display: Refactor fast update to use new HWSS build sequence") Reviewed-by: Tom Chung <[email protected]> Signed-off-by: Zicheng Qu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions