aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2024-01-08 15:50:28 +0000
committerAlex Deucher <[email protected]>2024-01-15 23:32:19 +0000
commit7073934f5d73f8b53308963cee36f0d389ea857c (patch)
tree2d2baa33ea479fbdcc3419a6a7598488ca62e7f2 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: update regGL2C_CTRL4 value in golden setting (diff)
downloadkernel-7073934f5d73f8b53308963cee36f0d389ea857c.tar.gz
kernel-7073934f5d73f8b53308963cee36f0d389ea857c.zip
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: [email protected] Cc: Bhawanpreet Lakha <[email protected]> Cc: Harry Wentland <[email protected]> Cc: Rodrigo Siqueira <[email protected]> Cc: Aurabindo Pillai <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions