[Nouveau] [PATCH 0/5] nouveau: unified firmware loading functions

Ilia Mirkin imirkin at alum.mit.edu
Sun Jan 17 22:11:47 PST 2016


All the video decoding firmware was *pretty* standard... I suspect
~everyone used my extraction script and it's sitting in
/lib/firmware/nouveau for everyone who uses VDPAU. There are packages
in several distributions which grab the nvidia blob, my script, and
run the extraction on the end user's computer to avoid licensing
complications. Please support the existing locations.

Thanks,

  -ilia

On Mon, Jan 18, 2016 at 1:07 AM, Alexandre Courbot <acourbot at nvidia.com> wrote:
> This patchset centralizes the firmware-loading procedure to one set of functions
> instead of having each engine load its firmware as it pleases. This helps ensure
> that all firmware comes from the same place, namely nvidia/<chip>/.
>
> This changes where the firmware is fetched from for falcon/xtensa/bios, but
> these locations never seemed to have been official anyway. Also for most (all?)
> chips supported by Nouveau there is corresponding internal firmware, so
> disruption should be minimal/non-existent. If this assumption is wrong, feel
> free to drop patches 3-5. At the very least, firmware officially provided by
> NVIDIA should be looked up using the new functions for consistency.
>
> These new functions are also used by the secure boot series, which will follow
> shortly.
>
> Alexandre Courbot (5):
>   core: add firmware handling functions
>   gr/gf100: use the nvkm_firmware functions
>   falcon: use the nvkm_firmware functions
>   xtensa: use the nvkm_firmware functions
>   bios: use the nvkm_firmware functions
>
>  drm/nouveau/include/nvkm/core/firmware.h | 11 ++++++
>  drm/nouveau/nvkm/core/Kbuild             |  1 +
>  drm/nouveau/nvkm/core/firmware.c         | 64 ++++++++++++++++++++++++++++++++
>  drm/nouveau/nvkm/engine/falcon.c         | 22 +++++------
>  drm/nouveau/nvkm/engine/gr/gf100.c       | 18 ++-------
>  drm/nouveau/nvkm/engine/xtensa.c         | 12 +++---
>  drm/nouveau/nvkm/subdev/bios/shadow.c    |  7 ++--
>  7 files changed, 99 insertions(+), 36 deletions(-)
>  create mode 100644 drm/nouveau/include/nvkm/core/firmware.h
>  create mode 100644 drm/nouveau/nvkm/core/firmware.c
>
> --
> 2.7.0
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau


More information about the Nouveau mailing list