Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Fix DP no audio issue

[why]
need to enable APG_CLOCK_ENABLE enable first
also need to wake up az from D3 before access az block

Reviewed-by: Swapnil Patel <swapnil.patel@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Charlene Liu and committed by
Alex Deucher
bf5e3969 576e032e

+4 -5
+4 -4
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
··· 1098 1098 if (dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL) 1099 1099 num_audio++; 1100 1100 } 1101 + if (num_audio >= 1 && clk_mgr->funcs->enable_pme_wa) { 1102 + /*wake AZ from D3 first before access az endpoint*/ 1103 + clk_mgr->funcs->enable_pme_wa(clk_mgr); 1104 + } 1101 1105 1102 1106 pipe_ctx->stream_res.audio->funcs->az_enable(pipe_ctx->stream_res.audio); 1103 - 1104 - if (num_audio >= 1 && clk_mgr->funcs->enable_pme_wa) 1105 - /*this is the first audio. apply the PME w/a in order to wake AZ from D3*/ 1106 - clk_mgr->funcs->enable_pme_wa(clk_mgr); 1107 1107 1108 1108 link_hwss->enable_audio_packet(pipe_ctx); 1109 1109
-1
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
··· 297 297 } 298 298 } 299 299 } 300 - 301 300 for (i = 0; i < res_pool->audio_count; i++) { 302 301 struct audio *audio = res_pool->audios[i]; 303 302