aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNoah Abradjian <[email protected]>2019-11-22 11:47:52 -0500
committerAlex Deucher <[email protected]>2019-12-18 16:09:08 -0500
commit0120e8b8451c6a0fdc564ba9b30d75fd6995bbc4 (patch)
tree3d223eeb7c4a87ac2c0a205ceca712b6b825101f /tools/perf/scripts/python/exported-sql-viewer.py
parentded6119e825aaf0bfc7f2a578b549d610da852a7 (diff)
drm/amd/display: Use pipe_count for num of opps
[Why] There is one opp per pipe. For certain RN parts, the fourth pipe is disabled, so there is no opp for it. res_cap->num_opp is hardcoded to 4, so if we use that to iterate over opps we will crash. [How] Use the pipe_count value instead, which is not hardcoded and so will have the correct number. Signed-off-by: Noah Abradjian <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions