All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] nouveau: unified firmware loading functions
@ 2016-01-18  6:07 Alexandre Courbot
       [not found] ` <1453097233-11838-1-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Alexandre Courbot @ 2016-01-18  6:07 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-01-27  0:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18  6:07 [PATCH 0/5] nouveau: unified firmware loading functions Alexandre Courbot
     [not found] ` <1453097233-11838-1-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-01-18  6:07   ` [PATCH 1/5] core: add firmware handling functions Alexandre Courbot
     [not found]     ` <1453097233-11838-2-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-01-21 11:41       ` Emil Velikov
     [not found]         ` <CACvgo51AqAvTH5D9AUmzZWPQu+DkWnuGgms3-L8iL8S_tJyiNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-25  2:11           ` Alexandre Courbot
     [not found]             ` <CAAVeFuK+FpokzjphGweewv3N5v08isgcuRbpkfbWoxEB2L7a_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-27  0:24               ` Emil Velikov
2016-01-18  6:07   ` [PATCH 2/5] gr/gf100: use the nvkm_firmware functions Alexandre Courbot
2016-01-18  6:07   ` [PATCH 3/5] falcon: " Alexandre Courbot
2016-01-18  6:07   ` [PATCH 4/5] xtensa: " Alexandre Courbot
2016-01-18  6:07   ` [PATCH 5/5] bios: " Alexandre Courbot
2016-01-18  6:11   ` [PATCH 0/5] nouveau: unified firmware loading functions Ilia Mirkin
     [not found]     ` <CAKb7UvjAk-HBmJuyrLewK49qo_27trCtXW+oFW7TQ74rjNHsPQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-18  6:15       ` Alexandre Courbot
     [not found]         ` <CAAVeFu+n5H5WQgwhkPZXUP53SrGAG=e7EWmtUdTo1bNhFCgZhg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-18  6:20           ` Ilia Mirkin
     [not found]             ` <CAKb7Uvh4kyYo509BJ=nuS6_Z2TAm09v=DN4qyf=r_6-7h3m68w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-18  6:26               ` Ben Skeggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.