linux/drivers/gpu/drm/amd/display
Ma Ke 374c9faac5 drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params
Null pointer dereference 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.

Found by code review.

Fixes: 3be5262e35 ("drm/amd/display: Rename more dc_surface stuff to plane_state")
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 63e6a77ccf)
Cc: stable@vger.kernel.org
2025-03-05 11:44:53 -05:00
..
amdgpu_dm drm/amd/display: Fix HPD after gpu reset 2025-02-25 12:28:39 -05:00
dc drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params 2025-03-05 11:44:53 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.248.0 2025-01-10 12:00:01 -05:00
include drm/amd/display: Remove last parts of timing_trace 2024-11-04 11:26:36 -05:00
modules drm/amd/display: Revised for Replay Pseudo vblank control 2025-01-10 12:11:38 -05:00
Kconfig drm/amd/display: add CEC notifier to amdgpu driver 2025-01-10 11:58:57 -05:00
Makefile drm/amd/display: Refactor DCN3X into component folder 2024-06-14 16:18:55 -04:00