diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2020-12-04 12:49:36 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2021-02-11 11:49:55 +1000 |
commit | 0aec69c76ec9e20bdefcd6a8eca4277372abef13 (patch) | |
tree | 6652176b59d715ac62aef916a2bcdbf4941a0008 /drivers/gpu/drm/nouveau/nvkm/engine/device | |
parent | drm/nouveau/pmu: switch to instanced constructor (diff) | |
download | linux-dev-0aec69c76ec9e20bdefcd6a8eca4277372abef13.tar.xz linux-dev-0aec69c76ec9e20bdefcd6a8eca4277372abef13.zip |
drm/nouveau/therm: switch to instanced constructor
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/device')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 127 |
1 files changed, 63 insertions, 64 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c index 8651815e5ee4..b87552dad1a6 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c @@ -483,7 +483,7 @@ nv40_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv04_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv40_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -509,7 +509,7 @@ nv41_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -535,7 +535,7 @@ nv42_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -561,7 +561,7 @@ nv43_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -587,7 +587,7 @@ nv44_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -613,7 +613,7 @@ nv45_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv04_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -639,7 +639,7 @@ nv46_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv46_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -665,7 +665,7 @@ nv47_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -691,7 +691,7 @@ nv49_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -717,7 +717,7 @@ nv4a_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv04_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -743,7 +743,7 @@ nv4b_chipset = { .mc = { 0x00000001, nv17_mc_new }, .mmu = { 0x00000001, nv41_mmu_new }, .pci = { 0x00000001, nv40_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -769,7 +769,7 @@ nv4c_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv4c_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -795,7 +795,7 @@ nv4e_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv4c_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -824,7 +824,7 @@ nv50_chipset = { .mmu = { 0x00000001, nv50_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, nv46_pci_new }, - .therm = nv50_therm_new, + .therm = { 0x00000001, nv50_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv50_disp_new, @@ -850,7 +850,7 @@ nv63_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv4c_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -876,7 +876,7 @@ nv67_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv4c_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -902,7 +902,7 @@ nv68_chipset = { .mc = { 0x00000001, nv44_mc_new }, .mmu = { 0x00000001, nv44_mmu_new }, .pci = { 0x00000001, nv4c_pci_new }, - .therm = nv40_therm_new, + .therm = { 0x00000001, nv40_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = nv04_disp_new, @@ -931,7 +931,7 @@ nv84_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g84_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -963,7 +963,7 @@ nv86_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g84_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -995,7 +995,7 @@ nv92_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g92_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -1027,7 +1027,7 @@ nv94_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -1059,7 +1059,7 @@ nv96_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -1091,7 +1091,7 @@ nv98_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = g94_disp_new, @@ -1123,7 +1123,7 @@ nva0_chipset = { .mmu = { 0x00000001, g84_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .bsp = g84_bsp_new, @@ -1156,7 +1156,7 @@ nva3_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, .pmu = { 0x00000001, gt215_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .ce[0] = gt215_ce_new, @@ -1190,7 +1190,7 @@ nva5_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, .pmu = { 0x00000001, gt215_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .ce[0] = gt215_ce_new, @@ -1223,7 +1223,7 @@ nva8_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, .pmu = { 0x00000001, gt215_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .ce[0] = gt215_ce_new, @@ -1255,7 +1255,7 @@ nvaa_chipset = { .mmu = { 0x00000001, mcp77_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = mcp77_disp_new, @@ -1287,7 +1287,7 @@ nvac_chipset = { .mmu = { 0x00000001, mcp77_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, - .therm = g84_therm_new, + .therm = { 0x00000001, g84_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .disp = mcp77_disp_new, @@ -1320,7 +1320,7 @@ nvaf_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, g94_pci_new }, .pmu = { 0x00000001, gt215_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = nv40_volt_new, .ce[0] = gt215_ce_new, @@ -1356,7 +1356,7 @@ nvc0_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf100_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1393,7 +1393,7 @@ nvc1_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf106_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1429,7 +1429,7 @@ nvc3_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf106_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1465,7 +1465,7 @@ nvc4_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf100_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1502,7 +1502,7 @@ nvc8_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf100_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1539,7 +1539,7 @@ nvce_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf100_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1576,7 +1576,7 @@ nvcf_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf106_pci_new }, .pmu = { 0x00000001, gf100_pmu_new }, - .therm = gt215_therm_new, + .therm = { 0x00000001, gt215_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1611,7 +1611,7 @@ nvd7_chipset = { .mmu = { 0x00000001, gf100_mmu_new }, .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf106_pci_new }, - .therm = gf119_therm_new, + .therm = { 0x00000001, gf119_therm_new }, .timer = nv41_timer_new, .volt = gf117_volt_new, .ce[0] = gf100_ce_new, @@ -1647,7 +1647,7 @@ nvd9_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gf106_pci_new }, .pmu = { 0x00000001, gf119_pmu_new }, - .therm = gf119_therm_new, + .therm = { 0x00000001, gf119_therm_new }, .timer = nv41_timer_new, .volt = gf100_volt_new, .ce[0] = gf100_ce_new, @@ -1683,7 +1683,7 @@ nve4_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk104_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1722,7 +1722,7 @@ nve6_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk104_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1761,7 +1761,7 @@ nve7_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk104_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1825,7 +1825,7 @@ nvf0_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk110_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1863,7 +1863,7 @@ nvf1_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk110_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1901,7 +1901,7 @@ nv106_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk208_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1939,7 +1939,7 @@ nv108_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gk208_pmu_new }, - .therm = gk104_therm_new, + .therm = { 0x00000001, gk104_therm_new }, .timer = nv41_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -1977,7 +1977,7 @@ nv117_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gm107_pmu_new }, - .therm = gm107_therm_new, + .therm = { 0x00000001, gm107_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -2013,7 +2013,7 @@ nv118_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gm107_pmu_new }, - .therm = gm107_therm_new, + .therm = { 0x00000001, gm107_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -2047,7 +2047,7 @@ nv120_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gm200_pmu_new }, - .therm = gm200_therm_new, + .therm = { 0x00000001, gm200_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -2085,7 +2085,7 @@ nv124_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gm200_pmu_new }, - .therm = gm200_therm_new, + .therm = { 0x00000001, gm200_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -2123,7 +2123,7 @@ nv126_chipset = { .mxm = { 0x00000001, nv50_mxm_new }, .pci = { 0x00000001, gk104_pci_new }, .pmu = { 0x00000001, gm200_pmu_new }, - .therm = gm200_therm_new, + .therm = { 0x00000001, gm200_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .volt = gk104_volt_new, @@ -2182,7 +2182,7 @@ nv130_chipset = { .ltc = { 0x00000001, gp100_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gm200_pmu_new }, .timer = gk20a_timer_new, @@ -2222,7 +2222,7 @@ nv132_chipset = { .ltc = { 0x00000001, gp102_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, .timer = gk20a_timer_new, @@ -2260,7 +2260,7 @@ nv134_chipset = { .ltc = { 0x00000001, gp102_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, .timer = gk20a_timer_new, @@ -2298,7 +2298,7 @@ nv136_chipset = { .ltc = { 0x00000001, gp102_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, .timer = gk20a_timer_new, @@ -2335,7 +2335,7 @@ nv137_chipset = { .ltc = { 0x00000001, gp102_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, .timer = gk20a_timer_new, @@ -2373,7 +2373,7 @@ nv138_chipset = { .ltc = { 0x00000001, gp102_ltc_new }, .mc = { 0x00000001, gp100_mc_new }, .mmu = { 0x00000001, gp100_mmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, .timer = gk20a_timer_new, @@ -2436,7 +2436,7 @@ nv140_chipset = { .mmu = { 0x00000001, gv100_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .disp = gv100_disp_new, @@ -2480,7 +2480,7 @@ nv162_chipset = { .mmu = { 0x00000001, tu102_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .ce[0] = tu102_ce_new, @@ -2518,7 +2518,7 @@ nv164_chipset = { .mmu = { 0x00000001, tu102_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .ce[0] = tu102_ce_new, @@ -2557,7 +2557,7 @@ nv166_chipset = { .mmu = { 0x00000001, tu102_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .ce[0] = tu102_ce_new, @@ -2597,7 +2597,7 @@ nv167_chipset = { .mmu = { 0x00000001, tu102_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .ce[0] = tu102_ce_new, @@ -2635,7 +2635,7 @@ nv168_chipset = { .mmu = { 0x00000001, tu102_mmu_new }, .pci = { 0x00000001, gp100_pci_new }, .pmu = { 0x00000001, gp102_pmu_new }, - .therm = gp100_therm_new, + .therm = { 0x00000001, gp100_therm_new }, .timer = gk20a_timer_new, .top = gk104_top_new, .ce[0] = tu102_ce_new, @@ -3248,7 +3248,6 @@ nvkm_device_ctor(const struct nvkm_device_func *func, #include <core/layout.h> #undef NVKM_LAYOUT_INST #undef NVKM_LAYOUT_ONCE - _(NVKM_SUBDEV_THERM , therm); _(NVKM_SUBDEV_TIMER , timer); _(NVKM_SUBDEV_TOP , top); _(NVKM_SUBDEV_VOLT , volt); |