]> git.baikalelectronics.ru Git - kernel.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)
commitbdac7ae9453223cc2254cfda37852df123f311c0
treeef9ff27e5e86d9564b2c9a81b70f9367dbb8b979
parent8043f3354c515cb3ec5c728aa325d831bec4f712
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