Commit 26fbb4c8 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/privring: rename from ibus

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
parent 5ef25f06
...@@ -3,7 +3,7 @@ NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci) ...@@ -3,7 +3,7 @@ NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PCI , struct nvkm_pci , pci)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VBIOS , struct nvkm_bios , bios) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_VBIOS , struct nvkm_bios , bios)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_DEVINIT , struct nvkm_devinit , devinit) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_DEVINIT , struct nvkm_devinit , devinit)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_TOP , struct nvkm_top , top) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_TOP , struct nvkm_top , top)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_IBUS , struct nvkm_subdev , ibus) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_PRIVRING, struct nvkm_subdev , privring)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_I2C , struct nvkm_i2c , i2c) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_I2C , struct nvkm_i2c , i2c)
NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FUSE , struct nvkm_fuse , fuse) NVKM_LAYOUT_ONCE(NVKM_SUBDEV_FUSE , struct nvkm_fuse , fuse)
......
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_IBUS_H__
#define __NVKM_IBUS_H__
#include <core/subdev.h>
int gf100_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gf117_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gk104_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gk20a_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gm200_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gp10b_ibus_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
#endif
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_PRIVRING_H__
#define __NVKM_PRIVRING_H__
#include <core/subdev.h>
int gf100_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gf117_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gk104_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gk20a_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gm200_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
int gp10b_privring_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_subdev **);
#endif
...@@ -1347,7 +1347,6 @@ nvc0_chipset = { ...@@ -1347,7 +1347,6 @@ nvc0_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1356,6 +1355,7 @@ nvc0_chipset = { ...@@ -1356,6 +1355,7 @@ nvc0_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf100_pci_new }, .pci = { 0x00000001, gf100_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1383,7 +1383,6 @@ nvc1_chipset = { ...@@ -1383,7 +1383,6 @@ nvc1_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1392,6 +1391,7 @@ nvc1_chipset = { ...@@ -1392,6 +1391,7 @@ nvc1_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf106_pci_new }, .pci = { 0x00000001, gf106_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1419,7 +1419,6 @@ nvc3_chipset = { ...@@ -1419,7 +1419,6 @@ nvc3_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1428,6 +1427,7 @@ nvc3_chipset = { ...@@ -1428,6 +1427,7 @@ nvc3_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf106_pci_new }, .pci = { 0x00000001, gf106_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1455,7 +1455,6 @@ nvc4_chipset = { ...@@ -1455,7 +1455,6 @@ nvc4_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1464,6 +1463,7 @@ nvc4_chipset = { ...@@ -1464,6 +1463,7 @@ nvc4_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf100_pci_new }, .pci = { 0x00000001, gf100_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1491,7 +1491,6 @@ nvc8_chipset = { ...@@ -1491,7 +1491,6 @@ nvc8_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1500,6 +1499,7 @@ nvc8_chipset = { ...@@ -1500,6 +1499,7 @@ nvc8_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf100_pci_new }, .pci = { 0x00000001, gf100_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1527,7 +1527,6 @@ nvce_chipset = { ...@@ -1527,7 +1527,6 @@ nvce_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1536,6 +1535,7 @@ nvce_chipset = { ...@@ -1536,6 +1535,7 @@ nvce_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf100_pci_new }, .pci = { 0x00000001, gf100_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1563,7 +1563,6 @@ nvcf_chipset = { ...@@ -1563,7 +1563,6 @@ nvcf_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, g94_gpio_new }, .gpio = { 0x00000001, g94_gpio_new },
.i2c = { 0x00000001, g94_i2c_new }, .i2c = { 0x00000001, g94_i2c_new },
.ibus = { 0x00000001, gf100_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1572,6 +1571,7 @@ nvcf_chipset = { ...@@ -1572,6 +1571,7 @@ nvcf_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf106_pci_new }, .pci = { 0x00000001, gf106_pci_new },
.pmu = { 0x00000001, gf100_pmu_new }, .pmu = { 0x00000001, gf100_pmu_new },
.privring = { 0x00000001, gf100_privring_new },
.therm = { 0x00000001, gt215_therm_new }, .therm = { 0x00000001, gt215_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1599,7 +1599,6 @@ nvd7_chipset = { ...@@ -1599,7 +1599,6 @@ nvd7_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gf119_gpio_new }, .gpio = { 0x00000001, gf119_gpio_new },
.i2c = { 0x00000001, gf117_i2c_new }, .i2c = { 0x00000001, gf117_i2c_new },
.ibus = { 0x00000001, gf117_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1607,6 +1606,7 @@ nvd7_chipset = { ...@@ -1607,6 +1606,7 @@ nvd7_chipset = {
.mmu = { 0x00000001, gf100_mmu_new }, .mmu = { 0x00000001, gf100_mmu_new },
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf106_pci_new }, .pci = { 0x00000001, gf106_pci_new },
.privring = { 0x00000001, gf117_privring_new },
.therm = { 0x00000001, gf119_therm_new }, .therm = { 0x00000001, gf119_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf117_volt_new }, .volt = { 0x00000001, gf117_volt_new },
...@@ -1634,7 +1634,6 @@ nvd9_chipset = { ...@@ -1634,7 +1634,6 @@ nvd9_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gf119_gpio_new }, .gpio = { 0x00000001, gf119_gpio_new },
.i2c = { 0x00000001, gf119_i2c_new }, .i2c = { 0x00000001, gf119_i2c_new },
.ibus = { 0x00000001, gf117_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gf100_ltc_new }, .ltc = { 0x00000001, gf100_ltc_new },
...@@ -1643,6 +1642,7 @@ nvd9_chipset = { ...@@ -1643,6 +1642,7 @@ nvd9_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gf106_pci_new }, .pci = { 0x00000001, gf106_pci_new },
.pmu = { 0x00000001, gf119_pmu_new }, .pmu = { 0x00000001, gf119_pmu_new },
.privring = { 0x00000001, gf117_privring_new },
.therm = { 0x00000001, gf119_therm_new }, .therm = { 0x00000001, gf119_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.volt = { 0x00000001, gf100_volt_new }, .volt = { 0x00000001, gf100_volt_new },
...@@ -1670,7 +1670,6 @@ nve4_chipset = { ...@@ -1670,7 +1670,6 @@ nve4_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk104_i2c_new }, .i2c = { 0x00000001, gk104_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1679,6 +1678,7 @@ nve4_chipset = { ...@@ -1679,6 +1678,7 @@ nve4_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk104_pmu_new }, .pmu = { 0x00000001, gk104_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1707,7 +1707,6 @@ nve6_chipset = { ...@@ -1707,7 +1707,6 @@ nve6_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk104_i2c_new }, .i2c = { 0x00000001, gk104_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1716,6 +1715,7 @@ nve6_chipset = { ...@@ -1716,6 +1715,7 @@ nve6_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk104_pmu_new }, .pmu = { 0x00000001, gk104_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1744,7 +1744,6 @@ nve7_chipset = { ...@@ -1744,7 +1744,6 @@ nve7_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk104_i2c_new }, .i2c = { 0x00000001, gk104_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1753,6 +1752,7 @@ nve7_chipset = { ...@@ -1753,6 +1752,7 @@ nve7_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk104_pmu_new }, .pmu = { 0x00000001, gk104_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1777,12 +1777,12 @@ nvea_chipset = { ...@@ -1777,12 +1777,12 @@ nvea_chipset = {
.clk = { 0x00000001, gk20a_clk_new }, .clk = { 0x00000001, gk20a_clk_new },
.fb = { 0x00000001, gk20a_fb_new }, .fb = { 0x00000001, gk20a_fb_new },
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.ibus = { 0x00000001, gk20a_ibus_new },
.imem = { 0x00000001, gk20a_instmem_new }, .imem = { 0x00000001, gk20a_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
.mc = { 0x00000001, gk20a_mc_new }, .mc = { 0x00000001, gk20a_mc_new },
.mmu = { 0x00000001, gk20a_mmu_new }, .mmu = { 0x00000001, gk20a_mmu_new },
.pmu = { 0x00000001, gk20a_pmu_new }, .pmu = { 0x00000001, gk20a_pmu_new },
.privring = { 0x00000001, gk20a_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.volt = { 0x00000001, gk20a_volt_new }, .volt = { 0x00000001, gk20a_volt_new },
...@@ -1806,7 +1806,6 @@ nvf0_chipset = { ...@@ -1806,7 +1806,6 @@ nvf0_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1815,6 +1814,7 @@ nvf0_chipset = { ...@@ -1815,6 +1814,7 @@ nvf0_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk110_pmu_new }, .pmu = { 0x00000001, gk110_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1842,7 +1842,6 @@ nvf1_chipset = { ...@@ -1842,7 +1842,6 @@ nvf1_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1851,6 +1850,7 @@ nvf1_chipset = { ...@@ -1851,6 +1850,7 @@ nvf1_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk110_pmu_new }, .pmu = { 0x00000001, gk110_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1878,7 +1878,6 @@ nv106_chipset = { ...@@ -1878,7 +1878,6 @@ nv106_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1887,6 +1886,7 @@ nv106_chipset = { ...@@ -1887,6 +1886,7 @@ nv106_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk208_pmu_new }, .pmu = { 0x00000001, gk208_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1914,7 +1914,6 @@ nv108_chipset = { ...@@ -1914,7 +1914,6 @@ nv108_chipset = {
.fuse = { 0x00000001, gf100_fuse_new }, .fuse = { 0x00000001, gf100_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gk104_ltc_new }, .ltc = { 0x00000001, gk104_ltc_new },
...@@ -1923,6 +1922,7 @@ nv108_chipset = { ...@@ -1923,6 +1922,7 @@ nv108_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gk208_pmu_new }, .pmu = { 0x00000001, gk208_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gk104_therm_new }, .therm = { 0x00000001, gk104_therm_new },
.timer = { 0x00000001, nv41_timer_new }, .timer = { 0x00000001, nv41_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1950,7 +1950,6 @@ nv117_chipset = { ...@@ -1950,7 +1950,6 @@ nv117_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gm107_ltc_new }, .ltc = { 0x00000001, gm107_ltc_new },
...@@ -1959,6 +1958,7 @@ nv117_chipset = { ...@@ -1959,6 +1958,7 @@ nv117_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gm107_pmu_new }, .pmu = { 0x00000001, gm107_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gm107_therm_new }, .therm = { 0x00000001, gm107_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -1985,7 +1985,6 @@ nv118_chipset = { ...@@ -1985,7 +1985,6 @@ nv118_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gk110_i2c_new }, .i2c = { 0x00000001, gk110_i2c_new },
.ibus = { 0x00000001, gk104_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gm107_ltc_new }, .ltc = { 0x00000001, gm107_ltc_new },
...@@ -1994,6 +1993,7 @@ nv118_chipset = { ...@@ -1994,6 +1993,7 @@ nv118_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gm107_pmu_new }, .pmu = { 0x00000001, gm107_pmu_new },
.privring = { 0x00000001, gk104_privring_new },
.therm = { 0x00000001, gm107_therm_new }, .therm = { 0x00000001, gm107_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2018,7 +2018,6 @@ nv120_chipset = { ...@@ -2018,7 +2018,6 @@ nv120_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gm200_ltc_new }, .ltc = { 0x00000001, gm200_ltc_new },
...@@ -2027,6 +2026,7 @@ nv120_chipset = { ...@@ -2027,6 +2026,7 @@ nv120_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gm200_pmu_new }, .pmu = { 0x00000001, gm200_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gm200_therm_new }, .therm = { 0x00000001, gm200_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2053,7 +2053,6 @@ nv124_chipset = { ...@@ -2053,7 +2053,6 @@ nv124_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gm200_ltc_new }, .ltc = { 0x00000001, gm200_ltc_new },
...@@ -2062,6 +2061,7 @@ nv124_chipset = { ...@@ -2062,6 +2061,7 @@ nv124_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gm200_pmu_new }, .pmu = { 0x00000001, gm200_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gm200_therm_new }, .therm = { 0x00000001, gm200_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2088,7 +2088,6 @@ nv126_chipset = { ...@@ -2088,7 +2088,6 @@ nv126_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.iccsense = { 0x00000001, gf100_iccsense_new }, .iccsense = { 0x00000001, gf100_iccsense_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gm200_ltc_new }, .ltc = { 0x00000001, gm200_ltc_new },
...@@ -2097,6 +2096,7 @@ nv126_chipset = { ...@@ -2097,6 +2096,7 @@ nv126_chipset = {
.mxm = { 0x00000001, nv50_mxm_new }, .mxm = { 0x00000001, nv50_mxm_new },
.pci = { 0x00000001, gk104_pci_new }, .pci = { 0x00000001, gk104_pci_new },
.pmu = { 0x00000001, gm200_pmu_new }, .pmu = { 0x00000001, gm200_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gm200_therm_new }, .therm = { 0x00000001, gm200_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2120,12 +2120,12 @@ nv12b_chipset = { ...@@ -2120,12 +2120,12 @@ nv12b_chipset = {
.clk = { 0x00000001, gm20b_clk_new }, .clk = { 0x00000001, gm20b_clk_new },
.fb = { 0x00000001, gm20b_fb_new }, .fb = { 0x00000001, gm20b_fb_new },
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.ibus = { 0x00000001, gk20a_ibus_new },
.imem = { 0x00000001, gk20a_instmem_new }, .imem = { 0x00000001, gk20a_instmem_new },
.ltc = { 0x00000001, gm200_ltc_new }, .ltc = { 0x00000001, gm200_ltc_new },
.mc = { 0x00000001, gk20a_mc_new }, .mc = { 0x00000001, gk20a_mc_new },
.mmu = { 0x00000001, gm20b_mmu_new }, .mmu = { 0x00000001, gm20b_mmu_new },
.pmu = { 0x00000001, gm20b_pmu_new }, .pmu = { 0x00000001, gm20b_pmu_new },
.privring = { 0x00000001, gk20a_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.volt = { 0x00000001, gm20b_volt_new }, .volt = { 0x00000001, gm20b_volt_new },
...@@ -2149,7 +2149,6 @@ nv130_chipset = { ...@@ -2149,7 +2149,6 @@ nv130_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp100_ltc_new }, .ltc = { 0x00000001, gp100_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2157,6 +2156,7 @@ nv130_chipset = { ...@@ -2157,6 +2156,7 @@ nv130_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gm200_pmu_new }, .pmu = { 0x00000001, gm200_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000003f, gp100_ce_new }, .ce = { 0x0000003f, gp100_ce_new },
...@@ -2182,7 +2182,6 @@ nv132_chipset = { ...@@ -2182,7 +2182,6 @@ nv132_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2190,6 +2189,7 @@ nv132_chipset = { ...@@ -2190,6 +2189,7 @@ nv132_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000000f, gp102_ce_new }, .ce = { 0x0000000f, gp102_ce_new },
...@@ -2216,7 +2216,6 @@ nv134_chipset = { ...@@ -2216,7 +2216,6 @@ nv134_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2224,6 +2223,7 @@ nv134_chipset = { ...@@ -2224,6 +2223,7 @@ nv134_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000000f, gp102_ce_new }, .ce = { 0x0000000f, gp102_ce_new },
...@@ -2250,7 +2250,6 @@ nv136_chipset = { ...@@ -2250,7 +2250,6 @@ nv136_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2258,6 +2257,7 @@ nv136_chipset = { ...@@ -2258,6 +2257,7 @@ nv136_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000000f, gp102_ce_new }, .ce = { 0x0000000f, gp102_ce_new },
...@@ -2284,7 +2284,6 @@ nv137_chipset = { ...@@ -2284,7 +2284,6 @@ nv137_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2292,6 +2291,7 @@ nv137_chipset = { ...@@ -2292,6 +2291,7 @@ nv137_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000000f, gp102_ce_new }, .ce = { 0x0000000f, gp102_ce_new },
...@@ -2318,7 +2318,6 @@ nv138_chipset = { ...@@ -2318,7 +2318,6 @@ nv138_chipset = {
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
...@@ -2326,6 +2325,7 @@ nv138_chipset = { ...@@ -2326,6 +2325,7 @@ nv138_chipset = {
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x0000000f, gp102_ce_new }, .ce = { 0x0000000f, gp102_ce_new },
...@@ -2347,12 +2347,12 @@ nv13b_chipset = { ...@@ -2347,12 +2347,12 @@ nv13b_chipset = {
.fault = { 0x00000001, gp10b_fault_new }, .fault = { 0x00000001, gp10b_fault_new },
.fb = { 0x00000001, gp10b_fb_new }, .fb = { 0x00000001, gp10b_fb_new },
.fuse = { 0x00000001, gm107_fuse_new }, .fuse = { 0x00000001, gm107_fuse_new },
.ibus = { 0x00000001, gp10b_ibus_new },
.imem = { 0x00000001, gk20a_instmem_new }, .imem = { 0x00000001, gk20a_instmem_new },
.ltc = { 0x00000001, gp10b_ltc_new }, .ltc = { 0x00000001, gp10b_ltc_new },
.mc = { 0x00000001, gp10b_mc_new }, .mc = { 0x00000001, gp10b_mc_new },
.mmu = { 0x00000001, gp10b_mmu_new }, .mmu = { 0x00000001, gp10b_mmu_new },
.pmu = { 0x00000001, gp10b_pmu_new }, .pmu = { 0x00000001, gp10b_pmu_new },
.privring = { 0x00000001, gp10b_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
.ce = { 0x00000001, gp100_ce_new }, .ce = { 0x00000001, gp100_ce_new },
...@@ -2376,13 +2376,13 @@ nv140_chipset = { ...@@ -2376,13 +2376,13 @@ nv140_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, gp100_mc_new }, .mc = { 0x00000001, gp100_mc_new },
.mmu = { 0x00000001, gv100_mmu_new }, .mmu = { 0x00000001, gv100_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2410,13 +2410,13 @@ nv162_chipset = { ...@@ -2410,13 +2410,13 @@ nv162_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, tu102_mc_new }, .mc = { 0x00000001, tu102_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2444,13 +2444,13 @@ nv164_chipset = { ...@@ -2444,13 +2444,13 @@ nv164_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, tu102_mc_new }, .mc = { 0x00000001, tu102_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2478,13 +2478,13 @@ nv166_chipset = { ...@@ -2478,13 +2478,13 @@ nv166_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, tu102_mc_new }, .mc = { 0x00000001, tu102_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2512,13 +2512,13 @@ nv167_chipset = { ...@@ -2512,13 +2512,13 @@ nv167_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, tu102_mc_new }, .mc = { 0x00000001, tu102_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2546,13 +2546,13 @@ nv168_chipset = { ...@@ -2546,13 +2546,13 @@ nv168_chipset = {
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.gsp = { 0x00000001, gv100_gsp_new }, .gsp = { 0x00000001, gv100_gsp_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.ltc = { 0x00000001, gp102_ltc_new }, .ltc = { 0x00000001, gp102_ltc_new },
.mc = { 0x00000001, tu102_mc_new }, .mc = { 0x00000001, tu102_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.pmu = { 0x00000001, gp102_pmu_new }, .pmu = { 0x00000001, gp102_pmu_new },
.privring = { 0x00000001, gm200_privring_new },
.therm = { 0x00000001, gp100_therm_new }, .therm = { 0x00000001, gp100_therm_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.top = { 0x00000001, gk104_top_new }, .top = { 0x00000001, gk104_top_new },
...@@ -2575,11 +2575,11 @@ nv170_chipset = { ...@@ -2575,11 +2575,11 @@ nv170_chipset = {
.fb = { 0x00000001, ga100_fb_new }, .fb = { 0x00000001, ga100_fb_new },
.gpio = { 0x00000001, gk104_gpio_new }, .gpio = { 0x00000001, gk104_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.mc = { 0x00000001, ga100_mc_new }, .mc = { 0x00000001, ga100_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
}; };
...@@ -2592,11 +2592,11 @@ nv172_chipset = { ...@@ -2592,11 +2592,11 @@ nv172_chipset = {
.fb = { 0x00000001, ga102_fb_new }, .fb = { 0x00000001, ga102_fb_new },
.gpio = { 0x00000001, ga102_gpio_new }, .gpio = { 0x00000001, ga102_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.mc = { 0x00000001, ga100_mc_new }, .mc = { 0x00000001, ga100_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.disp = { 0x00000001, ga102_disp_new }, .disp = { 0x00000001, ga102_disp_new },
.dma = { 0x00000001, gv100_dma_new }, .dma = { 0x00000001, gv100_dma_new },
...@@ -2611,11 +2611,11 @@ nv174_chipset = { ...@@ -2611,11 +2611,11 @@ nv174_chipset = {
.fb = { 0x00000001, ga102_fb_new }, .fb = { 0x00000001, ga102_fb_new },
.gpio = { 0x00000001, ga102_gpio_new }, .gpio = { 0x00000001, ga102_gpio_new },
.i2c = { 0x00000001, gm200_i2c_new }, .i2c = { 0x00000001, gm200_i2c_new },
.ibus = { 0x00000001, gm200_ibus_new },
.imem = { 0x00000001, nv50_instmem_new }, .imem = { 0x00000001, nv50_instmem_new },
.mc = { 0x00000001, ga100_mc_new }, .mc = { 0x00000001, ga100_mc_new },
.mmu = { 0x00000001, tu102_mmu_new }, .mmu = { 0x00000001, tu102_mmu_new },
.pci = { 0x00000001, gp100_pci_new }, .pci = { 0x00000001, gp100_pci_new },
.privring = { 0x00000001, gm200_privring_new },
.timer = { 0x00000001, gk20a_timer_new }, .timer = { 0x00000001, gk20a_timer_new },
.disp = { 0x00000001, ga102_disp_new }, .disp = { 0x00000001, ga102_disp_new },
.dma = { 0x00000001, gv100_dma_new }, .dma = { 0x00000001, gv100_dma_new },
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <subdev/gpio.h> #include <subdev/gpio.h>
#include <subdev/gsp.h> #include <subdev/gsp.h>
#include <subdev/i2c.h> #include <subdev/i2c.h>
#include <subdev/ibus.h>
#include <subdev/iccsense.h> #include <subdev/iccsense.h>
#include <subdev/instmem.h> #include <subdev/instmem.h>
#include <subdev/ltc.h> #include <subdev/ltc.h>
...@@ -24,6 +23,7 @@ ...@@ -24,6 +23,7 @@
#include <subdev/mxm.h> #include <subdev/mxm.h>
#include <subdev/pci.h> #include <subdev/pci.h>
#include <subdev/pmu.h> #include <subdev/pmu.h>
#include <subdev/privring.h>
#include <subdev/therm.h> #include <subdev/therm.h>
#include <subdev/timer.h> #include <subdev/timer.h>
#include <subdev/top.h> #include <subdev/top.h>
......
...@@ -11,7 +11,6 @@ include $(src)/nvkm/subdev/fuse/Kbuild ...@@ -11,7 +11,6 @@ include $(src)/nvkm/subdev/fuse/Kbuild
include $(src)/nvkm/subdev/gpio/Kbuild include $(src)/nvkm/subdev/gpio/Kbuild
include $(src)/nvkm/subdev/gsp/Kbuild include $(src)/nvkm/subdev/gsp/Kbuild
include $(src)/nvkm/subdev/i2c/Kbuild include $(src)/nvkm/subdev/i2c/Kbuild
include $(src)/nvkm/subdev/ibus/Kbuild
include $(src)/nvkm/subdev/iccsense/Kbuild include $(src)/nvkm/subdev/iccsense/Kbuild
include $(src)/nvkm/subdev/instmem/Kbuild include $(src)/nvkm/subdev/instmem/Kbuild
include $(src)/nvkm/subdev/ltc/Kbuild include $(src)/nvkm/subdev/ltc/Kbuild
...@@ -20,6 +19,7 @@ include $(src)/nvkm/subdev/mmu/Kbuild ...@@ -20,6 +19,7 @@ include $(src)/nvkm/subdev/mmu/Kbuild
include $(src)/nvkm/subdev/mxm/Kbuild include $(src)/nvkm/subdev/mxm/Kbuild
include $(src)/nvkm/subdev/pci/Kbuild include $(src)/nvkm/subdev/pci/Kbuild
include $(src)/nvkm/subdev/pmu/Kbuild include $(src)/nvkm/subdev/pmu/Kbuild
include $(src)/nvkm/subdev/privring/Kbuild
include $(src)/nvkm/subdev/therm/Kbuild include $(src)/nvkm/subdev/therm/Kbuild
include $(src)/nvkm/subdev/timer/Kbuild include $(src)/nvkm/subdev/timer/Kbuild
include $(src)/nvkm/subdev/top/Kbuild include $(src)/nvkm/subdev/top/Kbuild
......
...@@ -40,7 +40,7 @@ gf100_bus_intr(struct nvkm_bus *bus) ...@@ -40,7 +40,7 @@ gf100_bus_intr(struct nvkm_bus *bus)
(addr & 0x00000002) ? "write" : "read", data, (addr & 0x00000002) ? "write" : "read", data,
(addr & 0x00fffffc), (addr & 0x00fffffc),
(stat & 0x00000002) ? "!ENGINE " : "", (stat & 0x00000002) ? "!ENGINE " : "",
(stat & 0x00000004) ? "IBUS " : "", (stat & 0x00000004) ? "PRIVRING " : "",
(stat & 0x00000008) ? "TIMEOUT " : ""); (stat & 0x00000008) ? "TIMEOUT " : "");
nvkm_wr32(device, 0x009084, 0x00000000); nvkm_wr32(device, 0x009084, 0x00000000);
......
# SPDX-License-Identifier: MIT
nvkm-y += nvkm/subdev/ibus/gf100.o
nvkm-y += nvkm/subdev/ibus/gf117.o
nvkm-y += nvkm/subdev/ibus/gk104.o
nvkm-y += nvkm/subdev/ibus/gk20a.o
nvkm-y += nvkm/subdev/ibus/gm200.o
nvkm-y += nvkm/subdev/ibus/gp10b.o
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_IBUS_PRIV_H__
#define __NVKM_IBUS_PRIV_H__
#include <subdev/ibus.h>
void gf100_ibus_intr(struct nvkm_subdev *);
void gk104_ibus_intr(struct nvkm_subdev *);
#endif
...@@ -46,7 +46,7 @@ gf100_mc_intr[] = { ...@@ -46,7 +46,7 @@ gf100_mc_intr[] = {
{ 0x00000040, NVKM_ENGINE_CE, 1 }, { 0x00000040, NVKM_ENGINE_CE, 1 },
{ 0x00000020, NVKM_ENGINE_CE, 0 }, { 0x00000020, NVKM_ENGINE_CE, 0 },
{ 0x00000001, NVKM_ENGINE_MSPPP }, { 0x00000001, NVKM_ENGINE_MSPPP },
{ 0x40000000, NVKM_SUBDEV_IBUS }, { 0x40000000, NVKM_SUBDEV_PRIVRING },
{ 0x10000000, NVKM_SUBDEV_BUS }, { 0x10000000, NVKM_SUBDEV_BUS },
{ 0x08000000, NVKM_SUBDEV_FB }, { 0x08000000, NVKM_SUBDEV_FB },
{ 0x02000000, NVKM_SUBDEV_LTC }, { 0x02000000, NVKM_SUBDEV_LTC },
......
...@@ -34,7 +34,7 @@ const struct nvkm_mc_map ...@@ -34,7 +34,7 @@ const struct nvkm_mc_map
gk104_mc_intr[] = { gk104_mc_intr[] = {
{ 0x04000000, NVKM_ENGINE_DISP }, { 0x04000000, NVKM_ENGINE_DISP },
{ 0x00000100, NVKM_ENGINE_FIFO }, { 0x00000100, NVKM_ENGINE_FIFO },
{ 0x40000000, NVKM_SUBDEV_IBUS }, { 0x40000000, NVKM_SUBDEV_PRIVRING },
{ 0x10000000, NVKM_SUBDEV_BUS }, { 0x10000000, NVKM_SUBDEV_BUS },
{ 0x08000000, NVKM_SUBDEV_FB }, { 0x08000000, NVKM_SUBDEV_FB },
{ 0x02000000, NVKM_SUBDEV_LTC }, { 0x02000000, NVKM_SUBDEV_LTC },
......
...@@ -80,7 +80,7 @@ gp100_mc_intr[] = { ...@@ -80,7 +80,7 @@ gp100_mc_intr[] = {
{ 0x04000000, NVKM_ENGINE_DISP }, { 0x04000000, NVKM_ENGINE_DISP },
{ 0x00000100, NVKM_ENGINE_FIFO }, { 0x00000100, NVKM_ENGINE_FIFO },
{ 0x00000200, NVKM_SUBDEV_FAULT }, { 0x00000200, NVKM_SUBDEV_FAULT },
{ 0x40000000, NVKM_SUBDEV_IBUS }, { 0x40000000, NVKM_SUBDEV_PRIVRING },
{ 0x10000000, NVKM_SUBDEV_BUS }, { 0x10000000, NVKM_SUBDEV_BUS },
{ 0x08000000, NVKM_SUBDEV_FB }, { 0x08000000, NVKM_SUBDEV_FB },
{ 0x02000000, NVKM_SUBDEV_LTC }, { 0x02000000, NVKM_SUBDEV_LTC },
......
# SPDX-License-Identifier: MIT
nvkm-y += nvkm/subdev/privring/gf100.o
nvkm-y += nvkm/subdev/privring/gf117.o
nvkm-y += nvkm/subdev/privring/gk104.o
nvkm-y += nvkm/subdev/privring/gk20a.o
nvkm-y += nvkm/subdev/privring/gm200.o
nvkm-y += nvkm/subdev/privring/gp10b.o
...@@ -25,39 +25,39 @@ ...@@ -25,39 +25,39 @@
#include <subdev/timer.h> #include <subdev/timer.h>
static void static void
gf100_ibus_intr_hub(struct nvkm_subdev *ibus, int i) gf100_privring_intr_hub(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x122120 + (i * 0x0400)); u32 addr = nvkm_rd32(device, 0x122120 + (i * 0x0400));
u32 data = nvkm_rd32(device, 0x122124 + (i * 0x0400)); u32 data = nvkm_rd32(device, 0x122124 + (i * 0x0400));
u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400)); u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0400));
nvkm_debug(ibus, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
static void static void
gf100_ibus_intr_rop(struct nvkm_subdev *ibus, int i) gf100_privring_intr_rop(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x124120 + (i * 0x0400)); u32 addr = nvkm_rd32(device, 0x124120 + (i * 0x0400));
u32 data = nvkm_rd32(device, 0x124124 + (i * 0x0400)); u32 data = nvkm_rd32(device, 0x124124 + (i * 0x0400));
u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400)); u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0400));
nvkm_debug(ibus, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
static void static void
gf100_ibus_intr_gpc(struct nvkm_subdev *ibus, int i) gf100_privring_intr_gpc(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x128120 + (i * 0x0400)); u32 addr = nvkm_rd32(device, 0x128120 + (i * 0x0400));
u32 data = nvkm_rd32(device, 0x128124 + (i * 0x0400)); u32 data = nvkm_rd32(device, 0x128124 + (i * 0x0400));
u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400)); u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0400));
nvkm_debug(ibus, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
void void
gf100_ibus_intr(struct nvkm_subdev *ibus) gf100_privring_intr(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 intr0 = nvkm_rd32(device, 0x121c58); u32 intr0 = nvkm_rd32(device, 0x121c58);
u32 intr1 = nvkm_rd32(device, 0x121c5c); u32 intr1 = nvkm_rd32(device, 0x121c5c);
u32 hubnr = nvkm_rd32(device, 0x121c70); u32 hubnr = nvkm_rd32(device, 0x121c70);
...@@ -68,7 +68,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus) ...@@ -68,7 +68,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; (intr0 & 0x0000ff00) && i < hubnr; i++) { for (i = 0; (intr0 & 0x0000ff00) && i < hubnr; i++) {
u32 stat = 0x00000100 << i; u32 stat = 0x00000100 << i;
if (intr0 & stat) { if (intr0 & stat) {
gf100_ibus_intr_hub(ibus, i); gf100_privring_intr_hub(privring, i);
intr0 &= ~stat; intr0 &= ~stat;
} }
} }
...@@ -76,7 +76,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus) ...@@ -76,7 +76,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; (intr0 & 0xffff0000) && i < ropnr; i++) { for (i = 0; (intr0 & 0xffff0000) && i < ropnr; i++) {
u32 stat = 0x00010000 << i; u32 stat = 0x00010000 << i;
if (intr0 & stat) { if (intr0 & stat) {
gf100_ibus_intr_rop(ibus, i); gf100_privring_intr_rop(privring, i);
intr0 &= ~stat; intr0 &= ~stat;
} }
} }
...@@ -84,7 +84,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus) ...@@ -84,7 +84,7 @@ gf100_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; intr1 && i < gpcnr; i++) { for (i = 0; intr1 && i < gpcnr; i++) {
u32 stat = 0x00000001 << i; u32 stat = 0x00000001 << i;
if (intr1 & stat) { if (intr1 & stat) {
gf100_ibus_intr_gpc(ibus, i); gf100_privring_intr_gpc(privring, i);
intr1 &= ~stat; intr1 &= ~stat;
} }
} }
...@@ -97,9 +97,9 @@ gf100_ibus_intr(struct nvkm_subdev *ibus) ...@@ -97,9 +97,9 @@ gf100_ibus_intr(struct nvkm_subdev *ibus)
} }
static int static int
gf100_ibus_init(struct nvkm_subdev *ibus) gf100_privring_init(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800); nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800);
nvkm_wr32(device, 0x12232c, 0x00100064); nvkm_wr32(device, 0x12232c, 0x00100064);
nvkm_wr32(device, 0x122330, 0x00100064); nvkm_wr32(device, 0x122330, 0x00100064);
...@@ -109,14 +109,14 @@ gf100_ibus_init(struct nvkm_subdev *ibus) ...@@ -109,14 +109,14 @@ gf100_ibus_init(struct nvkm_subdev *ibus)
} }
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gf100_ibus = { gf100_privring = {
.init = gf100_ibus_init, .init = gf100_privring_init,
.intr = gf100_ibus_intr, .intr = gf100_privring_intr,
}; };
int int
gf100_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gf100_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gf100_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gf100_privring, device, type, inst, pprivring);
} }
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#include "priv.h" #include "priv.h"
static int static int
gf117_ibus_init(struct nvkm_subdev *ibus) gf117_privring_init(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800); nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800);
nvkm_mask(device, 0x122348, 0x0003ffff, 0x00000100); nvkm_mask(device, 0x122348, 0x0003ffff, 0x00000100);
nvkm_mask(device, 0x1223b0, 0x0003ffff, 0x00000fff); nvkm_mask(device, 0x1223b0, 0x0003ffff, 0x00000fff);
...@@ -34,14 +34,14 @@ gf117_ibus_init(struct nvkm_subdev *ibus) ...@@ -34,14 +34,14 @@ gf117_ibus_init(struct nvkm_subdev *ibus)
} }
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gf117_ibus = { gf117_privring = {
.init = gf117_ibus_init, .init = gf117_privring_init,
.intr = gf100_ibus_intr, .intr = gf100_privring_intr,
}; };
int int
gf117_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gf117_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gf117_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gf117_privring, device, type, inst, pprivring);
} }
...@@ -25,39 +25,39 @@ ...@@ -25,39 +25,39 @@
#include <subdev/timer.h> #include <subdev/timer.h>
static void static void
gk104_ibus_intr_hub(struct nvkm_subdev *ibus, int i) gk104_privring_intr_hub(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x122120 + (i * 0x0800)); u32 addr = nvkm_rd32(device, 0x122120 + (i * 0x0800));
u32 data = nvkm_rd32(device, 0x122124 + (i * 0x0800)); u32 data = nvkm_rd32(device, 0x122124 + (i * 0x0800));
u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0800)); u32 stat = nvkm_rd32(device, 0x122128 + (i * 0x0800));
nvkm_debug(ibus, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "HUB%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
static void static void
gk104_ibus_intr_rop(struct nvkm_subdev *ibus, int i) gk104_privring_intr_rop(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x124120 + (i * 0x0800)); u32 addr = nvkm_rd32(device, 0x124120 + (i * 0x0800));
u32 data = nvkm_rd32(device, 0x124124 + (i * 0x0800)); u32 data = nvkm_rd32(device, 0x124124 + (i * 0x0800));
u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0800)); u32 stat = nvkm_rd32(device, 0x124128 + (i * 0x0800));
nvkm_debug(ibus, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "ROP%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
static void static void
gk104_ibus_intr_gpc(struct nvkm_subdev *ibus, int i) gk104_privring_intr_gpc(struct nvkm_subdev *privring, int i)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 addr = nvkm_rd32(device, 0x128120 + (i * 0x0800)); u32 addr = nvkm_rd32(device, 0x128120 + (i * 0x0800));
u32 data = nvkm_rd32(device, 0x128124 + (i * 0x0800)); u32 data = nvkm_rd32(device, 0x128124 + (i * 0x0800));
u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0800)); u32 stat = nvkm_rd32(device, 0x128128 + (i * 0x0800));
nvkm_debug(ibus, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat); nvkm_debug(privring, "GPC%d: %06x %08x (%08x)\n", i, addr, data, stat);
} }
void void
gk104_ibus_intr(struct nvkm_subdev *ibus) gk104_privring_intr(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 intr0 = nvkm_rd32(device, 0x120058); u32 intr0 = nvkm_rd32(device, 0x120058);
u32 intr1 = nvkm_rd32(device, 0x12005c); u32 intr1 = nvkm_rd32(device, 0x12005c);
u32 hubnr = nvkm_rd32(device, 0x120070); u32 hubnr = nvkm_rd32(device, 0x120070);
...@@ -68,7 +68,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus) ...@@ -68,7 +68,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; (intr0 & 0x0000ff00) && i < hubnr; i++) { for (i = 0; (intr0 & 0x0000ff00) && i < hubnr; i++) {
u32 stat = 0x00000100 << i; u32 stat = 0x00000100 << i;
if (intr0 & stat) { if (intr0 & stat) {
gk104_ibus_intr_hub(ibus, i); gk104_privring_intr_hub(privring, i);
intr0 &= ~stat; intr0 &= ~stat;
} }
} }
...@@ -76,7 +76,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus) ...@@ -76,7 +76,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; (intr0 & 0xffff0000) && i < ropnr; i++) { for (i = 0; (intr0 & 0xffff0000) && i < ropnr; i++) {
u32 stat = 0x00010000 << i; u32 stat = 0x00010000 << i;
if (intr0 & stat) { if (intr0 & stat) {
gk104_ibus_intr_rop(ibus, i); gk104_privring_intr_rop(privring, i);
intr0 &= ~stat; intr0 &= ~stat;
} }
} }
...@@ -84,7 +84,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus) ...@@ -84,7 +84,7 @@ gk104_ibus_intr(struct nvkm_subdev *ibus)
for (i = 0; intr1 && i < gpcnr; i++) { for (i = 0; intr1 && i < gpcnr; i++) {
u32 stat = 0x00000001 << i; u32 stat = 0x00000001 << i;
if (intr1 & stat) { if (intr1 & stat) {
gk104_ibus_intr_gpc(ibus, i); gk104_privring_intr_gpc(privring, i);
intr1 &= ~stat; intr1 &= ~stat;
} }
} }
...@@ -97,9 +97,9 @@ gk104_ibus_intr(struct nvkm_subdev *ibus) ...@@ -97,9 +97,9 @@ gk104_ibus_intr(struct nvkm_subdev *ibus)
} }
static int static int
gk104_ibus_init(struct nvkm_subdev *ibus) gk104_privring_init(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
nvkm_mask(device, 0x122318, 0x0003ffff, 0x00001000); nvkm_mask(device, 0x122318, 0x0003ffff, 0x00001000);
nvkm_mask(device, 0x12231c, 0x0003ffff, 0x00000200); nvkm_mask(device, 0x12231c, 0x0003ffff, 0x00000200);
nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800); nvkm_mask(device, 0x122310, 0x0003ffff, 0x00000800);
...@@ -111,15 +111,15 @@ gk104_ibus_init(struct nvkm_subdev *ibus) ...@@ -111,15 +111,15 @@ gk104_ibus_init(struct nvkm_subdev *ibus)
} }
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gk104_ibus = { gk104_privring = {
.preinit = gk104_ibus_init, .preinit = gk104_privring_init,
.init = gk104_ibus_init, .init = gk104_privring_init,
.intr = gk104_ibus_intr, .intr = gk104_privring_intr,
}; };
int int
gk104_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gk104_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gk104_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gk104_privring, device, type, inst, pprivring);
} }
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
*/ */
#include <subdev/ibus.h> #include <subdev/privring.h>
#include <subdev/timer.h> #include <subdev/timer.h>
static void static void
gk20a_ibus_init_ibus_ring(struct nvkm_subdev *ibus) gk20a_privring_init_privring_ring(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
nvkm_mask(device, 0x137250, 0x3f, 0); nvkm_mask(device, 0x137250, 0x3f, 0);
nvkm_mask(device, 0x000200, 0x20, 0); nvkm_mask(device, 0x000200, 0x20, 0);
...@@ -46,14 +46,14 @@ gk20a_ibus_init_ibus_ring(struct nvkm_subdev *ibus) ...@@ -46,14 +46,14 @@ gk20a_ibus_init_ibus_ring(struct nvkm_subdev *ibus)
} }
static void static void
gk20a_ibus_intr(struct nvkm_subdev *ibus) gk20a_privring_intr(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
u32 status0 = nvkm_rd32(device, 0x120058); u32 status0 = nvkm_rd32(device, 0x120058);
if (status0 & 0x7) { if (status0 & 0x7) {
nvkm_debug(ibus, "resetting ibus ring\n"); nvkm_debug(privring, "resetting privring ring\n");
gk20a_ibus_init_ibus_ring(ibus); gk20a_privring_init_privring_ring(privring);
} }
/* Acknowledge interrupt */ /* Acknowledge interrupt */
...@@ -65,21 +65,21 @@ gk20a_ibus_intr(struct nvkm_subdev *ibus) ...@@ -65,21 +65,21 @@ gk20a_ibus_intr(struct nvkm_subdev *ibus)
} }
static int static int
gk20a_ibus_init(struct nvkm_subdev *ibus) gk20a_privring_init(struct nvkm_subdev *privring)
{ {
gk20a_ibus_init_ibus_ring(ibus); gk20a_privring_init_privring_ring(privring);
return 0; return 0;
} }
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gk20a_ibus = { gk20a_privring = {
.init = gk20a_ibus_init, .init = gk20a_privring_init,
.intr = gk20a_ibus_intr, .intr = gk20a_privring_intr,
}; };
int int
gk20a_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gk20a_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gk20a_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gk20a_privring, device, type, inst, pprivring);
} }
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
#include "priv.h" #include "priv.h"
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gm200_ibus = { gm200_privring = {
.intr = gk104_ibus_intr, .intr = gk104_privring_intr,
}; };
int int
gm200_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gm200_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gm200_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gm200_privring, device, type, inst, pprivring);
} }
...@@ -19,14 +19,14 @@ ...@@ -19,14 +19,14 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE. * DEALINGS IN THE SOFTWARE.
*/ */
#include <subdev/ibus.h> #include <subdev/privring.h>
#include "priv.h" #include "priv.h"
static int static int
gp10b_ibus_init(struct nvkm_subdev *ibus) gp10b_privring_init(struct nvkm_subdev *privring)
{ {
struct nvkm_device *device = ibus->device; struct nvkm_device *device = privring->device;
nvkm_wr32(device, 0x1200a8, 0x0); nvkm_wr32(device, 0x1200a8, 0x0);
...@@ -42,14 +42,14 @@ gp10b_ibus_init(struct nvkm_subdev *ibus) ...@@ -42,14 +42,14 @@ gp10b_ibus_init(struct nvkm_subdev *ibus)
} }
static const struct nvkm_subdev_func static const struct nvkm_subdev_func
gp10b_ibus = { gp10b_privring = {
.init = gp10b_ibus_init, .init = gp10b_privring_init,
.intr = gk104_ibus_intr, .intr = gk104_privring_intr,
}; };
int int
gp10b_ibus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, gp10b_privring_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
struct nvkm_subdev **pibus) struct nvkm_subdev **pprivring)
{ {
return nvkm_subdev_new_(&gp10b_ibus, device, type, inst, pibus); return nvkm_subdev_new_(&gp10b_privring, device, type, inst, pprivring);
} }
/* SPDX-License-Identifier: MIT */
#ifndef __NVKM_PRIVRING_PRIV_H__
#define __NVKM_PRIVRING_PRIV_H__
#include <subdev/privring.h>
void gf100_privring_intr(struct nvkm_subdev *);
void gk104_privring_intr(struct nvkm_subdev *);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment