aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-03-08 09:36:56 +0000
committerChris Wilson <[email protected]>2019-03-08 10:57:08 +0000
commitc6eeb4797eb94ad14bb34adfccbc6addad2cfd48 (patch)
treeec32a5bc5b8c8e3ce3abfb529eb0b5b8365e4ab7 /tools/perf/scripts
parent604c37d76689d6a0e5492f5ff71886ab83817208 (diff)
drm/i915: Reduce presumption of request ordering for barriers
Currently we assume that we know the order in which requests run and so can determine if we need to reissue a switch-to-kernel-context prior to idling. That assumption does not hold for the future, so instead of tracking which barriers have been used, simply determine if we have ever switched away from the kernel context by using the engine and before idling ensure that all engines that have been used since the last idle are synchronously switched back to the kernel context for safety (and else of shrinking memory while idle). v2: Use intel_engine_mask_t and ALL_ENGINES Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions