]> Gentwo Git Trees - linux/.git/commit
drm/v3d: Store the active job inside the queue's state
authorMaíra Canal <mcanal@igalia.com>
Tue, 26 Aug 2025 14:18:59 +0000 (11:18 -0300)
committerMaíra Canal <mcanal@igalia.com>
Fri, 29 Aug 2025 13:28:10 +0000 (10:28 -0300)
commit0d3768826d38c0ac740f8b45cd13346630535f2b
tree4c11fd2910ec1e1d7339184015d9b0f83e54dcb7
parente5e3d7bff7645d2577c56ccc8b110b9b6978aa08
drm/v3d: Store the active job inside the queue's state

Instead of storing the queue's active job in four different variables,
store the active job inside the queue's state. This way, it's possible
to access all active jobs using an index based in `enum v3d_queue`.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Link: https://lore.kernel.org/r/20250826-v3d-queue-lock-v3-2-979efc43e490@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/v3d/v3d_irq.c
drivers/gpu/drm/v3d/v3d_sched.c