drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
authorBen Skeggs <bskeggs@redhat.com>
Tue, 4 Sep 2018 05:56:57 +0000 (15:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:28 +0000 (06:54 +1000)
This Falcon application doesn't appear to be present on some newer
systems, so let's not fail init if we can't find it.

TBD: is there a way to determine whether it *should* be there?

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c

index b80618e354919b11b00b6c88b12dbc648ba4680f..d65959ef05643bf731ccdfda02cd0243b1116c2b 100644 (file)
@@ -158,7 +158,8 @@ gm200_devinit_post(struct nvkm_devinit *base, bool post)
        }
 
        /* load and execute some other ucode image (bios therm?) */
-       return pmu_load(init, 0x01, post, NULL, NULL);
+       pmu_load(init, 0x01, post, NULL, NULL);
+       return 0;
 }
 
 static const struct nvkm_devinit_func