projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f74974c
)
drm/i915: only match on PCI_BASE_CLASS_DISPLAY
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Oct 2011 08:59:05 +0000
(10:59 +0200)
committer
Keith Packard
<keithp@keithp.com>
Fri, 28 Oct 2011 17:01:59 +0000
(10:01 -0700)
... 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/i915_drv.c
b/drivers/gpu/drm/i915/i915_drv.c
index 4c8d681c2151e751dab7f33cbce4e75d899a9e47..548e04bade3c3fc669d415d092e4799545b5fd34 100644
(file)
--- 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;
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, \