linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm: fdinfo memory stats
@ 2023-04-10 21:06 Rob Clark
  2023-04-10 21:06 ` [PATCH v2 1/2] drm: Add " Rob Clark
  2023-04-11 16:47 ` [PATCH v2 0/2] drm: " Rob Clark
  0 siblings, 2 replies; 20+ messages in thread
From: Rob Clark @ 2023-04-10 21:06 UTC (permalink / raw)
  To: dri-devel
  Cc: linux-arm-msm, freedreno, Boris Brezillon, Tvrtko Ursulin,
	Christopher Healy, Emil Velikov, Rob Clark,
	open list:DOCUMENTATION, open list, Sean Paul

From: Rob Clark <robdclark@chromium.org>

Similar motivation to other similar recent attempt[1].  But with an
attempt to have some shared code for this.  As well as documentation.

It is probably a bit UMA-centric, I guess devices with VRAM might want
some placement stats as well.  But this seems like a reasonable start.

Basic gputop support: https://patchwork.freedesktop.org/series/116236/
And already nvtop support: https://github.com/Syllo/nvtop/pull/204

[1] https://patchwork.freedesktop.org/series/112397/

Rob Clark (2):
  drm: Add fdinfo memory stats
  drm/msm: Add memory stats to fdinfo

 Documentation/gpu/drm-usage-stats.rst | 21 +++++++
 drivers/gpu/drm/drm_file.c            | 79 +++++++++++++++++++++++++++
 drivers/gpu/drm/msm/msm_drv.c         | 25 ++++++++-
 drivers/gpu/drm/msm/msm_gpu.c         |  2 -
 include/drm/drm_file.h                | 10 ++++
 5 files changed, 134 insertions(+), 3 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-13  0:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10 21:06 [PATCH v2 0/2] drm: fdinfo memory stats Rob Clark
2023-04-10 21:06 ` [PATCH v2 1/2] drm: Add " Rob Clark
2023-04-11 10:43   ` Daniel Vetter
2023-04-11 15:02     ` Rob Clark
2023-04-11 15:10       ` Daniel Vetter
2023-04-11 16:47 ` [PATCH v2 0/2] drm: " Rob Clark
2023-04-11 16:53   ` Daniel Vetter
2023-04-11 17:13     ` Rob Clark
2023-04-11 17:35       ` [Freedreno] " Dmitry Baryshkov
2023-04-11 18:26         ` Daniel Vetter
2023-04-11 22:27           ` Dmitry Baryshkov
2023-04-11 18:28         ` Rob Clark
2023-04-11 22:36           ` Dmitry Baryshkov
2023-04-12  8:11             ` Daniel Vetter
2023-04-12 12:47               ` Rodrigo Vivi
2023-04-12 20:09                 ` Rob Clark
2023-04-12 20:19                   ` Dmitry Baryshkov
2023-04-12 20:34                     ` Rob Clark
2023-04-13  0:27                       ` Dmitry Baryshkov
2023-04-12 20:23                   ` Alex Deucher

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