aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2025-02-26 08:37:31 +0000
committerAlex Deucher <[email protected]>2025-02-27 21:50:04 +0000
commit63e6a77ccf239337baa9b1e7787cde9fa0462092 (patch)
treeb79cc34f5cb78b3a0bb720e90b5ecf9e2b88aefd /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentDocumentation/gpu: remove duplicate entries in different glossaries (diff)
downloadkernel-63e6a77ccf239337baa9b1e7787cde9fa0462092.tar.gz
kernel-63e6a77ccf239337baa9b1e7787cde9fa0462092.zip
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: 3be5262e353b ("drm/amd/display: Rename more dc_surface stuff to plane_state") Reviewed-by: Alex Hung <[email protected]> Signed-off-by: Ma Ke <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions