On Tue, Jun 18, 2019 at 2:16 AM Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> wrote: > > Hello, > > This a new version of the panfrost perfcnt series, this time exposing > this functionality through 2 ioctls instead of the debugfs approach > used in v2. > > I also went for Emil's suggestion to expose those ioctls only when > the unstable_iocts unsafe param is set to true. This way, I hope we'll > be able to deprecate those ioctls when the generic solution to expose > global perf counters is out. > > Also addressed the problems reported by Rob and Steven. > > Regards, > > Boris > > Changes in v4: > * Fix a warning reported by kbuild bots > * Add R-b/A-b > * Use drm_gem_shmem_v[un]map() instead of drm_gem_v[un]map() > > Changes in v3: > * Expose things through ioctls instead of debugfs (needed for > per-FD address space that is being worked on by Rob) > > Changes in v2: > * Complete rewrite to expose things through debugfs > > Boris Brezillon (4): > drm/panfrost: Move gpu_{write,read}() macros to panfrost_regs.h > drm/panfrost: Add a module parameter to expose unstable ioctls > drm/panfrost: Add an helper to check the GPU generation > drm/panfrost: Expose performance counters through unstable ioctls Series applied. Rob _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel