drm/i915: only match on PCI_BASE_CLASS_DISPLAY
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Oct 2011 08:59:05 +0000 (10:59 +0200)
committerKeith Packard <keithp@keithp.com>
Fri, 28 Oct 2011 17:01:59 +0000 (10:01 -0700)
commit80a2901d2a59946d098c4479d650d0c3c82c3d85
treee5e7a6c95791db9cf0d8284706e004973caf7687
parentf74974c763c872d65da4062a14f4e73c77a0b577
drm/i915: only match on PCI_BASE_CLASS_DISPLAY

... not DISPLAY_VGA, because we ignore the VGA subclass with our
class_mask.

It confused me until Chris Wilson clued me up.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_drv.c