From: Jordan Crouse <jcrouse@codeaurora.org>
To: freedreno@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: [v2 0/2] drm/msm/adreno: Reorganize firmware loading
Date: Thu, 1 Feb 2018 12:15:15 -0700 [thread overview]
Message-ID: <1517512517-31166-1-git-send-email-jcrouse@codeaurora.org> (raw)
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
next reply other threads:[~2018-02-01 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-01 19:15 Jordan Crouse [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1517512517-31166-1-git-send-email-jcrouse@codeaurora.org \
--to=jcrouse@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).