mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-12 00:43:04 +00:00
Add Ivybridge support to intel_gpu_dump and the BLT tests.
This commit is contained in:
@@ -108,7 +108,7 @@ intel_batchbuffer_flush(struct intel_batchbuffer *batch)
|
||||
batch->ptr = NULL;
|
||||
|
||||
ring = 0;
|
||||
if (IS_GEN6(batch->devid))
|
||||
if (HAS_BLT_RING(batch->devid))
|
||||
ring = I915_EXEC_BLT;
|
||||
ret = drm_intel_bo_mrb_exec(batch->bo, used, NULL, 0, 0, ring);
|
||||
assert(ret == 0);
|
||||
|
||||
+6
-1
@@ -90,7 +90,9 @@
|
||||
devid == PCI_CHIP_I945_GME || \
|
||||
devid == PCI_CHIP_I965_GM || \
|
||||
devid == PCI_CHIP_I965_GME || \
|
||||
devid == PCI_CHIP_GM45_GM || IS_IGD(devid))
|
||||
devid == PCI_CHIP_GM45_GM || IS_IGD(devid) || \
|
||||
devid == PCI_CHIP_IVYBRIDGE_M_GT1 || \
|
||||
devid == PCI_CHIP_IVYBRIDGE_M_GT2)
|
||||
|
||||
#define IS_G45(devid) (devid == PCI_CHIP_IGD_E_G || \
|
||||
devid == PCI_CHIP_Q45_G || \
|
||||
@@ -163,3 +165,6 @@
|
||||
#define HAS_PCH_SPLIT(devid) (IS_GEN5(devid) || \
|
||||
IS_GEN6(devid) || \
|
||||
IS_GEN7(devid))
|
||||
|
||||
#define HAS_BLT_RING(devid) (IS_GEN6(devid) || \
|
||||
IS_GEN7(devid))
|
||||
|
||||
Reference in New Issue
Block a user