linux/drivers/gpu/drm/amd
Zicheng Qu 95792a18da drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
[ Upstream commit 2bc96c9507 ]

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: 0baae62463 ("drm/amd/display: Refactor fast update to use new HWSS build sequence")
Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Zicheng Qu <quzicheng@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-12-05 14:02:39 +01:00
..
acp drivers/gpu: Fix misalignment in comment block 2024-05-29 14:48:30 -04:00
amdgpu drm/amdgpu: Fix map/unmap queue logic 2024-12-05 14:01:56 +01:00
amdkfd drm/amdkfd: Fix wrong usage of INIT_WORK() 2024-12-05 14:01:56 +01:00
amdxcp drm/amd/amdxcp: Fix warnings 2024-05-08 15:17:05 -04:00
display drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp 2024-12-05 14:02:39 +01:00
include drm/amdkfd: Update logic for CU occupancy calculations 2024-09-25 12:56:00 -04:00
pm Revert "drm/amd/pm: correct the workload setting" 2024-11-16 09:41:11 -05:00