linux_dsm_epyc7002/drivers/gpu/drm/amd
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
..
acp drm/amd: Fix Kconfig indentation 2019-11-25 11:20:17 -05:00
amdgpu drm/amdgpu: reduce redundant uvd context lost warning message 2019-12-05 16:26:20 -05:00
amdkfd drm/amdkfd: Eliminate unnecessary kernel queue function pointers 2019-12-05 16:24:36 -05:00
display drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle 2019-12-05 16:28:39 -05:00
include drm/amdgpu: refine query function of mmhub EDC counter in vg20 2019-11-22 14:26:46 -05:00
powerplay drm/amdgpu: add header line for power profile on Arcturus 2019-12-05 16:24:45 -05:00