aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-04-26 10:02:55 -0600
committerAlex Deucher <[email protected]>2024-05-02 16:18:18 -0400
commitecda00059b14b95a5b84f3efc1c1f341e1fd7dbc (patch)
tree7fea19824eec1d21b6eca117d64686a8cc29caf8 /tools/perf/scripts/python/bin
parent9d25ac51f5bc952a4454bad9c0d0ca09c3827003 (diff)
drm/amd/display: Skip plane when not found by stream id
[Why & How] dml_stream_idx will be -1 when it is not found. Check and skip in such a case as -1 is not a valid array index. This fixes a NEGATIVE_RETURNS issue reported by Coverity. Reviewed-by: Harry Wentland <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions