kernel_samsung_a53x/drivers/gpu/drm/amd/display/dc/dcn10
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
..
dcn10_cm_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_cm_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dpp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dpp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dpp_cm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dpp_dscl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dwb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_dwb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hubbub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hubbub.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hubp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hubp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hw_sequencer.c drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()' 2024-11-19 08:44:51 +01:00
dcn10_hw_sequencer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hw_sequencer_debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_hw_sequencer_debug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_init.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_init.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_ipp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_ipp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_link_encoder.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_link_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_mpc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_mpc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_opp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_opp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_optc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_optc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_resource.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_resource.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_stream_encoder.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcn10_stream_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00