drm/nouveau/i2c/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:23 +0000 (10:25 +1000)
Appears to be compatible with GM200 code.

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

index 20d947808ef7749c2fcbd4b8150d7014ecec3cfe..946b0001ca548b66d4250d15fb88a2c0d63fe90b 100644 (file)
@@ -2660,6 +2660,7 @@ nv170_chipset = {
        .devinit = ga100_devinit_new,
        .fb = ga100_fb_new,
        .gpio = gk104_gpio_new,
+       .i2c = gm200_i2c_new,
        .ibus = gm200_ibus_new,
        .imem = nv50_instmem_new,
        .mc = ga100_mc_new,
@@ -2676,6 +2677,7 @@ nv172_chipset = {
        .devinit = ga100_devinit_new,
        .fb = ga102_fb_new,
        .gpio = ga102_gpio_new,
+       .i2c = gm200_i2c_new,
        .ibus = gm200_ibus_new,
        .imem = nv50_instmem_new,
        .mc = ga100_mc_new,
@@ -2692,6 +2694,7 @@ nv174_chipset = {
        .devinit = ga100_devinit_new,
        .fb = ga102_fb_new,
        .gpio = ga102_gpio_new,
+       .i2c = gm200_i2c_new,
        .ibus = gm200_ibus_new,
        .imem = nv50_instmem_new,
        .mc = ga100_mc_new,