]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/radeon: Unbreak HPD handling for r600+
authorLyude <lyude@redhat.com>
Thu, 11 May 2017 23:31:12 +0000 (19:31 -0400)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 27 Jun 2017 13:16:17 +0000 (10:16 -0300)
commitb0fa4b293c1f2207cdb81ba87eea06ebde18f04a
tree5f5f409631c64b3bd4548c7cddb3cc3ba41f784d
parent8e0a709614a6d82f956e086e7d9a18fb43ec537d
drm/radeon: Unbreak HPD handling for r600+

BugLink: http://bugs.launchpad.net/bugs/1697001
commit 3d18e33735a02b1a90aecf14410bf3edbfd4d3dc upstream.

We end up reading the interrupt register for HPD5, and then writing it
to HPD6 which on systems without anything using HPD5 results in
permanently disabling hotplug on one of the display outputs after the
first time we acknowledge a hotplug interrupt from the GPU.

This code is really bad. But for now, let's just fix this. I will
hopefully have a large patch series to refactor all of this soon.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lyude <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/si.c