mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-25 18:57:41 +00:00
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:
parent
62f4d56676
commit
3a1751ef34
@ -178,7 +178,7 @@ static void emit_store_dword_imm(uint32_t val)
|
|||||||
if (!lh.has_ppgtt)
|
if (!lh.has_ppgtt)
|
||||||
cmd |= MI_MEM_VIRTUAL;
|
cmd |= MI_MEM_VIRTUAL;
|
||||||
|
|
||||||
BEGIN_BATCH(4, 1);
|
BEGIN_BATCH(3, 1);
|
||||||
OUT_BATCH(cmd);
|
OUT_BATCH(cmd);
|
||||||
if (batch->gen >= 8) {
|
if (batch->gen >= 8) {
|
||||||
OUT_RELOC(lh.target_buffer, I915_GEM_DOMAIN_INSTRUCTION,
|
OUT_RELOC(lh.target_buffer, I915_GEM_DOMAIN_INSTRUCTION,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user