aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2024-01-25 15:46:04 +0000
committerAlex Deucher <[email protected]>2024-01-29 20:34:41 +0000
commit9ccfe80d022df7c595f1925afb31de2232900656 (patch)
treee097f435a70613d577f14ceee5964b61dd28f6b4 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/include: Add missing registers/mask for DCN316 and 350 (diff)
downloadkernel-9ccfe80d022df7c595f1925afb31de2232900656.tar.gz
kernel-9ccfe80d022df7c595f1925afb31de2232900656.zip
drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
The 'stream' pointer is used in dcn10_set_output_transfer_func() before the check if 'stream' is NULL. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn10/dcn10_hwseq.c:1892 dcn10_set_output_transfer_func() warn: variable dereferenced before check 'stream' (see line 1875) Fixes: ddef02de0d71 ("drm/amd/display: add null checks before logging") Cc: Wyatt Wood <[email protected]> Cc: Anthony Koo <[email protected]> Cc: Rodrigo Siqueira <[email protected]> Cc: Aurabindo Pillai <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions