aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch
new file mode 100644
index 00000000..8b2375a6
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1639-drm-amd-display-Fix-DP-audio-regression.patch
@@ -0,0 +1,34 @@
+From 43ff1d710109d1fed77be03544c1cc39e20a4728 Mon Sep 17 00:00:00 2001
+From: Wesley Chalmers <Wesley.Chalmers@amd.com>
+Date: Fri, 1 Mar 2019 14:28:19 -0500
+Subject: [PATCH 1639/2940] drm/amd/display: Fix DP audio regression
+
+Audio was unmuted for HDMI only, need to do so for DP as well.
+
+Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
+Reviewed-by: Chris Park <Chris.Park@amd.com>
+Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
+Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+index 1f09543b6d0e..17feafb235eb 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+@@ -974,9 +974,8 @@ void dce110_enable_audio_stream(struct pipe_ctx *pipe_ctx)
+ set_pme_wa_enable_by_version(core_dc);
+ /* un-mute audio */
+ /* TODO: audio should be per stream rather than per link */
+- if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal))
+- pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control(
+- pipe_ctx->stream_res.stream_enc, false);
++ pipe_ctx->stream_res.stream_enc->funcs->audio_mute_control(
++ pipe_ctx->stream_res.stream_enc, false);
+ }
+ }
+
+--
+2.17.1
+