This is new refresh of the outstanding changes from  Rob expressed concern about
the microcode code duplication per target so on his suggestions we did something

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(-)


Freedreno mailing list

Reply via email to