be75391182
[ 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> |
||
---|---|---|
.. | ||
dcn10_cm_common.c | ||
dcn10_cm_common.h | ||
dcn10_dpp.c | ||
dcn10_dpp.h | ||
dcn10_dpp_cm.c | ||
dcn10_dpp_dscl.c | ||
dcn10_dwb.c | ||
dcn10_dwb.h | ||
dcn10_hubbub.c | ||
dcn10_hubbub.h | ||
dcn10_hubp.c | ||
dcn10_hubp.h | ||
dcn10_hw_sequencer.c | ||
dcn10_hw_sequencer.h | ||
dcn10_hw_sequencer_debug.c | ||
dcn10_hw_sequencer_debug.h | ||
dcn10_init.c | ||
dcn10_init.h | ||
dcn10_ipp.c | ||
dcn10_ipp.h | ||
dcn10_link_encoder.c | ||
dcn10_link_encoder.h | ||
dcn10_mpc.c | ||
dcn10_mpc.h | ||
dcn10_opp.c | ||
dcn10_opp.h | ||
dcn10_optc.c | ||
dcn10_optc.h | ||
dcn10_resource.c | ||
dcn10_resource.h | ||
dcn10_stream_encoder.c | ||
dcn10_stream_encoder.h | ||
Makefile |