aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-07-03 16:52:23 +0100
committerChris Wilson <[email protected]>2019-07-04 14:42:38 +0100
commit56e0f78e47e47795873acbabab443029aa30bcb4 (patch)
tree461b8e4a1d95084763c921116c74071246fc617b /tools/perf/scripts/python/event_analyzing_sample.py
parentb7dc9395c5db2748aac24704d3f2d96f34f90f07 (diff)
drm/i915/gt: Use caller provided forcewake for intel_mocs_init_engine
During post-reset resume, we call intel_mocs_init_engine to reinitialise the MOCS registers. Suprisingly, especially when enhanced by lockdep, the acquisition of the forcewake lock around each register write takes a substantial portion of the reset time. We don't need to use the individual forcewake here as we can assume that the caller is holding a blanket forcewake for the reset&resume and the resume is serialised. 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/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions