linux_dsm_epyc7002/drivers/gpu/drm/amd/display
David Galiffi 8fb3a63636 drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
[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>
2019-12-05 16:28:39 -05:00
..
amdgpu_dm drm/amd/display: Null check aconnector in event_property_validate 2019-11-26 14:50:38 -05:00
dc drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle 2019-12-05 16:28:39 -05:00
dmub drm/amd/display: Program CW5 for tracebuffer for dcn20 2019-12-05 16:28:23 -05:00
include drm/amd/display: Fix Dali clk mgr construct 2019-12-05 16:26:54 -05:00
modules drm/amd/display: remove redundant assignment to variable v_total 2019-12-02 17:55:08 -05:00
Kconfig drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00