mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
65101d8c91
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
29 lines
467 B
Makefile
29 lines
467 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Please keep these build lists sorted!
|
|
|
|
# core driver code
|
|
vc4-y := \
|
|
vc4_bo.o \
|
|
vc4_crtc.o \
|
|
vc4_drv.o \
|
|
vc4_dpi.o \
|
|
vc4_dsi.o \
|
|
vc4_fence.o \
|
|
vc4_kms.o \
|
|
vc4_gem.o \
|
|
vc4_hdmi.o \
|
|
vc4_vec.o \
|
|
vc4_hvs.o \
|
|
vc4_irq.o \
|
|
vc4_perfmon.o \
|
|
vc4_plane.o \
|
|
vc4_render_cl.o \
|
|
vc4_trace_points.o \
|
|
vc4_v3d.o \
|
|
vc4_validate.o \
|
|
vc4_validate_shaders.o
|
|
|
|
vc4-$(CONFIG_DEBUG_FS) += vc4_debugfs.o
|
|
|
|
obj-$(CONFIG_DRM_VC4) += vc4.o
|