Commit 74d021b5 authored by Brandon Syu's avatar Brandon Syu Committed by Alex Deucher

drm/amd/display: skip avmute action

[Why]
For some monitors,
they can't display under BIOS with avmute enabled.

[How]
Add monitor patch for skip avmute action.
Signed-off-by: default avatarBrandon Syu <Brandon.Syu@amd.com>
Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent df043738
...@@ -3283,8 +3283,9 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx) ...@@ -3283,8 +3283,9 @@ void core_link_disable_stream(struct pipe_ctx *pipe_ctx)
dc_is_virtual_signal(pipe_ctx->stream->signal)) dc_is_virtual_signal(pipe_ctx->stream->signal))
return; return;
if (dc_is_hdmi_signal(pipe_ctx->stream->signal)) { if (!pipe_ctx->stream->sink->edid_caps.panel_patch.skip_avmute) {
core_link_set_avmute(pipe_ctx, true); if (dc_is_hdmi_signal(pipe_ctx->stream->signal))
core_link_set_avmute(pipe_ctx, true);
} }
#if defined(CONFIG_DRM_AMD_DC_HDCP) #if defined(CONFIG_DRM_AMD_DC_HDCP)
......
...@@ -235,6 +235,7 @@ struct dc_panel_patch { ...@@ -235,6 +235,7 @@ struct dc_panel_patch {
unsigned int disable_fec; unsigned int disable_fec;
unsigned int extra_t3_ms; unsigned int extra_t3_ms;
unsigned int max_dsc_target_bpp_limit; unsigned int max_dsc_target_bpp_limit;
unsigned int skip_avmute;
}; };
struct dc_edid_caps { struct dc_edid_caps {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment