drm/radeon: handle non-VGA class pci devices with ATRM
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 9 May 2014 00:04:03 +0000 (20:04 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jun 2014 12:29:14 +0000 (13:29 +0100)
commit063ab9cb6308a0806d623c8d6dda5cb2b3b87fce
tree3cb34dabf33ec3bee0c6839f378ebe88465710c4
parent7219b6feb15328ac7cdd417368ceea54733ed2dc
drm/radeon: handle non-VGA class pci devices with ATRM

commit d8ade3526b2aa0505132c404c05a38b73ea15490 upstream.

Newer PX systems have non-VGA pci class dGPUs.  Update
the ATRM fetch method to handle those cases.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=75401

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
[bwh: Backported to 3.2: s/ACPI_HANDLE()/DEVICE_ACPI_HANDLE()/]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/radeon_bios.c