diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2011-10-11 04:59:05 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-10-28 13:01:59 -0400 |
commit | 80a2901d2a59946d098c4479d650d0c3c82c3d85 (patch) | |
tree | e5e7a6c95791db9cf0d8284706e004973caf7687 | |
parent | f74974c763c872d65da4062a14f4e73c77a0b577 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 4c8d681c2151..548e04bade3c 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -106,7 +106,7 @@ static struct drm_driver driver; | |||
106 | extern int intel_agp_enabled; | 106 | extern int intel_agp_enabled; |
107 | 107 | ||
108 | #define INTEL_VGA_DEVICE(id, info) { \ | 108 | #define INTEL_VGA_DEVICE(id, info) { \ |
109 | .class = PCI_CLASS_DISPLAY_VGA << 8, \ | 109 | .class = PCI_BASE_CLASS_DISPLAY << 16, \ |
110 | .class_mask = 0xff0000, \ | 110 | .class_mask = 0xff0000, \ |
111 | .vendor = 0x8086, \ | 111 | .vendor = 0x8086, \ |
112 | .device = id, \ | 112 | .device = id, \ |