drm/radeon/kms: Fix logic error in DP HPD handler
commit23882c85d97acaf626ace83e2feabd46393a1b6a
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Oct 2011 12:37:33 +0000 (3 08:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Oct 2011 21:14:52 +0000 (16 14:14 -0700)
tree57bf5f4a9b0308ebd0cd0ded293f8aad54800461
parent1a795f752c6c41c2bdb15290b9f42328289a27ce
drm/radeon/kms: Fix logic error in DP HPD handler

commit 5ba7ddf81634bfdf32d09261d2959e3f5b7c4263 upstream.

Only disable the pipe if the monitor is physically
disconnected.  The previous logic also disabled the
pipe if the link was trained.

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

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_connectors.c