diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2011-07-28 13:42:45 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2011-07-28 13:48:51 -0700 |
commit | abd7038e5a814bb29398d6ea259815b293c62a2b (patch) | |
tree | 6d321d7c75b106098907ced54d6ffb6a4a61793c /lib/intel_chipset.h | |
parent | cac8f8b52621f246a7cff412f340a7db28cb1b99 (diff) |
intel-gpu-tools/range handling: register range handling
Hooks to allow safe accesses from userspace. Can revert to old behavior
by using unsafe access.
Diffstat (limited to 'lib/intel_chipset.h')
-rwxr-xr-x | lib/intel_chipset.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h index c3db3abc..a38f661d 100755 --- a/lib/intel_chipset.h +++ b/lib/intel_chipset.h @@ -168,3 +168,11 @@ #define HAS_BLT_RING(devid) (IS_GEN6(devid) || \ IS_GEN7(devid)) + +#define IS_BROADWATER(devid) (devid == PCI_CHIP_I946_GZ || \ + devid == PCI_CHIP_I965_G_1 || \ + devid == PCI_CHIP_I965_Q || \ + devid == PCI_CHIP_I965_G) + +#define IS_CRESTLINE(devid) (devid == PCI_CHIP_I965_GM || \ + devid == PCI_CHIP_I965_GME) |