All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jordan Crouse <jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: [PATCH 0/6] Add a6xx GPU state capture
Date: Fri, 14 Sep 2018 09:19:29 -0600	[thread overview]
Message-ID: <20180914151935.9714-1-jcrouse@codeaurora.org> (raw)

This stack adds support for capturing the A6xx GPU state.

The A6xx GPU state is comprehensive including registers for
the GPU and the GMU, shader caches, context clusters and
debugbus state.

It isn't as straightforward to capture the state as with
previous targets. Some of the state is located behind
apertures and other registers have special access rules
so the complete state is defined by a hodgepodge of lists
and structs which makes the code appear way more complex
than it is.

Jordan Crouse (6):
  drm/msm/a6xx: rnndb updates for a6xx
  drm/msm/a6xx: Fix PDC register overlap
  drm/msm/a6xx: Rename gmu phandle to qcom,gmu
  drm/msm/gpu:  Move gpu_poll_timeout() to adreno_gpu.h
  drm/msm/adreno: Don't capture registers if target doesn't need them
  drm/msm/a6xx: Add a6xx gpu state

 drivers/gpu/drm/msm/Makefile                |    1 +
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c       |    5 -
 drivers/gpu/drm/msm/adreno/a6xx.xml.h       |  642 ++++++----
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c       |  112 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.h       |    9 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h   |   26 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c       |   41 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h       |    6 +
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 1159 +++++++++++++++++++
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h |  430 +++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c     |   19 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.h     |    6 +
 12 files changed, 2113 insertions(+), 343 deletions(-)
 create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
 create mode 100644 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h

-- 
2.18.0

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

             reply	other threads:[~2018-09-14 15:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14 15:19 Jordan Crouse [this message]
     [not found] ` <20180914151935.9714-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-09-14 15:19   ` [PATCH 1/6] drm/msm/a6xx: rnndb updates for a6xx Jordan Crouse
2018-09-14 15:19   ` [PATCH 2/6] drm/msm/a6xx: Fix PDC register overlap Jordan Crouse
2018-09-14 15:19   ` [PATCH 4/6] drm/msm/gpu: Move gpu_poll_timeout() to adreno_gpu.h Jordan Crouse
2018-09-14 15:19   ` [PATCH 5/6] drm/msm/adreno: Don't capture registers if target doesn't need them Jordan Crouse
2018-09-14 15:19   ` [PATCH 6/6] drm/msm/a6xx: Add a6xx gpu state Jordan Crouse
2018-09-14 15:19 ` [PATCH 3/6] drm/msm/a6xx: Rename gmu phandle to qcom,gmu 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=20180914151935.9714-1-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 \
    --cc=robdclark-Re5JQEeQqe8AvxtiuMwx3w@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.