summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vc4/Makefile
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2018-01-12 10:09:26 +0100
committerEric Anholt <eric@anholt.net>2018-02-10 23:23:26 +0100
commit65101d8c9108201118efa7e08f4e2c57f438deb9 (patch)
tree3b2097206a11dcf36622a1c64fd5fee5d3dee15e /drivers/gpu/drm/vc4/Makefile
parentdrm: Print the pid when debug logging an ioctl error. (diff)
downloadlinux-65101d8c9108201118efa7e08f4e2c57f438deb9.tar.xz
linux-65101d8c9108201118efa7e08f4e2c57f438deb9.zip
drm/vc4: Expose performance counters to userspace
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 valid on the file descriptor it has been allocated from. A performance monitor can be attached to a CL submission and the driver will enable HW counters for this request and update the performance monitor values at the end of the job. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20180112090926.12538-1-boris.brezillon@free-electrons.com
Diffstat (limited to 'drivers/gpu/drm/vc4/Makefile')
-rw-r--r--drivers/gpu/drm/vc4/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/Makefile b/drivers/gpu/drm/vc4/Makefile
index f5500df51686..4a3a868235f8 100644
--- a/drivers/gpu/drm/vc4/Makefile
+++ b/drivers/gpu/drm/vc4/Makefile
@@ -15,6 +15,7 @@ vc4-y := \
vc4_vec.o \
vc4_hvs.o \
vc4_irq.o \
+ vc4_perfmon.o \
vc4_plane.o \
vc4_render_cl.o \
vc4_trace_points.o \