diff options
| author | 2019-11-22 16:07:24 -0500 | |
|---|---|---|
| committer | 2019-12-18 16:09:08 -0500 | |
| commit | b9f1246df179522bc28fda50b720553c845863db (patch) | |
| tree | 1945d5590926cde83bba5ddb7fac2dd49839656c /tools/perf/scripts/python/bin | |
| parent | drm/amd/display: update chroma viewport wa (diff) | |
drm/amd/display: Collapse resource arrays when pipe is disabled
[Why]
Currently, pipe resources are assigned to an index that matches the pipe position.
However, if pipe 1 or 2 is disabled, there will be a gap in the arrays which causes a crash when iterating based on pipe_count.
[How]
Fix resource construct to assign resources to minimum available array index.
Signed-off-by: Noah Abradjian <noah.abradjian@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
