diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 07:50:02 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-12-11 08:37:56 +0300 |
commit | 2cc0d7c0f761b1cfad7a904919397d245df2f129 (patch) | |
tree | 4feca8e3c3a9c0048a0873f114b2e6a07bdfa458 /drivers/gpu/drm/nouveau | |
parent | 2d583ade740939f679c7f99e07c40f17dc9de1ab (diff) | |
download | linux-2cc0d7c0f761b1cfad7a904919397d245df2f129.tar.xz |
drm/nouveau/core: recognise TU106
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |