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>
This commit is contained in:
Chris Wilson 2014-09-12 06:46:28 +01:00
parent 62f4d56676
commit 3a1751ef34

View File

@ -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,