aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2018-09-12 16:29:30 +0100
committerTvrtko Ursulin <[email protected]>2018-09-13 09:41:12 +0100
commit722f3de39e03fe123243ef24049fcdd5491f8da3 (patch)
tree28591ae7e11f9b76b399d93fe796b735275d6c19 /tools/perf/scripts/python/export-to-postgresql.py
parentfce8d235e2ef733d00f3c94e8b23e274d61397be (diff)
i915/oa: Simplify updating contexts
We can remove the update-via-batch-buffer code path, which is basically an effective duplicate of update-via-context-image path, if we notice that after we have idled the GPU, we can update the context image even of the kernel context directly. (Update-via-batch-buffer path existed only to solve the problem of how to update the kernel context image.) Only additional thing needed is to activate the edited configuration by sending one empty request down the pipe. This accomplishes context restore of the updated kernel context and so the OA configuration gets written out to it's control registers. Signed-off-by: Tvrtko Ursulin <[email protected]> Cc: Lionel Landwerlin <[email protected]> Cc: Matthew Auld <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions