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)
committerChristian König <christian.koenig@amd.com>
Tue, 22 Apr 2014 14:51:20 +0000 (16:51 +0200)
commite9a4099a59cc598a44006059dd775c25e422b772
treeccdc81063ec6b480f444cdc3c4ecf780384dcf06
parent3ed9a335cfc64b2c83545f341cdddf2347b12b97
drm/radeon: fix ATPX detection on non-VGA GPUs

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: stable@vger.kernel.org
Cc: airlied@gmail.com
drivers/gpu/drm/radeon/radeon_atpx_handler.c