diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-05-09 19:41:30 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-05-09 19:41:30 +0000 |
commit | 4749603f78f32501b8c28928570db77ab29474bd (patch) | |
tree | a788c61d6299fe708da55f86f9d4e0f21b107eda | |
parent | 47c9e848441e857ff8d3dd6d970ed8bf4e60f489 (diff) |
Attach pineview graphics in inteldrm.
Tested by Jan Stary; thanks!
-rw-r--r-- | sys/dev/pci/drm/i915_drv.c | 2 | ||||
-rw-r--r-- | sys/dev/pci/drm/i915_drv.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c index db3b240b62c..f7f08267ab9 100644 --- a/sys/dev/pci/drm/i915_drv.c +++ b/sys/dev/pci/drm/i915_drv.c @@ -257,6 +257,8 @@ const static struct drm_pcidev inteldrm_pciidlist[] = { CHIP_G4X|CHIP_I965|CHIP_I9XX|CHIP_HWS|CHIP_GEN4}, {PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82G41_IGD_1, CHIP_G4X|CHIP_I965|CHIP_I9XX|CHIP_HWS|CHIP_GEN4}, + {PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PINEVIEW_IGC_1, + CHIP_G33|CHIP_PINEVIEW|CHIP_M|CHIP_I9XX|CHIP_HWS|CHIP_GEN3}, {0, 0, 0} }; diff --git a/sys/dev/pci/drm/i915_drv.h b/sys/dev/pci/drm/i915_drv.h index 45a24a0e168..3bbe4274061 100644 --- a/sys/dev/pci/drm/i915_drv.h +++ b/sys/dev/pci/drm/i915_drv.h @@ -368,6 +368,7 @@ struct inteldrm_file { #define CHIP_GEN3 0x20000 #define CHIP_GEN4 0x40000 #define CHIP_GEN6 0x80000 +#define CHIP_PINEVIEW 0x100000 /* flags we use in drm_obj's do_flags */ #define I915_ACTIVE 0x0010 /* being used by the gpu. */ |