mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-19 22:06:13 +00:00
tests: Add a quick variant to the gem_storedw_* tests
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
bb33d08845
commit
50c45f9586
@ -60,7 +60,7 @@ store_dword_loop(int divider)
|
||||
if (!has_ppgtt)
|
||||
cmd |= MI_MEM_VIRTUAL;
|
||||
|
||||
for (i = 0; i < 0x80000; i++) {
|
||||
for (i = 0; i < SLOW_QUICK(0x80000, 0x10); i++) {
|
||||
cmd_bo = drm_intel_bo_alloc(bufmgr, "cmd bo", 4096, 4096);
|
||||
if (!cmd_bo) {
|
||||
fprintf(stderr, "failed to alloc cmd bo\n");
|
||||
|
@ -63,7 +63,7 @@ store_dword_loop(int divider)
|
||||
if (!has_ppgtt)
|
||||
cmd |= MI_MEM_VIRTUAL;
|
||||
|
||||
for (i = 0; i < 0x100000; i++) {
|
||||
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
|
||||
BEGIN_BATCH(4);
|
||||
OUT_BATCH(cmd);
|
||||
OUT_BATCH(0); /* reserved */
|
||||
|
@ -63,7 +63,7 @@ store_dword_loop(int divider)
|
||||
if (!has_ppgtt)
|
||||
cmd |= MI_MEM_VIRTUAL;
|
||||
|
||||
for (i = 0; i < 0x100000; i++) {
|
||||
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
|
||||
BEGIN_BATCH(4);
|
||||
OUT_BATCH(cmd);
|
||||
OUT_BATCH(0); /* reserved */
|
||||
|
@ -63,7 +63,7 @@ store_dword_loop(int divider)
|
||||
if (!has_ppgtt)
|
||||
cmd |= MI_MEM_VIRTUAL;
|
||||
|
||||
for (i = 0; i < 0x100000; i++) {
|
||||
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
|
||||
BEGIN_BATCH(4);
|
||||
OUT_BATCH(cmd);
|
||||
OUT_BATCH(0); /* reserved */
|
||||
|
Loading…
x
Reference in New Issue
Block a user