linux-uconsole/drivers/gpu/drm/amd
David Galiffi 12fefecbcb drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
[ Upstream commit a51d9f8fe7 ]

[Why]
In dc_link_is_dp_sink_present, if dal_ddc_open fails, then
dal_gpio_destroy_ddc is called, destroying pin_data and pin_clock. They
are created only on dc_construct, and next aux access will cause a panic.

[How]
Instead of calling dal_gpio_destroy_ddc, call dal_ddc_close.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-09 10:18:55 +01:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: add cache flush workaround to gfx8 emit_fence 2020-01-09 10:18:55 +01:00
amdkfd drm/amdkfd: fix a potential NULL pointer dereference (v2) 2019-12-31 16:34:53 +01:00
display drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle 2020-01-09 10:18:55 +01:00
include drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9 2018-09-20 10:25:17 -05:00
lib
powerplay drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs 2019-12-01 09:16:11 +01:00