mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00

Debugfs isn't always available in production builds that try to squeeze every single byte out of the kernel image, but we still need a way to toggle the timestamp and cycle counter registers so that jobs can be profiled for fdinfo's drm engine and cycle calculations. Drop the debugfs knob and replace it with a sysfs file that accomplishes the same functionality, and document its ABI in a separate file. Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240306015819.822128-2-adrian.larumbe@collabora.com
16 lines
293 B
Makefile
16 lines
293 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
panfrost-y := \
|
|
panfrost_drv.o \
|
|
panfrost_device.o \
|
|
panfrost_devfreq.o \
|
|
panfrost_gem.o \
|
|
panfrost_gem_shrinker.o \
|
|
panfrost_gpu.o \
|
|
panfrost_job.o \
|
|
panfrost_mmu.o \
|
|
panfrost_perfcnt.o \
|
|
panfrost_dump.o
|
|
|
|
obj-$(CONFIG_DRM_PANFROST) += panfrost.o
|