[v2 0/2] drm/msm/adreno: Reorganize firmware loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux