]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/radeon: Fix spurious unplug event on radeon HDMI
authorSteven 'Steve' Kendall <skend@chromium.org>
Fri, 15 Nov 2024 21:17:58 +0000 (21:17 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2024 15:03:05 +0000 (10:03 -0500)
commit7037bb04265ef05c6ffad56d884b0df76f57b095
treee7584d3d3ee959eb230f97c44dc5701de17e8051
parentc3e3c1aac0bf25e0f3f9b1557766fc9b89fb318b
drm/radeon: Fix spurious unplug event on radeon HDMI

On several HP models (tested on HP 3125 and HP Probook 455 G2),
spurious unplug events are emitted upon login on Chrome OS.
This is likely due to the way Chrome OS restarts graphics
upon login, so it's possible it's an issue on other
distributions but not as common, though I haven't
reproduced the issue elsewhere.
Use logic from an earlier version of the merged change
(see link below) which iterates over connectors and finds
matching encoders, rather than the other way around.
Also fixes an issue with screen mirroring on Chrome OS.
I've deployed this patch on Fedora and did not observe
any regression on these devices.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/1569#note_1603002
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3771
Fixes: 20ea34710f7b ("drm/radeon: Add HD-audio component notifier support (v6)")
Signed-off-by: Steven 'Steve' Kendall <skend@chromium.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_audio.c