nv50/ir: fix OUT.FINAL on ampere

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16784>
This commit is contained in:
Ben Skeggs 2021-11-05 15:58:36 +10:00 committed by Marge Bot
parent e06c373c6b
commit ca04eff600

View file

@ -1117,8 +1117,11 @@ CodeEmitterGV100::emitOUT()
if (insn->op != OP_FINAL)
emitFormA(0x124, FA_RRR | FA_RIR, __(0), __(1), EMPTY);
else
else {
emitFormA(0x124, FA_RRR | FA_RIR, __(0), EMPTY, EMPTY);
if (targ->getChipset() >= 0x170)
emitGPR(32);
}
emitField(78, 2, (cut << 1) | emit);
}