summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2025-03-03 15:15:01 -0800
committerUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2025-03-04 15:05:21 -0800
commit2f753188551b893fc9dd2e9213304a830306e39c (patch)
tree91090e2fa60382f491a887f32eaaa23ffa0ec847 /tests
parentf25fefae0ce17efe625e2a116b42a4e12db697ce (diff)
tests/intel/xe_oa: Fix mmio_trigger_reports testing
The MI_STORE command needs modification to set the right amount of dwords. Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/intel/xe_oa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index 0e4423a7f..1aee236d9 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -3689,7 +3689,7 @@ emit_oa_reg_read(struct intel_bb *ibb, struct intel_buf *dst, uint32_t offset,
{
intel_bb_add_intel_buf(ibb, dst, true);
- intel_bb_out(ibb, MI_STORE_REGISTER_MEM | 2);
+ intel_bb_out(ibb, MI_STORE_REGISTER_MEM_GEN8);
intel_bb_out(ibb, reg);
intel_bb_emit_reloc(ibb, dst->handle,
I915_GEM_DOMAIN_INSTRUCTION,