linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Add a6xx GPU state capture
@ 2018-09-14 15:19 Jordan Crouse
       [not found] ` <20180914151935.9714-1-jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
  2018-09-14 15:19 ` [PATCH 3/6] drm/msm/a6xx: Rename gmu phandle to qcom,gmu Jordan Crouse
  0 siblings, 2 replies; 7+ messages in thread
From: Jordan Crouse @ 2018-09-14 15:19 UTC (permalink / raw)
  To: freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: robdclark-Re5JQEeQqe8AvxtiuMwx3w

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-14 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-14 15:19 [PATCH 0/6] Add a6xx GPU state capture Jordan Crouse
     [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

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