Commit 3f2b24a1 authored by Fudongwang's avatar Fudongwang Committed by Alex Deucher
Browse files

drm/amd/display: Monitor patch to ignore EDID audio SAB check



[Why & How]
Some monitor have audio output but SAB data is zero. Skip
check this in this case.

Reviewed-by: default avatarCharlene Liu <charlene.liu@amd.com>
Reviewed-by: default avatarJun Lei <jun.lei@amd.com>
Signed-off-by: default avatarFudongwang <Fudong.Wang@amd.com>
Signed-off-by: default avatarIvan Lipski <ivan.lipski@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent aef3af22
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3940,7 +3940,9 @@ enum dc_status resource_map_pool_resources(
	/* TODO: Add check if ASIC support and EDID audio */
	if (!stream->converter_disable_audio &&
	    dc_is_audio_capable_signal(pipe_ctx->stream->signal) &&
	    stream->audio_info.mode_count && stream->audio_info.flags.all) {
	    stream->audio_info.mode_count &&
		(stream->audio_info.flags.all ||
		(stream->sink && stream->sink->edid_caps.panel_patch.skip_audio_sab_check))) {
		pipe_ctx->stream_res.audio = find_first_free_audio(
		&context->res_ctx, pool, pipe_ctx->stream_res.stream_enc->id, dc_ctx->dce_version);

+1 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ struct dc_panel_patch {
	unsigned int embedded_tiled_slave;
	unsigned int disable_fams;
	unsigned int skip_avmute;
	unsigned int skip_audio_sab_check;
	unsigned int mst_start_top_delay;
	unsigned int remove_sink_ext_caps;
	unsigned int disable_colorimetry;