4

v3dv: enable multiple semaphores on cl submission

 2 years ago
source link: https://gitlab.freedesktop.org/mesa/mesa/-/commit/ff8586c3452453527ae4c4d794edcb81ad65e661
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

v3dv: enable multiple semaphores on cl submission


Whenever v3d kernel-driver supports multisync extension, use it to
enable more than one semaphores in cl submission. In CL, we have two
kind of job (bin and render), therefore, we need also to determine
the stage to sync, that means to add job dependencies/wait
semaphores.

Also, as we currently process all signal semaphores of a cmd buffer
batch together in the submit master thread (when the last wait
thread completes), there isn't now a situation in which GPU jobs
need to handle signal VkSemaphores.
Signed-off-by: Melissa Wen <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Part-of: <!13178>

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK