gv100/ir: noop OP_BAR for now

Let's get stuff rolling and deal with figuring this out later.

Acked-by: M Henning <drawoc@darkrefraction.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17633>
This commit is contained in:
Ben Skeggs 2021-11-08 13:44:43 +10:00 committed by Marge Bot
parent f650c2b076
commit 3a94b3b2a7

View file

@ -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