linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] drm: Add comm/cmdline fdinfo fields
@ 2023-04-17 20:12 Rob Clark
  2023-04-17 20:12 ` [RFC 1/3] drm/doc: Relax fdinfo string constraints Rob Clark
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Rob Clark @ 2023-04-17 20:12 UTC (permalink / raw)
  To: dri-devel
  Cc: Tvrtko Ursulin, Rob Clark, Akhil P Oommen, Chia-I Wu,
	Dmitry Baryshkov, open list:DRM DRIVER FOR MSM ADRENO GPU,
	Konrad Dybcio, open list:DRM DRIVER FOR MSM ADRENO GPU,
	open list:DOCUMENTATION, open list, Sean Paul

From: Rob Clark <robdclark@chromium.org>

When many of the things using the GPU are processes in a VM guest, the
actual client process is just a proxy.  The msm driver has a way to let
the proxy tell the kernel the actual VM client process's executable name
and command-line, which has until now been used simply for GPU crash
devcore dumps.  Lets also expose this via fdinfo so that tools can
expose who the actual user of the GPU is.

Rob Clark (3):
  drm/doc: Relax fdinfo string constraints
  drm/msm: Rework get_comm_cmdline() helper
  drm/msm: Add comm/cmdline fields

 Documentation/gpu/drm-usage-stats.rst   | 37 +++++++++++++++----------
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  4 +--
 drivers/gpu/drm/msm/msm_drv.c           |  2 ++
 drivers/gpu/drm/msm/msm_gpu.c           | 27 +++++++++++++-----
 drivers/gpu/drm/msm/msm_gpu.h           | 12 ++++++--
 drivers/gpu/drm/msm/msm_submitqueue.c   |  1 +
 6 files changed, 58 insertions(+), 25 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-04-19 15:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-17 20:12 [RFC 0/3] drm: Add comm/cmdline fdinfo fields Rob Clark
2023-04-17 20:12 ` [RFC 1/3] drm/doc: Relax fdinfo string constraints Rob Clark
2023-04-18  8:19   ` Tvrtko Ursulin
2023-04-17 20:12 ` [RFC 3/3] drm/msm: Add comm/cmdline fields Rob Clark
2023-04-18  8:53   ` Tvrtko Ursulin
2023-04-18 14:56     ` Rob Clark
2023-04-19 13:36       ` Tvrtko Ursulin
2023-04-19 15:00         ` Rob Clark
2023-04-17 20:45 ` [RFC 0/3] drm: Add comm/cmdline fdinfo fields Rob Clark
2023-04-18  9:33 ` Konrad Dybcio

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