mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/v3d: Skip perfmon serialization while a global perfmon is set
A global perfmon counts concurrent activity from every job, so no dependency is added while one is set. Skip the accumulator for the jobs carrying no perfmon while a global perfmon is enabled, which is every job in the common case. Jobs carrying their own perfmon stay tracked. The global perfmon may be cleared before such a job runs, and the next job carrying a perfmon has to wait for it, otherwise both are in flight at once and only one gets programmed in the HW. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Link: https://patch.msgid.link/20260922-v3d-quick-exit-perfmon-serialize-v2-2-2a8021dc32f2@igalia.com Signed-off-by: Maíra Canal <mcanal@igalia.com>
This commit is contained in:
parent
537684e232
commit
6e375de99d
2 changed files with 10 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue