mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
intel-gpu-tools/range handling: register range handling
Hooks to allow safe accesses from userspace. Can revert to old behavior by using unsafe access.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user