]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/radeon: on hotplug force link training to happen (v2)
authorJerome Glisse <jglisse@redhat.com>
Thu, 19 Jul 2012 21:25:55 +0000 (17:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:23:11 +0000 (08:23 -0700)
commitbae97dae8b51958f56c8ec79f3811b1203209c0f
tree32f6679a800a93eb9011b23511417dbb82ffb84c
parent1cdd2586d1bec975068a7aa3d195720cd413c30b
drm/radeon: on hotplug force link training to happen (v2)

commit ca2ccde5e2f24a792caa4cca919fc5c6f65d1887 upstream.

To have DP behave like VGA/DVI we need to retrain the link
on hotplug. For this to happen we need to force link
training to happen by setting connector dpms to off
before asking it turning it on again.

v2: agd5f
- drop the dp_get_link_status() change in atombios_dp.c
  for now.  We still need the dpms OFF change.

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