summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-01-13 08:12:52 +0100
committerBen Skeggs <bskeggs@redhat.com>2021-01-15 01:25:21 +0100
commit6f300e0a0ba8873f1225959089f8bb2897d93ec6 (patch)
treeaf4485b6b217f044898ccde94e897932e45a8c91 /drivers
parentdrm/nouveau/fb/ga10[024]: initial support (diff)
downloadlinux-6f300e0a0ba8873f1225959089f8bb2897d93ec6.tar.xz
linux-6f300e0a0ba8873f1225959089f8bb2897d93ec6.zip
drm/nouveau/timer/ga10[024]: initial support
Appears to be compatible with GK20A code. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/base.c3
1 files changed, 3 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 4a5d43fe3f3a..6a1920965c01 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
@@ -2662,6 +2662,7 @@ nv170_chipset = {
.imem = nv50_instmem_new,
.mc = ga100_mc_new,
.pci = gp100_pci_new,
+ .timer = gk20a_timer_new,
};
static const struct nvkm_device_chip
@@ -2674,6 +2675,7 @@ nv172_chipset = {
.imem = nv50_instmem_new,
.mc = ga100_mc_new,
.pci = gp100_pci_new,
+ .timer = gk20a_timer_new,
};
static const struct nvkm_device_chip
@@ -2686,6 +2688,7 @@ nv174_chipset = {
.imem = nv50_instmem_new,
.mc = ga100_mc_new,
.pci = gp100_pci_new,
+ .timer = gk20a_timer_new,
};
static int