summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-03-05 10:47:28 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-03-08 08:52:53 +0200
commit5efb03ce90cc2fba3920de8fa0f04bed0476abeb (patch)
tree471a82b1a8934167bdd82742dd77483335c97334 /tools/perf/scripts/python/export-to-postgresql.py
parentf26b6af51d713227ff6fa40d013ea5bf426ec0e6 (diff)
downloadlinux-5efb03ce90cc2fba3920de8fa0f04bed0476abeb.tar.gz
linux-5efb03ce90cc2fba3920de8fa0f04bed0476abeb.zip
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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240305084730.19182-2-ville.syrjala@linux.intel.com Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions