mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

This commit introduces a DRM device sysfs attribute that lets UM control the job accounting status in the device. The knob variable had been brought in as part of a previous commit, but now we're able to fix it manually. As sysfs files are part of a driver's uAPI, describe its legitimate input values and output format in a documentation file. Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240923230912.2207320-6-adrian.larumbe@collabora.com
10 lines
402 B
Text
10 lines
402 B
Text
What: /sys/bus/platform/drivers/panthor/.../profiling
|
|
Date: September 2024
|
|
KernelVersion: 6.11.0
|
|
Contact: Adrian Larumbe <adrian.larumbe@collabora.com>
|
|
Description:
|
|
Bitmask to enable drm fdinfo's job profiling measurements.
|
|
Valid values are:
|
|
0: Don't enable fdinfo job profiling sources.
|
|
1: Enable GPU cycle measurements for running jobs.
|
|
2: Enable GPU timestamp sampling for running jobs.
|