linux-uconsole/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Restore backlight brightness after system resume 2019-10-05 13:10:13 +02:00
dc drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle 2020-01-09 10:18:55 +01:00
include drm/amd/display: add vbios table check for enabling dp ss 2018-08-06 15:56:54 -05:00
modules drm/amd/display: fix bug of accessing invalid memory 2018-11-21 09:19:08 +01:00
Kconfig drm/amd/display: Don't build DCN1 when kcov is enabled 2018-08-21 14:33:59 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00