Skip to content

Commit bc37445

Browse files
committed
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c: Program audio clock correctly for FRL
Needed when FRL is the only connected display
1 parent 003a21c commit bc37445

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,8 @@ void build_audio_output(
14741474

14751475
if (state->clk_mgr &&
14761476
(pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT ||
1477-
pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST)) {
1477+
pipe_ctx->stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST ||
1478+
pipe_ctx->stream->signal == SIGNAL_TYPE_HDMI_FRL)) {
14781479
audio_output->pll_info.audio_dto_source_clock_in_khz =
14791480
state->clk_mgr->funcs->get_dp_ref_clk_frequency(
14801481
state->clk_mgr);
@@ -2442,7 +2443,7 @@ static void dce110_setup_audio_dto(
24422443

24432444
if (pipe_ctx->top_pipe)
24442445
continue;
2445-
if (pipe_ctx->stream->signal != SIGNAL_TYPE_HDMI_TYPE_A)
2446+
if (!dc_is_hdmi_signal(pipe_ctx->stream->signal))
24462447
continue;
24472448
if (pipe_ctx->stream_res.audio != NULL) {
24482449
struct audio_output audio_output;

0 commit comments

Comments
 (0)