[PATCH 15/17] cgroup/drm: Expose GPU utilisation

Tejun Heo tj at kernel.org
Fri Jul 21 22:20:18 UTC 2023


On Fri, Jul 21, 2023 at 12:19:32PM -1000, Tejun Heo wrote:
> On Wed, Jul 12, 2023 at 12:46:03PM +0100, Tvrtko Ursulin wrote:
> > +  drm.active_us
> > +	GPU time used by the group recursively including all child groups.
> 
> Maybe instead add drm.stat and have "usage_usec" inside? That'd be more
> consistent with cpu side.

Also, shouldn't this be keyed by the drm device?

-- 
tejun


More information about the dri-devel mailing list