linux_dsm_epyc7002/drivers/gpu/drm/amd/display
Tai Man 74eda776d7 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 <taiman.wong@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-18 14:17:19 -05:00
..
amdgpu_dm drm/amd/display: Force uclk to max for every state 2019-07-18 14:11:47 -05:00
dc drm/amd/display: use encoder's engine id to find matched free audio device 2019-07-18 14:17:19 -05:00
include drm/amd/display: update DSC MST DP virtual DPCD peer device enumeration policy 2019-06-22 09:34:13 -05:00
modules Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
Kconfig drm/amd/display: Add drm_audio_component support to amdgpu_dm 2019-07-11 14:37:24 -05:00
Makefile drm/amd/display: move clk_mgr files to right place 2019-05-31 10:39:31 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00