diff options
| author | Tai Man <[email protected]> | 2019-06-07 17:32:27 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-07-18 14:18:10 -0500 |
| commit | 5feb9f07a2035394ed808e266d294a9df3a8d544 (patch) | |
| tree | 60c4bde23c0a2b9d754a116893ba73b78cc9a7e7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 252f3d950d2e7c45869096aa1efc883464149b31 (diff) | |
drm/amd/display: use encoder's engine id to find matched free audio device
[Why]
On some platforms, the encoder id 3 is not populated. So the encoders
are not stored in right order as index (id: 0, 1, 2, 4, 5) at pool. This
would cause encoders id 4 & id 5 to fail when finding corresponding
audio device, defaulting to the first available audio device. As result,
we cannot stream audio into two DP ports with encoders id 4 & id 5.
[How]
It need to create enough audio device objects (0 - 5) to perform matching.
Then use encoder engine id to find matched audio device.
Signed-off-by: Tai Man <[email protected]>
Reviewed-by: Charlene Liu <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions