diff options
author | David Galiffi <David.Galiffi@amd.com> | 2019-11-07 17:18:20 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-05 16:28:39 -0500 |
commit | 8fb3a6363684b5f00e7b438e22fc17346711f4fa (patch) | |
tree | f60ce45d180014863145c1aec8b4a235364d1670 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 01290a5766e1be38ee9f114d261bee263b168ab4 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions