From 3a1751ef34c32c5d288a328d855bec49ad0eaf9f Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 12 Sep 2014 06:46:28 +0100 Subject: [PATCH] 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 --- tests/pm_rps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pm_rps.c b/tests/pm_rps.c index ef382ec6..d0d7d8ec 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,