]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panthor: assign unique names to queues
authorChia-I Wu <olvaffe@gmail.com>
Tue, 2 Sep 2025 20:06:24 +0000 (13:06 -0700)
committerSteven Price <steven.price@arm.com>
Thu, 11 Sep 2025 09:39:42 +0000 (10:39 +0100)
commitd2624d90a0b776db468e889cb079ff1d3edaccf3
tree827686436411b3dc8fffcd58b99fa01b7e43a955
parent91494dee1091a14d91da6bcb39e12a907765c793
drm/panthor: assign unique names to queues

Userspace relies on the ring field of gpu_scheduler tracepoints to
identify a drm_gpu_scheduler.  The value of the ring field is taken from
sched->name.

Because we typically have multiple schedulers running in parallel in
each process, assign unique names to schedulers such that userspace can
distinguish them.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250902200624.428175-1-olvaffe@gmail.com
drivers/gpu/drm/panthor/panthor_drv.c
drivers/gpu/drm/panthor/panthor_sched.c
drivers/gpu/drm/panthor/panthor_sched.h