drm/radeon/kms: Fix logic error in DP HPD handler
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Oct 2011 12:37:33 +0000 (08:37 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Oct 2011 17:37:32 +0000 (18:37 +0100)
commit5ba7ddf81634bfdf32d09261d2959e3f5b7c4263
tree342bcb633c786c9e4161b9ed64e93211a518c141
parent6375bda073724ead7df08746866b724b1799a295
drm/radeon/kms: Fix logic error in DP HPD handler

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>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c