drm/amd/display: Fix DP audio regression
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 1 Mar 2019 19:28:19 +0000 (14:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Mar 2019 04:39:48 +0000 (23:39 -0500)
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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c

index 6b24ddd57a4e480ab2aa6047dc675f7e370b5b31..e5a3c47c72a2685aa191aac21dfd0e043d9a83d1 100644 (file)
@@ -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);
        }
 }