]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panfrost: Display list of device JM contexts over debugfs
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 17 Sep 2025 19:18:40 +0000 (20:18 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 18 Sep 2025 13:10:14 +0000 (14:10 +0100)
commitd41c79838c47bc822534cd53628fe5e0f8ad2424
treed7c4651a2d0d580666b4e79a2da866cec7610906
parenta017f7b86051444bf179dfc715a02a4dc0d1b957
drm/panfrost: Display list of device JM contexts over debugfs

For DebugFS builds, create a filesystem knob that, for every single open
file of the Panfrost DRM device, shows its command name information and
PID (when applicable), and all of its existing JM contexts.

For every context, show the DRM scheduler priority value of all of its
scheduling entities.

Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250917191859.500279-5-adrian.larumbe@collabora.com
drivers/gpu/drm/panfrost/panfrost_drv.c