store_dw_loop: make loops smaller

These tests are really for catching TLB or GTT mapping failures due to
bad programming in the kernel driver.  We've never needed more than a
few pages worth of data write to actually see those.
This commit is contained in:
Jesse Barnes
2014-05-19 08:44:12 -07:00
parent d71add5c11
commit f00efff326
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ store_dword_loop(int divider, unsigned flags)
if (!has_ppgtt)
cmd |= MI_MEM_VIRTUAL;
for (i = 0; i < SLOW_QUICK(0x80000, 4); i++) {
for (i = 0; i < SLOW_QUICK(0x2000, 4); i++) {
int j = 0;
int cmd_address_offset;
cmd_bo = drm_intel_bo_alloc(bufmgr, "cmd bo", 4096, 4096);