diff options
| author | Ville Syrjälä <[email protected]> | 2024-03-05 10:47:28 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2024-03-08 08:52:53 +0200 |
| commit | 5efb03ce90cc2fba3920de8fa0f04bed0476abeb (patch) | |
| tree | 471a82b1a8934167bdd82742dd77483335c97334 /tools/perf/scripts/python/netdev-times.py | |
| parent | f26b6af51d713227ff6fa40d013ea5bf426ec0e6 (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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions