]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:27:50 +0000 (08:27 -0700)
commita0283f9072a2c289926a8bafb99a231a55eb7517
treea8bb3e439ab023f1f04afc5e3a668481208a7de6
parentea07d57bea33b7004d1773db115bf62bb7788c99
drm/radeon: fix hotplug of DP to DVI|HDMI passive adapters (v2)

commit 266dcba541a1ef7e5d82d9e67c67fde2910636e8 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_connectors.c