From: Jordan Crouse <jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [RFC 0/2] drm/msm: Add support for Adreno a6xx
Date: Wed, 31 Jan 2018 11:25:48 -0700 [thread overview]
Message-ID: <1517423150-19209-1-git-send-email-jcrouse@codeaurora.org> (raw)
This is an RFC for the initial version of a6xx support for the Adreno a6xx GPU
family as found on the sdm845 SoC. This code is ahead of most of the rest of
the sdm845 code that would be needed to actually bring up a device and it is
definitely far in advance of any user side support for the a6xx GPU so this is
mainly just a chance to look over the code structure and get a feel for the
direction that the hardware is going in.
The a6xx GPU is an iteration of the a5xx family so most of the GPU side code
looks pretty close to the same except for the usual register differences. The
big different is in power control. On the a5xx there was a rudimentary device
called the GMU that did some basic power stuff but left most of the complexity
to the kernel. On the a6xx the power complexity is being moved to a component
called the GMU (graphics management unit).
The kernel is responsible for powering the GMU and in turn the GMU is
responsible for powering the GPU and handling power collapse and advance power
saving techniques. Of course the devil is in the details and what we save in
power management complexity is unfortunately replaced by the complexity involved
in communicating with and controlling the GMU.
Jordan Crouse (1):
drm/msm: Add A6XX device support
Sharat Masetty (1):
drm/msm: Add generated headers for A6XX
drivers/gpu/drm/msm/Makefile | 3 +
drivers/gpu/drm/msm/adreno/a6xx.xml.h | 1600 ++++++++++++++++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 1220 +++++++++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx_gmu.h | 174 +++
drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h | 382 +++++++
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 819 ++++++++++++++
drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 69 ++
drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 448 ++++++++
drivers/gpu/drm/msm/adreno/a6xx_hfi.h | 137 +++
drivers/gpu/drm/msm/adreno/adreno_device.c | 11 +
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 2 +-
drivers/gpu/drm/msm/msm_gpu.c | 2 +-
12 files changed, 4865 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx.xml.h
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gmu.c
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gmu.h
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu.c
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu.h
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_hfi.c
create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_hfi.h
--
1.9.1
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
next reply other threads:[~2018-01-31 18:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 18:25 Jordan Crouse [this message]
2018-01-31 18:25 ` [PATCH 1/2] drm/msm/adreno: Add generated headers for A6XX Jordan Crouse
2018-01-31 18:25 ` [PATCH 2/2] drm/msm/adreno: Add A6XX device support Jordan Crouse
[not found] ` <1517423150-19209-3-git-send-email-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-02-01 10:32 ` Lucas Stach
2018-02-14 16:51 ` Jordan Crouse
2018-02-01 17:01 ` kbuild test robot
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=1517423150-19209-1-git-send-email-jcrouse@codeaurora.org \
--to=jcrouse-sgv2jx0feol9jmxxk+q4oq@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).