diff options
author | Ville Syrjälä <[email protected]> | 2017-11-17 21:19:08 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2018-01-15 16:44:51 +0200 |
commit | d87ce76402950b8e4d5117276d44465658e886a4 (patch) | |
tree | 5bab761e072c908191d3aea47126ec8ed7335f34 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a8750ddca918032d6349adbf9a4b6555e7db20da (diff) |
drm/i915: Add .get_hw_state() method for planes
Add a .get_hw_state() method for planes, returning true or false
depending on whether the plane is enabled. Use it to rewrite the
plane enabled/disabled asserts in platform agnostic fashion.
We do lose the pre-gen4 plane<->pipe mapping checks, but since we're
supposed sanitize that anyway it doesn't really matter.
v2: Reoder patches to not depend on enum old_plane_id
Just call assert_plane_disabled() from assert_planes_disabled()
v3: Deal with disabled power wells in .get_hw_state()
v4: Rebase due skl primary plane code removal
Cc: Thierry Reding <[email protected]>
Cc: Alex Villacís Lasso <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]> #v2
Tested-by: Thierry Reding <[email protected]> #v2
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
(cherry picked from commit 51f5a096398433a881e845d3685a2c1dac756019)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions