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

drm/amd/display: allow edp updates for virtual signal

[Why]
When IGT's kms_hdmi_inject forces EDID for HDMI audio, dc rejects the
request because virtual signal is not in dc_is_audio_capable_signal
function.

[How]
Includes SIGNAL_TYPE_VIRTUAL as audio capable.

Reviewed-by: Chao-kai Wang <Stylon.Wang@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wenchieh Chien <wenchieh.chien@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Alex Hung and committed by
Alex Deucher
3fb7efd6 f11aee97

+1
+1
drivers/gpu/drm/amd/display/include/signal_types.h
··· 104 104 { 105 105 return (signal == SIGNAL_TYPE_DISPLAY_PORT || 106 106 signal == SIGNAL_TYPE_DISPLAY_PORT_MST || 107 + signal == SIGNAL_TYPE_VIRTUAL || 107 108 dc_is_hdmi_signal(signal)); 108 109 } 109 110