linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v2 0/2] drm/msm/adreno: Reorganize firmware loading
@ 2018-02-01 19:15 Jordan Crouse
       [not found] ` <1517512517-31166-1-git-send-email-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
  2018-02-01 19:15 ` [PATCH 2/2] drm/msm/adreno: Use generic function to load firmware to a buffer object Jordan Crouse
  0 siblings, 2 replies; 3+ messages in thread
From: Jordan Crouse @ 2018-02-01 19:15 UTC (permalink / raw)
  To: freedreno; +Cc: linux-arm-msm, dri-devel

This is new refresh of the outstanding changes from
https://patchwork.freedesktop.org/series/36923/.  Rob expressed concern about
the microcode code duplication per target so on his suggestions we did something
different.

The developer will specify a list of applicable microcode filenames per target.
Some semi-target specific enums are used to coordinate between the device
list and the driver code to figure out the position of the desired data
in the list.  This gets rid of the hardcoded struct members and makes it
flexible enough for future targets like a6xx to have their own unique list
of firmware names that don't match the past.

Jordan Crouse (2):
  drm/msm/adreno: Define a list of firmware files to load per target
  drm/msm/adreno: Use generic function to load firmware to a buffer object

 drivers/gpu/drm/msm/adreno/a3xx_gpu.c      |  8 ++---
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c      |  8 ++---
 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c  | 13 +++-----
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c      | 27 +++-------------
 drivers/gpu/drm/msm/adreno/a5xx_power.c    | 26 ++++-----------
 drivers/gpu/drm/msm/adreno/adreno_device.c | 44 ++++++++++++++++---------
 drivers/gpu/drm/msm/adreno/adreno_gpu.c    | 52 +++++++++++++++++++++---------
 drivers/gpu/drm/msm/adreno/adreno_gpu.h    | 14 ++++++--
 8 files changed, 101 insertions(+), 91 deletions(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-02-01 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 19:15 [v2 0/2] drm/msm/adreno: Reorganize firmware loading Jordan Crouse
     [not found] ` <1517512517-31166-1-git-send-email-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-02-01 19:15   ` [PATCH 1/2] drm/msm/adreno: Define a list of firmware files to load per target Jordan Crouse
2018-02-01 19:15 ` [PATCH 2/2] drm/msm/adreno: Use generic function to load firmware to a buffer object Jordan Crouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).