Re: [PATCH v3] drm/vc4: Expose performance counters to userspace

2018-02-11 Thread Eric Anholt
Boris Brezillon writes: > The V3D engine has various hardware counters which might be interesting > to userspace performance analysis tools. > > Expose new ioctls to create/destroy a performance monitor object and > query the counter values of this perfmance monitor. > > Note that a perfomance mo

[PATCH v3] drm/vc4: Expose performance counters to userspace

2018-01-12 Thread Boris Brezillon
The V3D engine has various hardware counters which might be interesting to userspace performance analysis tools. Expose new ioctls to create/destroy a performance monitor object and query the counter values of this perfmance monitor. Note that a perfomance monitor is given an ID that is only vali