drm/v3d: Decouple job allocation from job initiation
authorMaíra Canal <mcanal@igalia.com>
Thu, 30 Nov 2023 16:40:29 +0000 (13:40 -0300)
committerMaíra Canal <mcanal@igalia.com>
Fri, 1 Dec 2023 12:34:15 +0000 (09:34 -0300)
commit464c61e76de851a216e667c91332172c68ffed54
tree9d2f73572d02c51908ce7e2f89e8ecb3d1a3bd29
parent6893deb881ab7da1691bd05045ffcc0c806319b9
drm/v3d: Decouple job allocation from job initiation

We want to allow the IOCTLs to allocate the job without initiating it.
This will be useful for the CPU job submission IOCTL, as the CPU job has
the need to use information from the user extensions. Currently, the
user extensions are parsed before the job allocation, making it
impossible to fill the CPU job when parsing the user extensions.
Therefore, decouple the job allocation from the job initiation.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130164420.932823-8-mcanal@igalia.com
drivers/gpu/drm/v3d/v3d_submit.c