All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/msm: Revive GPU workload profiling
@ 2018-10-17 13:03 Sharat Masetty
       [not found] ` <1539781441-13076-1-git-send-email-smasetty-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Sharat Masetty @ 2018-10-17 13:03 UTC (permalink / raw)
  To: freedreno; +Cc: linux-arm-msm, Sharat Masetty, dri-devel

I was looking for a simple mechanism to measure GPU workloads, it turns out
that the support is already present in the msm driver. In this series I try to
make use of the hardware counters where possible for a more accurate workload
estimation. Please review and share your thoughts on this.

I could have piggybacked on the devfreq samples and accumulated the busytimes,
but I chose not to, since it puts a dependency on the gpu devfreq which in
itself is an optional feature. There is one pending issue with GPU recovery +
sampling use case, which I plan to address soon.

Sharat Masetty (3):
  drm/msm: Change gpu_busy() function
  drm/msm/a6xx: Move power counter selectable to resume()
  drm/msm: Use Hardware counters for perf profiling

 drivers/gpu/drm/msm/adreno/a5xx_gpu.c |  6 +++---
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 22 +++++++++++-----------
 drivers/gpu/drm/msm/msm_gpu.c         | 33 ++++++++++++++++++++++++++++-----
 drivers/gpu/drm/msm/msm_gpu.h         |  7 ++++---
 drivers/gpu/drm/msm/msm_perf.c        | 10 +++++-----
 5 files changed, 51 insertions(+), 27 deletions(-)

--
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-11-28 20:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 13:03 [PATCH 0/3] drm/msm: Revive GPU workload profiling Sharat Masetty
     [not found] ` <1539781441-13076-1-git-send-email-smasetty-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-17 13:03   ` [PATCH 1/3] drm/msm: Change gpu_busy() function Sharat Masetty
     [not found]     ` <1539781441-13076-2-git-send-email-smasetty-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-17 14:39       ` Jordan Crouse
2018-10-17 13:04   ` [PATCH 2/3] drm/msm/a6xx: Move power counter selectable to resume() Sharat Masetty
     [not found]     ` <1539781441-13076-3-git-send-email-smasetty-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-17 14:09       ` Jordan Crouse
2018-10-17 13:04   ` [PATCH 3/3] drm/msm: Use Hardware counters for perf profiling Sharat Masetty
     [not found]     ` <1539781441-13076-4-git-send-email-smasetty-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-10-17 14:35       ` Jordan Crouse
     [not found]         ` <20181017143548.GD4751-9PYrDHPZ2Orvke4nUoYGnHL1okKdlPRT@public.gmane.org>
2018-10-26 13:46           ` Sharat Masetty
     [not found]             ` <f57bf8b2-c44a-68f5-a051-2a17c1ac5704-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2018-11-28 20:09               ` Rob Clark

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.