diff options
author | 2020-01-10 02:08:51 +0000 | |
---|---|---|
committer | 2020-01-10 02:08:51 +0000 | |
commit | 81cd7214ef1c7be98aa351cf7450e4cbd4a7fcad (patch) | |
tree | 2d84fc9c4e58c62b3ee5fb65c068863677b4c7de | |
parent | drm/amdgpu: add cache flush workaround to gfx8 emit_fence (diff) | |
download | wireguard-openbsd-81cd7214ef1c7be98aa351cf7450e4cbd4a7fcad.tar.xz wireguard-openbsd-81cd7214ef1c7be98aa351cf7450e4cbd4a7fcad.zip |
drm/amd/display: Fixed kernel panic when booting with DP-to-HDMI dongle
From David Galiffi
12fefecbcb4dfefd62995fd0e4cf8f30edd64926 in linux 4.19.y/4.19.94
a51d9f8fe756beac51ce26ef54195da00a260d13 in mainline linux
-rw-r--r-- | sys/dev/pci/drm/amd/display/dc/core/dc_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/core/dc_link.c b/sys/dev/pci/drm/amd/display/dc/core/dc_link.c index 5f8cf7c7e93..2dfda1a0726 100644 --- a/sys/dev/pci/drm/amd/display/dc/core/dc_link.c +++ b/sys/dev/pci/drm/amd/display/dc/core/dc_link.c @@ -348,7 +348,7 @@ bool dc_link_is_dp_sink_present(struct dc_link *link) if (GPIO_RESULT_OK != dal_ddc_open( ddc, GPIO_MODE_INPUT, GPIO_DDC_CONFIG_TYPE_MODE_I2C)) { - dal_gpio_destroy_ddc(&ddc); + dal_ddc_close(ddc); return present; } |