diff options
| author | Chris Wilson <[email protected]> | 2020-03-27 11:22:12 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-03-30 18:20:34 +0100 |
| commit | d7d50f801d445f9f17221573c2eda9f7b23fb891 (patch) | |
| tree | 6ef03fad67ab2dab607bcd91ca0ce8e4a7467f8d /tools/perf/scripts/python | |
| parent | 229007e02d697b0662f85378aae53531b0dfea05 (diff) | |
drm/i915/perf: Schedule oa_config after modifying the contexts
We wish that the scheduler emit the context modification commands prior
to enabling the oa_config, for which we must explicitly inform it of the
ordering constraints. This is especially important as we now wait for
the final oa_config setup to be completed and as this wait may be on a
distinct context to the state modifications, we need that command packet
to be always last in the queue.
We borrow the i915_active for its ability to track multiple timelines
and the last dma_fence on each; a flexible dma_resv. Keeping track of
each dma_fence is important for us so that we can efficiently schedule
the requests and reprioritise as required.
Reported-by: Lionel Landwerlin <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions