On Fr, 2022-11-11 at 15:58 +0000, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > Rudimentary vendor agnostic example of how lib_igt_drm_clients can be used > to display a sorted by card and usage list of processes using GPUs. > > Borrows a bit of code from intel_gpu_top but for now omits the fancy > features like interactive functionality, card selection, client > aggregation, sort modes, JSON output and pretty engine names. Also no > support for global GPU or system metrics. > > On the other hand it shows clients from all DRM cards which > intel_gpu_top does not do. > > Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > Cc: Rob Clark <robdclark@xxxxxxxxxxxx> > Cc: Christian König <ckoenig.leichtzumerken@xxxxxxxxx> > Acked-by: Christian König <christian.koenig@xxxxxxx> Tested-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> on etnaviv with [1]. [1] https://lore.kernel.org/dri-devel/20220916151205.165687-3-l.stach@xxxxxxxxxxxxxx/ regards Philipp