All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v2 0/2] drm/panfrost: Expose perf counters to userspace
@ 2019-05-14 10:47 Boris Brezillon
  2019-05-14 10:48 ` [RESEND PATCH v2 1/2] drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h Boris Brezillon
  2019-05-14 10:48 ` [RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs Boris Brezillon
  0 siblings, 2 replies; 10+ messages in thread
From: Boris Brezillon @ 2019-05-14 10:47 UTC (permalink / raw)
  To: Rob Herring, Tomeu Vizoso
  Cc: dri-devel, Steven Price, Boris Brezillon, kernel,
	Alyssa Rosenzweig

Hello,

Sorry for the noise, I forgot to Cc dri-devel on my v2 :-/.

This is a complete rework of the perf counter stuff I submitted a few
weeks back. This version is pretty trivial compared to the first
implementation and it's not meant to be the final solution, but rather
something that allow mesa developers to debug perf-related issues while
we settle on something more generic to allow GPU drivers to expose their
global perf counters.

I'd like to make it clear that this debugfs interface is unstable and
should be deprecated as soon as we have the generic solution in place,
so please don't consider it as part of the stable ABI.

Regards,

Boris 

Boris Brezillon (2):
  drm/panfrost: Move gpu_{write,read}() macros to panfrost_regs.h
  drm/panfrost: Expose perf counters through debugfs

 drivers/gpu/drm/panfrost/Makefile           |   3 +-
 drivers/gpu/drm/panfrost/panfrost_device.c  |   9 +
 drivers/gpu/drm/panfrost/panfrost_device.h  |   3 +
 drivers/gpu/drm/panfrost/panfrost_drv.c     |   7 +
 drivers/gpu/drm/panfrost/panfrost_gpu.c     |  10 +-
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c | 339 ++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_perfcnt.h |  15 +
 drivers/gpu/drm/panfrost/panfrost_regs.h    |  22 ++
 8 files changed, 404 insertions(+), 4 deletions(-)
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_perfcnt.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_perfcnt.h

-- 
2.20.1

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

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

end of thread, other threads:[~2019-05-29  6:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-14 10:47 [RESEND PATCH v2 0/2] drm/panfrost: Expose perf counters to userspace Boris Brezillon
2019-05-14 10:48 ` [RESEND PATCH v2 1/2] drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h Boris Brezillon
2019-05-14 10:48 ` [RESEND PATCH v2 2/2] drm/panfrost: Expose perf counters through debugfs Boris Brezillon
2019-05-14 10:58   ` Emil Velikov
2019-05-14 13:31   ` Rob Herring
2019-05-14 13:55     ` Boris Brezillon
2019-05-16 16:21     ` Steven Price
2019-05-28 13:53       ` Boris Brezillon
2019-05-28 14:01         ` Boris Brezillon
2019-05-29  6:55           ` Boris Brezillon

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.