mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
anv: fix broken utrace
The non-compute end flag should be INTEL_DS_TRACEPOINT_FLAG_END_OF_PIPE.
This fixes the broken anv utrace for anything non-compute that can
potentially overlap (execute in parallel).
Fixes: 6281b207db ("anv: add tracepoints timestamp mode for empty dispatches")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37155>
This commit is contained in:
parent
5736280730
commit
c0e51bcf24
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ anv_utrace_record_ts(struct u_trace *ut, void *cs,
|
|||
ANV_TIMESTAMP_REWRITE_COMPUTE_WALKER) :
|
||||
ANV_TIMESTAMP_CAPTURE_END_OF_PIPE;
|
||||
} else {
|
||||
capture_type = (flags & INTEL_DS_TRACEPOINT_FLAG_END_CS) ?
|
||||
capture_type = (flags & INTEL_DS_TRACEPOINT_FLAG_END_OF_PIPE) ?
|
||||
ANV_TIMESTAMP_CAPTURE_END_OF_PIPE :
|
||||
ANV_TIMESTAMP_CAPTURE_TOP_OF_PIPE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue