• Alex Deucher's avatar
    drm/radeon/kms: don't try to be smart in the hpd handler · d5811e87
    Alex Deucher authored
    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=39882Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Cc: stable@kernel.org
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    d5811e87
radeon_connectors.c 64.2 KB