drm/radeon: fix ATPX detection on non-VGA GPUs
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 15 Apr 2014 16:44:34 +0000 (12:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 20:25:32 +0000 (13:25 -0700)
commit7f69542687b31c83bcc54a3033f060531be57292
tree1a0686563d2392eba269139d7e181ce61b032f40
parent095b9f1a78be7d5bfdafe1a77c294f1f88ed7f30
drm/radeon: fix ATPX detection on non-VGA GPUs

commit e9a4099a59cc598a44006059dd775c25e422b772 upstream.

Some newer PX laptops have the pci device class
set to DISPLAY_OTHER rather than DISPLAY_VGA.  This
properly detects ATPX on those laptops.

Based on a patch from: Pali Rohár <pali.rohar@gmail.com>

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: airlied@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_atpx_handler.c