From 4749603f78f32501b8c28928570db77ab29474bd Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Sun, 9 May 2010 19:41:30 +0000 Subject: Attach pineview graphics in inteldrm. Tested by Jan Stary; thanks! --- sys/dev/pci/drm/i915_drv.c | 2 ++ sys/dev/pci/drm/i915_drv.h | 1 + 2 files changed, 3 insertions(+) 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. */ -- cgit v1.2.3