nv50/ir: recoginse Ampere

Signed-off-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:
Karol Herbst 2022-05-30 23:39:59 +02:00 committed by Marge Bot
parent 16ea41c901
commit e06c373c6b
2 changed files with 3 additions and 0 deletions

View file

@ -1037,6 +1037,7 @@ GCRA::coalesce(ArrayList& insns)
case 0x130:
case 0x140:
case 0x160:
case 0x170:
ret = doCoalesce(insns, JOIN_MASK_UNION);
break;
default:
@ -2557,6 +2558,7 @@ RegAlloc::InsertConstraintsPass::visit(BasicBlock *bb)
case 0x130:
case 0x140:
case 0x160:
case 0x170:
texConstraintGM107(tex);
break;
default:

View file

@ -154,6 +154,7 @@ Target *Target::create(unsigned int chipset)
STATIC_ASSERT(ARRAY_SIZE(operationSrcNr) == OP_LAST + 1);
STATIC_ASSERT(ARRAY_SIZE(operationClass) == OP_LAST + 1);
switch (chipset & ~0xf) {
case 0x170:
case 0x160:
case 0x140:
return getTargetGV100(chipset);