Skip to content

nouveau: unified firmware loading functions

Alexandre Courbot nouveau 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5core: add firmware handling functionsdrm/nouveau/include/nvkm/core/firmware.h drm/nouveau/nvkm/core/Kbuild drm/nouveau/nvkm/core/firmware.c+76 -03 replies
2/5gr/gf100: use the nvkm_firmware functionsdrm/nouveau/nvkm/engine/gr/gf100.c+3 -150 replies
3/5falcon: use the nvkm_firmware functionsdrm/nouveau/nvkm/engine/falcon.c+10 -120 replies
4/5xtensa: use the nvkm_firmware functionsdrm/nouveau/nvkm/engine/xtensa.c+6 -60 replies
5/5bios: use the nvkm_firmware functionsdrm/nouveau/nvkm/subdev/bios/shadow.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 6 lines
2.7.0

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau