-
- Downloads
drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfs
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
Showing
- Documentation/ABI/testing/sysfs-driver-panfrost-profiling 10 additions, 0 deletionsDocumentation/ABI/testing/sysfs-driver-panfrost-profiling
- Documentation/gpu/panfrost.rst 9 additions, 0 deletionsDocumentation/gpu/panfrost.rst
- drivers/gpu/drm/panfrost/Makefile 0 additions, 2 deletionsdrivers/gpu/drm/panfrost/Makefile
- drivers/gpu/drm/panfrost/panfrost_debugfs.c 0 additions, 21 deletionsdrivers/gpu/drm/panfrost/panfrost_debugfs.c
- drivers/gpu/drm/panfrost/panfrost_debugfs.h 0 additions, 14 deletionsdrivers/gpu/drm/panfrost/panfrost_debugfs.h
- drivers/gpu/drm/panfrost/panfrost_device.h 1 addition, 1 deletiondrivers/gpu/drm/panfrost/panfrost_device.h
- drivers/gpu/drm/panfrost/panfrost_drv.c 35 additions, 5 deletionsdrivers/gpu/drm/panfrost/panfrost_drv.c
- drivers/gpu/drm/panfrost/panfrost_job.c 1 addition, 1 deletiondrivers/gpu/drm/panfrost/panfrost_job.c
Loading