Re: [Intel-gfx] [RFC 3/6] drm/i915: Expose list of clients in sysfs

2019-05-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-05-10 14:22:37) > From: Tvrtko Ursulin > > Expose a list of clients with open file handles in sysfs. > > This will be a basis for a top-like utility showing per-client and per- > engine GPU load. > > Currently we only expose each client's pid and name under opaque n

[Intel-gfx] [RFC 3/6] drm/i915: Expose list of clients in sysfs

2019-05-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Expose a list of clients with open file handles in sysfs. This will be a basis for a top-like utility showing per-client and per- engine GPU load. Currently we only expose each client's pid and name under opaque numbered directories in /sys/class/drm/card0/clients/. For in