]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panthor: add sysfs knob for enabling job profiling
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Mon, 23 Sep 2024 23:06:25 +0000 (00:06 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 2 Oct 2024 08:55:17 +0000 (10:55 +0200)
commit6a797bdfde77041a0a9711082d7919162d1d7061
tree3884193f7edb4b01248ea4ae56472797b4ea969a
parent064bb57479b7473ef8415cd629cbfac8db67b751
drm/panthor: add sysfs knob for enabling job profiling

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
Documentation/ABI/testing/sysfs-driver-panthor-profiling [new file with mode: 0644]
Documentation/gpu/panthor.rst [new file with mode: 0644]
drivers/gpu/drm/panthor/panthor_drv.c