]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: audio cannot switch to internal when display turns off
authoryanyan kang <Yanyan.Kang@amd.com>
Mon, 29 Jul 2019 09:46:44 +0000 (17:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:57:30 +0000 (10:57 -0500)
commit30b7200c12fd2c951bcbc5bf0eefc20434917f28
tree1a78e473ed288b0b730009317cac2d4549a6146b
parente7f2c80cbaabf62966d02ba752d19c9a63f422ab
drm/amd/display: audio cannot switch to internal when display turns off

[why]
disable_az_endpoint has been skipped because
dc->debug.az_endpoint_mute_only = true.

[how]
set dc->debug.az_endpoint_mute_only false when PPLIB’s PME notification function
 pointer is not NULL at the dcn10_resource construct function,because right now
 SMU/PPLIB and DAL all have the AZ D3 force PME notification implemented. AZ D3 should work.

Signed-off-by: yanyan kang <Yanyan.Kang@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c