summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2021-01-13 17:12:52 +1000
committerBen Skeggs <bskeggs@redhat.com>2021-01-15 10:25:21 +1000
commit6f300e0a0ba8873f1225959089f8bb2897d93ec6 (patch)
treeaf4485b6b217f044898ccde94e897932e45a8c91 /drivers/gpu
parent41ba806f40a9a4c4f4c04a474bf368160f1baa2c (diff)
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/gpu')
-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