Re: [Intel-gfx] [RFC 08/11] drm/i915: Export engine busy stats in debugfs

2017-09-15 Thread Tvrtko Ursulin
On 14/09/2017 21:17, Chris Wilson wrote: Quoting Tvrtko Ursulin (2017-09-11 16:25:56) From: Tvrtko Ursulin Export the stats added in the previous patch in debugfs. Number of active clients reading this data is tracked and the static key is only enabled whilst there are some. Userspace is in

Re: [Intel-gfx] [RFC 08/11] drm/i915: Export engine busy stats in debugfs

2017-09-14 Thread Chris Wilson
Quoting Tvrtko Ursulin (2017-09-11 16:25:56) > From: Tvrtko Ursulin > > Export the stats added in the previous patch in debugfs. > > Number of active clients reading this data is tracked and the > static key is only enabled whilst there are some. > > Userspace is intended to keep the file descr

[Intel-gfx] [RFC 08/11] drm/i915: Export engine busy stats in debugfs

2017-09-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Export the stats added in the previous patch in debugfs. Number of active clients reading this data is tracked and the static key is only enabled whilst there are some. Userspace is intended to keep the file descriptor open, seeking to the beginning of the file periodically