drm/nouveau/core: recognise TU106
authorBen Skeggs <bskeggs@redhat.com>
Tue, 11 Dec 2018 04:50:02 +0000 (14:50 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 11 Dec 2018 05:37:56 +0000 (15:37 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c

index c5977cdcbe416ce712e2632a63b35c030a1168ae..9585619aab3bc1e83c31ee19f00e330709166713 100644 (file)
@@ -2466,6 +2466,11 @@ nv164_chipset = {
        .fifo = tu104_fifo_new,
 };
 
+static const struct nvkm_device_chip
+nv166_chipset = {
+       .name = "TU106",
+};
+
 static int
 nvkm_device_event_ctor(struct nvkm_object *object, void *data, u32 size,
                       struct nvkm_notify *notify)
@@ -2919,6 +2924,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
                case 0x13b: device->chip = &nv13b_chipset; break;
                case 0x140: device->chip = &nv140_chipset; break;
                case 0x164: device->chip = &nv164_chipset; break;
+               case 0x166: device->chip = &nv166_chipset; break;
                default:
                        nvdev_error(device, "unknown chipset (%08x)\n", boot0);
                        goto done;