]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Clear edid when unplug mst connector
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 22 Jun 2022 11:36:49 +0000 (19:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 20:50:29 +0000 (16:50 -0400)
commit922e7ee31defe461d8638f1277f0c8215c0707e6
treeef9ff27e5e86d9564b2c9a81b70f9367dbb8b979
parent9dfc3ee1b0f22d9415c9b7c316447d47d4a702d1
drm/amd/display: Clear edid when unplug mst connector

[Why]
When unplug one sst monitor from a mst hub and plug in the same
port with another sst monitor, we don't read the corresponding
edid. That's because we detect there is already an edid stored in
aconnector->edid which is a stale one.

[How]
Clean up aconnector->edid when unplug mst connector.

Reviewed-by: Hersen Wu <hersen.wu@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c