aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Jiang <[email protected]>2017-10-04 15:55:45 -0400
committerAlex Deucher <[email protected]>2017-10-21 16:48:40 -0400
commitabb4986eea1670922a0b89ef62688b4b649bd3c6 (patch)
tree67af4000cd67a3070872d1091436460b5033fc6c /tools/perf/scripts/python
parente66a575508b5a11df7a670265c91981e4d735749 (diff)
drm/amd/display: Fix up plane_states add/remove logic
Our plane_states array trimming logic was faulty, we should be starting to shuffle from the plane that was just released, not from the very beginning of the array. Also get rid of a leftover line that was setting the plane state at the stream index to null, leading to issues. Also move the dc_plane_state_retain call to where we reference plane_state, in case we do hit the error case where we can't get a free pipe. Signed-off-by: Andrew Jiang <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions