aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2021-10-25 17:28:58 +0200
committerMaxime Ripard <[email protected]>2021-11-04 10:36:25 +0100
commit94c1adc4c1241d1cc4cf29e3da15a65ad04171c4 (patch)
tree4a8b093d3884a02b4d2f0a2c06fe2955bdd1ffbc /tools/perf/scripts/python/flamegraph.py
parentd6faf94a68ae83c565cd6df1426d3a9dc277a372 (diff)
drm/vc4: crtc: Rework the encoder retrieval code (again)
It turns out the encoder retrieval code, in addition to being unnecessarily complicated, has a bug when only the planes and crtcs are affected by a given atomic commit. Indeed, in such a case, either drm_atomic_get_old_connector_state or drm_atomic_get_new_connector_state will return NULL and thus our encoder retrieval code will not match on anything. We can however simplify the code by using drm_for_each_encoder_mask, the drm_crtc_state storing the encoders a given CRTC is connected to directly and without relying on any other state. Signed-off-by: Maxime Ripard <[email protected]> Reviewed-by: Dave Stevenson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions