aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/base.c36
1 files changed, 36 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 159a9f83c05e..10d91e8bbb94 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
@@ -2540,6 +2540,41 @@ nv166_chipset = {
2540 .sec2 = tu102_sec2_new, 2540 .sec2 = tu102_sec2_new,
2541}; 2541};
2542 2542
2543static const struct nvkm_device_chip
2544nv167_chipset = {
2545 .name = "TU117",
2546 .bar = tu102_bar_new,
2547 .bios = nvkm_bios_new,
2548 .bus = gf100_bus_new,
2549 .devinit = tu102_devinit_new,
2550 .fault = tu102_fault_new,
2551 .fb = gv100_fb_new,
2552 .fuse = gm107_fuse_new,
2553 .gpio = gk104_gpio_new,
2554 .gsp = gv100_gsp_new,
2555 .i2c = gm200_i2c_new,
2556 .ibus = gm200_ibus_new,
2557 .imem = nv50_instmem_new,
2558 .ltc = gp102_ltc_new,
2559 .mc = tu102_mc_new,
2560 .mmu = tu102_mmu_new,
2561 .pci = gp100_pci_new,
2562 .pmu = gp102_pmu_new,
2563 .therm = gp100_therm_new,
2564 .timer = gk20a_timer_new,
2565 .top = gk104_top_new,
2566 .ce[0] = tu102_ce_new,
2567 .ce[1] = tu102_ce_new,
2568 .ce[2] = tu102_ce_new,
2569 .ce[3] = tu102_ce_new,
2570 .ce[4] = tu102_ce_new,
2571 .disp = tu102_disp_new,
2572 .dma = gv100_dma_new,
2573 .fifo = tu102_fifo_new,
2574 .nvdec[0] = gp102_nvdec_new,
2575 .sec2 = tu102_sec2_new,
2576};
2577
2543static int 2578static int
2544nvkm_device_event_ctor(struct nvkm_object *object, void *data, u32 size, 2579nvkm_device_event_ctor(struct nvkm_object *object, void *data, u32 size,
2545 struct nvkm_notify *notify) 2580 struct nvkm_notify *notify)
@@ -3016,6 +3051,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
3016 case 0x162: device->chip = &nv162_chipset; break; 3051 case 0x162: device->chip = &nv162_chipset; break;
3017 case 0x164: device->chip = &nv164_chipset; break; 3052 case 0x164: device->chip = &nv164_chipset; break;
3018 case 0x166: device->chip = &nv166_chipset; break; 3053 case 0x166: device->chip = &nv166_chipset; break;
3054 case 0x167: device->chip = &nv167_chipset; break;
3019 default: 3055 default:
3020 nvdev_error(device, "unknown chipset (%08x)\n", boot0); 3056 nvdev_error(device, "unknown chipset (%08x)\n", boot0);
3021 goto done; 3057 goto done;