linux/drivers/gpu/drm/amd/display
Srinivasan Shanmugam 9ccfe80d02 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: ddef02de0d ("drm/amd/display: add null checks before logging")
Cc: Wyatt Wood <wyatt.wood@amd.com>
Cc: Anthony Koo <Anthony.Koo@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-01-29 15:34:41 -05:00
..
amdgpu_dm drm/amd/display: "Enable IPS by default" 2024-01-25 14:58:03 -05:00
dc drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' 2024-01-29 15:34:41 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.201.0 2024-01-22 17:13:27 -05:00
include drm/amd/display: Add DP audio BW validation 2024-01-15 18:35:39 -05:00
modules drm/amd/display: Replay + IPS + ABM in Full Screen VPB 2024-01-22 17:13:27 -05:00
Kconfig drm/amd/display: Allow building DC with clang on RISC-V 2023-07-21 16:52:25 -04:00
Makefile drm/amd/display: Refactor OPTC into component folder 2023-11-29 16:49:01 -05:00
TODO