From 3a94b3b2a78908e0f3b417f3643db6bfd3d88a79 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 8 Nov 2021 13:44:43 +1000 Subject: [PATCH] gv100/ir: noop OP_BAR for now Let's get stuff rolling and deal with figuring this out later. Acked-by: M Henning Reviewed-by: Adam Jackson Reviewed-by: Karol Herbst Part-of: --- src/nouveau/codegen/nv50_ir_emit_gv100.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/nouveau/codegen/nv50_ir_emit_gv100.cpp b/src/nouveau/codegen/nv50_ir_emit_gv100.cpp index 1229579..1770b5f 100644 --- a/src/nouveau/codegen/nv50_ir_emit_gv100.cpp +++ b/src/nouveau/codegen/nv50_ir_emit_gv100.cpp @@ -1583,6 +1583,12 @@ CodeEmitterGV100::emitBAR() { uint8_t subop, redop = 0x00; + //XXX: ILLEGAL_INSTR_PARAM - why? + if (targ->getChipset() >= 0x170) { + emitNOP(); + return; + } + // 80 // 01: DEFER_BLOCKING // 78:77 -- 2.7.4