kernel_samsung_a53x/drivers/gpu/drm/amd/display/dc
Srinivasan Shanmugam be75391182 drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
[ Upstream commit 9ccfe80d022df7c595f1925afb31de2232900656 ]

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 <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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:51 +01:00
..
basics Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bios Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
calcs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk_mgr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core drm/amd/display: Fix tiled display misalignment 2024-11-18 12:13:17 +01:00
dce Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce60 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce80 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce100 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce110 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce112 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dce120 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10 drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' 2024-11-19 08:44:51 +01:00
dcn20 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn21 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn30 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dml Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdcp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtual Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_bios_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_ddc_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_dmub_srv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_dmub_srv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_dp_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_dsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_helper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_hw_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_link.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_stream.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dc_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_cp_psp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_event_log.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_helpers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_pp_smu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_services.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dm_services_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
irq_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
os_types.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00