-
- Downloads
drm/v3d: Create a CPU job extension for a indirect CSD job
A CPU job is a type of job that performs operations that requires CPU intervention. An indirect CSD job is a job that, when executed in the queue, will map the indirect buffer, read the dispatch parameters, and submit a regular dispatch. Therefore, it is a job that needs CPU intervention. So, create a user extension for the CPU job that enables the creation of an indirect CSD. This user extension will allow the creation of a CSD job linked to a CPU job. The CPU job will wait for the indirect CSD job dependencies and, once they are signaled, it will update the CSD job parameters. Co-developed-by:Melissa Wen <mwen@igalia.com> Signed-off-by:
Melissa Wen <mwen@igalia.com> 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-14-mcanal@igalia.com
Showing
- drivers/gpu/drm/v3d/v3d_drv.h 30 additions, 1 deletiondrivers/gpu/drm/v3d/v3d_drv.h
- drivers/gpu/drm/v3d/v3d_sched.c 40 additions, 1 deletiondrivers/gpu/drm/v3d/v3d_sched.c
- drivers/gpu/drm/v3d/v3d_submit.c 102 additions, 2 deletionsdrivers/gpu/drm/v3d/v3d_submit.c
- include/uapi/drm/v3d_drm.h 41 additions, 2 deletionsinclude/uapi/drm/v3d_drm.h
Please register or sign in to comment