summaryrefslogtreecommitdiff
path: root/src/intel/intel_driver.c
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-03-18 15:28:44 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-04-08 16:21:32 +0800
commit4850c558cbec9234250a6e81601dd70259e10f74 (patch)
treee1d05536487d25ed0d5841a53e61a6602e49ca81 /src/intel/intel_driver.c
parentc56848409caf951e35ac7462294c278d31a813ab (diff)
GBE: Disable SPF and use JMPI + IF/ENDIF to handle each blocks.
When enable SPF (single program flow), we always need to use f0 as the predication of almost each instruction. This bring some trouble when we want to get tow levels mask mechanism, for an example the SEL instruction, and some BOOL operations. We have to use more than one instructions to do that and simply introduce 100% of overhead of those instructions. v2: fix the wrong assertion. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com> Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
Diffstat (limited to 'src/intel/intel_driver.c')
-rw-r--r--src/intel/intel_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/intel_driver.c b/src/intel/intel_driver.c
index 5e474def..c2308daf 100644
--- a/src/intel/intel_driver.c
+++ b/src/intel/intel_driver.c
@@ -135,6 +135,7 @@ intel_driver_memman_init(intel_driver_t *driver)
{
driver->bufmgr = drm_intel_bufmgr_gem_init(driver->fd, BATCH_SIZE);
assert(driver->bufmgr);
+ //drm_intel_bufmgr_gem_set_aub_dump(driver->bufmgr, 1);
drm_intel_bufmgr_gem_enable_reuse(driver->bufmgr);
}