Skip to content

Commit 3fb7efd

Browse files
Alex Hungalexdeucher
authored andcommitted
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>
1 parent f11aee9 commit 3fb7efd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/amd/display/include/signal_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ static inline bool dc_is_audio_capable_signal(enum signal_type signal)
104104
{
105105
return (signal == SIGNAL_TYPE_DISPLAY_PORT ||
106106
signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
107+
signal == SIGNAL_TYPE_VIRTUAL ||
107108
dc_is_hdmi_signal(signal));
108109
}
109110

0 commit comments

Comments
 (0)