Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: handle active dongle port type is DP++ or DP case

[Why]:
Some active dongles have DP++ port and DP port at the same time. Current
code doesn't cover DP++ case and processes as default DVI case, in which
audio is disabled. Because of dual mode, DP case is also treat as DVI case
for the other port.

[How]:
According DP 1.4 spec, add DP++ procedure similar with HDMI case. Also
add None dongle type for DP case.

Signed-off-by: Dale Zhao <dale.zhao@amd.com>
Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dale Zhao and committed by
Alex Deucher
7a83645a 21ffcc94

+21 -11
+1 -1
drivers/gpu/drm/amd/display/include/dpcd_defs.h
··· 43 43 enum dpcd_downstream_port_type { 44 44 DOWNSTREAM_DP = 0, 45 45 DOWNSTREAM_VGA, 46 - DOWNSTREAM_DVI_HDMI, 46 + DOWNSTREAM_DVI_HDMI_DP_PLUS_PLUS,/* DVI, HDMI, DP++ */ 47 47 DOWNSTREAM_NONDDC /* has no EDID (TV,CV) */ 48 48 }; 49 49