drm/radeon: fix hotplug of DP to DVI|HDMI passive adapters (v2)
authorJerome Glisse <jglisse@redhat.com>
Thu, 19 Jul 2012 21:15:56 +0000 (17:15 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 25 Jul 2012 04:14:07 +0000 (14:14 +1000)
commit266dcba541a1ef7e5d82d9e67c67fde2910636e8
tree8a46a5b8e6c94f0c22f1edf5d5db30688353e70a
parent8d1c702aa0b2c4b22b0742b72a1149d91690674b
drm/radeon: fix hotplug of DP to DVI|HDMI passive adapters (v2)

No need to retrain the link for passive adapters.

v2: agd5f
- no passive DP to VGA adapters, update comments
- assign radeon_connector_atom_dig after we are sure
  we have a digital connector as analog connectors
  have different private data.
- get new sink type before checking for retrain.  No
  need to check if it's no longer a DP connection.

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