mirror_ubuntu-kernels/drivers/gpu/drm/amd
Dale Zhao 36c9137b1a drm/amd/display: Add audio support for DFP type of active branch is DP case
[Why]
Per DP spec, for active protocol convertor adaptor, DP source should enable audio
for DFP type is DP, HDMI or DP++. Current is_dp_active_dongle() checking is not
precise, which treat branch device default as active dongle. As a result, we will
mistakenly disable audio for DFP type is DP case.

[How]
Make is_dp_active_dongle() checking more precise for active dongle types.
Rename active diongle type as SST branch device in case confusion.

Signed-off-by: Dale Zhao <dale.zhao@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-10 18:06:44 -04:00
..
acp
amdgpu drm/amdgpu: force enable gfx ras for vega20 ws 2021-05-10 18:06:44 -04:00
amdkfd drm/amdkfd: Make svm_migrate_put_sys_page static 2021-05-10 18:06:44 -04:00
display drm/amd/display: Add audio support for DFP type of active branch is DP case 2021-05-10 18:06:44 -04:00
include drm/amdgpu: only harvest gcea/mmea error status in arcturus 2021-04-20 21:35:45 -04:00
pm drm/amd/pm/powerplay/hwmgr: Fix kernel-doc syntax in documentation 2021-05-10 18:06:42 -04:00