diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-05-13 05:44:07 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-05-13 05:44:07 +0000 |
commit | 138c88b41934489c52b9b728bad7cc98d82df29b (patch) | |
tree | 3ff8fb110afd46276f2d7c60becbed64f78249cc /lib/libdrm/intel/intel_chipset.h | |
parent | 3d377b45377638387e1029eb75378c61ebea1e9c (diff) |
update to libdrm 2.4.54
ok matthieu@
Diffstat (limited to 'lib/libdrm/intel/intel_chipset.h')
-rw-r--r-- | lib/libdrm/intel/intel_chipset.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libdrm/intel/intel_chipset.h b/lib/libdrm/intel/intel_chipset.h index e5589be8f..6f9bfad95 100644 --- a/lib/libdrm/intel/intel_chipset.h +++ b/lib/libdrm/intel/intel_chipset.h @@ -160,6 +160,11 @@ #define PCI_CHIP_VALLEYVIEW_2 0x0f32 #define PCI_CHIP_VALLEYVIEW_3 0x0f33 +#define PCI_CHIP_CHERRYVIEW_0 0x22b0 +#define PCI_CHIP_CHERRYVIEW_1 0x22b1 +#define PCI_CHIP_CHERRYVIEW_2 0x22b2 +#define PCI_CHIP_CHERRYVIEW_3 0x22b3 + #define IS_MOBILE(devid) ((devid) == PCI_CHIP_I855_GM || \ (devid) == PCI_CHIP_I915_GM || \ (devid) == PCI_CHIP_I945_GM || \ @@ -311,8 +316,13 @@ ((devid & 0x000f) == BDW_WORKSTATION) ? 1 : \ ((devid & 0x000f) == BDW_ULX) ? 1 : 0) +#define IS_CHERRYVIEW(devid) ((devid) == PCI_CHIP_CHERRYVIEW_0 || \ + (devid) == PCI_CHIP_CHERRYVIEW_1 || \ + (devid) == PCI_CHIP_CHERRYVIEW_2 || \ + (devid) == PCI_CHIP_CHERRYVIEW_3) -#define IS_GEN8(devid) IS_BROADWELL(devid) +#define IS_GEN8(devid) (IS_BROADWELL(devid) || \ + IS_CHERRYVIEW(devid)) #define IS_9XX(dev) (IS_GEN3(dev) || \ IS_GEN4(dev) || \ |