drm/i915: only match on PCI_BASE_CLASS_DISPLAY
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/i915/i915_drv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +1 -1
@@ -106,7 +106,7 @@ static struct drm_driver driver;extern int intel_agp_enabled;#define INTEL_VGA_DEVICE (id, info) { \ - .class = PCI_CLASS_DISPLAY_VGA << 8, \ + .class = PCI_BASE_CLASS_DISPLAY << 16, \ .class_mask = 0xff0000, \ .vendor = 0x8086, \ .device = id, \
Signature · 1 line
1.7.6.3
Quoted 6 lines · Daniel Vetter
... not
DISPLAY_VGA, because we ignore the VGA subclass with ourclass_mask.It confused me until Chris Wilson clued me up.
Signed-off-by Daniel Vetter<[email protected]>
Reviewed-by Adam Jackson <[email protected]>
- ajax
Hi Keith
This patch isn't in your -next pull request. Please consider merging for 3.2.
Yours, Daniel
Quoted 12 lines · Adam Jackson
Quoted 6 lines · Daniel Vetter
... not
DISPLAY_VGA, because we ignore the VGA subclass with ourclass_mask.It confused me until Chris Wilson clued me up.
Signed-off-by Daniel Vetter<[email protected]>Reviewed-by Adam Jackson <[email protected]>- ajax
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48