]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/v3d: Create a CPU job extension for the copy performance query job
authorMaíra Canal <mcanal@igalia.com>
Thu, 30 Nov 2023 16:40:40 +0000 (13:40 -0300)
committerMaíra Canal <mcanal@igalia.com>
Fri, 1 Dec 2023 12:47:36 +0000 (09:47 -0300)
commit209e8d2695ee7a67a5b0487bbd1aa75e290d0f41
tree0fae1c2818096ad43ae26a4794ac2c982468037c
parentbae7cb5d68001a8d4ceec5964dda74bb9aab7220
drm/v3d: Create a CPU job extension for the copy performance query job

A CPU job is a type of job that performs operations that requires CPU
intervention. A copy performance query job is a job that copy the complete
or partial result of a query to a buffer. In order to copy the result of
a performance query to a buffer, we need to get the values from the
performance monitors.

So, create a user extension for the CPU job that enables the creation
of a copy performance query job. This user extension will allow the creation
of a CPU job that copy the results of a performance query to a BO with the
possibility to indicate the availability with a availability bit.

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-19-mcanal@igalia.com
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_sched.c
drivers/gpu/drm/v3d/v3d_submit.c
include/uapi/drm/v3d_drm.h