• Alexandre Courbot's avatar
    drm/nouveau/secboot: lazy-load firmware and be more resilient · 20560a9a
    Alexandre Courbot authored
    Defer the loading of firmware files to the chip-specific part of secure
    boot. This allows implementations to retry loading firmware if the first
    attempt failed ; for the GM200 implementation, this happens when trying
    to reset a falcon, typically in reaction to GR init.
    
    Firmware loading may fail for a variety of reasons, such as the
    filesystem where they reside not being ready at init time. This new
    behavior allows GR to be initialized the next time we try to use it if
    the firmware has become available.
    Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    20560a9a
gm20b.c 6.64 KB