]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Filter pci devices based on PCI_CLASS_DISPLAY_VGA
authorDave Airlie <airlied@linux.ie>
Tue, 11 Nov 2008 08:02:12 +0000 (18:02 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 11 Nov 2008 08:02:12 +0000 (18:02 +1000)
commit1cb2ee51d5c0981e8cfec0f12be8b47d3a3c351d
treee9902386afb4995ffcec006745c194a136813f0f
parentdaa0359f53669b44023f7c6918b4a405c5974336
drm/i915: Filter pci devices based on PCI_CLASS_DISPLAY_VGA

This fixes hangs on 855-class hardware by avoiding double attachment of the
driver due to the stub second head device having the same pci id as the real
device.

Other DRM drivers probably want this treatment as well, but I'm applying it
just to this one for safety. But we should clean up the drm_pciids.h mess
now so that each driver has its own pci id list header in its own directory.
Lets do that in the next release.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c
include/drm/drm_pciids.h