[Patch i-g-t v2] tests/intel/gem_pxp: Fix malformed pipectrl command in PXP IGT tests

Vivaik Balasubrawmanian vivaik.balasubrawmanian at intel.com
Mon Dec 11 19:32:26 UTC 2023


Five i915 PXP IGT tests were failing due to malformed Pipe-Ctrl cmd.

v2:
    Updated subject and cc lines to follow IGT conventions.
    Maintaining Kamil's review completion.

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Signed-off-by: Vivaik Balasubrawmanian <vivaik.balasubrawmanian at intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
 tests/intel/gem_pxp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/gem_pxp.c b/tests/intel/gem_pxp.c
index 4aea765fe..dff4a5d25 100644
--- a/tests/intel/gem_pxp.c
+++ b/tests/intel/gem_pxp.c
@@ -841,7 +841,7 @@ static void emit_pipectrl(struct intel_bb *ibb, struct intel_buf *fenceb, bool b
 	uint32_t pipe_ctl_flags = 0;
 	uint32_t ps_op_id;
 
-	intel_bb_out(ibb, GFX_OP_PIPE_CONTROL(4));
+	intel_bb_out(ibb, GFX_OP_PIPE_CONTROL(2));
 	intel_bb_out(ibb, pipe_ctl_flags);
 
 	if (before)

base-commit: 222d1bdf8c598bb12164deab127af5d8d7ddc070
-- 
2.34.1



More information about the igt-dev mailing list