summaryrefslogtreecommitdiff
path: root/tests/pm_rps.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-12 06:46:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-12 06:47:20 +0100
commit3a1751ef34c32c5d288a328d855bec49ad0eaf9f (patch)
tree35a43036503aea50f5b79e4aa161e2f60fe137d3 /tests/pm_rps.c
parent62f4d56676468cc6b7e1fb900ccf120d68352f65 (diff)
igt/pm_rps: Fix the batch count for emitting the flush
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81858#c2 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/pm_rps.c')
-rw-r--r--tests/pm_rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pm_rps.c b/tests/pm_rps.c
index ef382ec600aa..d0d7d8ec3f47 100644
--- a/tests/pm_rps.c
+++ b/tests/pm_rps.c
@@ -178,7 +178,7 @@ static void emit_store_dword_imm(uint32_t val)
if (!lh.has_ppgtt)
cmd |= MI_MEM_VIRTUAL;
- BEGIN_BATCH(4, 1);
+ BEGIN_BATCH(3, 1);
OUT_BATCH(cmd);
if (batch->gen >= 8) {
OUT_RELOC(lh.target_buffer, I915_GEM_DOMAIN_INSTRUCTION,