aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2024-03-05 10:47:28 +0200
committerVille Syrjälä <[email protected]>2024-03-08 08:52:53 +0200
commit5efb03ce90cc2fba3920de8fa0f04bed0476abeb (patch)
tree471a82b1a8934167bdd82742dd77483335c97334 /tools/perf/scripts/python/task-analyzer.py
parentf26b6af51d713227ff6fa40d013ea5bf426ec0e6 (diff)
drm/i915: Precompute disable_pipes bitmask in intel_commit_modeset_disables()
Copy the pipe bitmask based approach from skl_commit_modeset_enables() into intel_commit_modeset_disables(). This avoids doing so many duplicated checks in all the loops, and also let's WARN at the end if we screwed up somewhere and forgot to disable some pipe. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Stanislav Lisovskiy <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions