drm/nouveau/bar/ga10[024]: initial support
authorBen Skeggs <bskeggs@redhat.com>
Wed, 13 Jan 2021 07:12:52 +0000 (17:12 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 15 Jan 2021 00:25:22 +0000 (10:25 +1000)
Appears to be compatible with TU102 code.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c

index ad4cece..c9cc08b 100644 (file)
@@ -2655,6 +2655,7 @@ nv168_chipset = {
 static const struct nvkm_device_chip
 nv170_chipset = {
        .name = "GA100",
+       .bar = tu102_bar_new,
        .bios = nvkm_bios_new,
        .devinit = ga100_devinit_new,
        .fb = ga100_fb_new,
@@ -2669,6 +2670,7 @@ nv170_chipset = {
 static const struct nvkm_device_chip
 nv172_chipset = {
        .name = "GA102",
+       .bar = tu102_bar_new,
        .bios = nvkm_bios_new,
        .devinit = ga100_devinit_new,
        .fb = ga102_fb_new,
@@ -2683,6 +2685,7 @@ nv172_chipset = {
 static const struct nvkm_device_chip
 nv174_chipset = {
        .name = "GA104",
+       .bar = tu102_bar_new,
        .bios = nvkm_bios_new,
        .devinit = ga100_devinit_new,
        .fb = ga102_fb_new,