]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: don't try to be smart in the hpd handler
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 13 Aug 2011 17:36:13 +0000 (13:36 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Aug 2011 08:44:12 +0000 (09:44 +0100)
commita05427462c0984c99e513acabe6b7e2b60b2872e
treedd24a34c1a62b59f96047abcfd004d01437dfa90
parent96529a2500d3739f49ddfcd58ed29b5ccbf84070
drm/radeon/kms: don't try to be smart in the hpd handler

Attempting to try and turn off disconnected display hw in the
hotput handler lead to more problems than it helped.  For
now just register an event and only attempt the do something
interesting with DP.  Other connectors are just too problematic:
- Some systems have an HPD pin assigned to LVDS, but it's rarely
if ever connected properly and we don't really care about hpd
events on LVDS anyway since it's always connected.
- The HPD pin is wired up correctly for eDP, but we don't really
have to do anything since the events since it's always connected.
- Some HPD pins fire more than once when you connect/disconnect
- etc.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=39882

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_dp.c
drivers/gpu/drm/radeon/radeon_connectors.c
drivers/gpu/drm/radeon/radeon_mode.h