lkml.org 
[lkml]   [2018]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 4.9 11/26] drm/nouveau/TBDdevinit: don't fail when PMU/PRE_OS is missing from VBIOS
    Date
    From: Ben Skeggs <bskeggs@redhat.com>

    [ Upstream commit 0a6986c6595e9afd20ff7280dab36431c1e467f8 ]

    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>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    ---
    drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
    index a410c0db8a08..6a1b81e2b727 100644
    --- a/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
    +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c
    @@ -161,7 +161,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
    --
    2.17.1
    \
     
     \ /
      Last update: 2018-10-01 02:45    [W:5.906 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site