linux/drivers/gpu/drm/amd/display
Srinivasan Shanmugam 7073934f5d drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()
In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay'
was dereferenced before the pointer 'link' & 'replay' NULL check.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933)

Cc: stable@vger.kernel.org
Cc: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-01-15 18:32:19 -05:00
..
amdgpu_dm drm/amd/display: cleanup inconsistent indenting in amdgpu_dm_color 2024-01-09 15:44:13 -05:00
dc drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay() 2024-01-15 18:32:19 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.197.0 2023-12-19 14:59:03 -05:00
include drm/amd/display: To adjust dprefclk by down spread percentage 2024-01-09 15:43:53 -05:00
modules drm/amd/display: Fix power_helpers.c codestyle 2024-01-05 16:10:44 -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