From: Ben Skeggs Date: Tue, 11 Dec 2018 04:50:02 +0000 (+1000) Subject: drm/nouveau/core: recognise TU106 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2cc0d7c0f761b1cfad7a904919397d245df2f129;p=openwrt%2Fstaging%2Fblogic.git drm/nouveau/core: recognise TU106 Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c index c5977cdcbe41..9585619aab3b 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c @@ -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;