tests/gem_partial_pwrite_pread: don't trash gtt unnecessarily

On chips that don't have a unmappable gtt part it's utterly pointless.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2011-12-06 16:57:53 +01:00
parent 5a851b1392
commit ff409c537f
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -114,7 +114,9 @@
#define IS_945(devid) (devid == PCI_CHIP_I945_G || \
devid == PCI_CHIP_I945_GM || \
devid == PCI_CHIP_I945_GME || \
devid == PCI_CHIP_G33_G || \
IS_G33(devid))
#define IS_G33(devid) (devid == PCI_CHIP_G33_G || \
devid == PCI_CHIP_Q33_G || \
devid == PCI_CHIP_Q35_G || IS_IGD(devid))