drm/amd/display: Fix audio on display after unplugging another
authorAric Cyr <aric.cyr@amd.com>
Wed, 14 Sep 2022 16:54:52 +0000 (12:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2022 21:57:46 +0000 (17:57 -0400)
commit1ec5c0e1289c70c8e7dd93a988d945ad5bc3f4b1
treeb0fa504b8f3dbe1b182e30f69a05538c296831fa
parent85096a73f4dc223b5848e41ce40afc5ee913079e
drm/amd/display: Fix audio on display after unplugging another

Revert "dc: skip audio setup when audio stream is enabled"

This reverts commit 65fbfb02c2734cacffec5e3f492e1b4f1dabcf98

[why]
We have minimal pipe split transition method to avoid pipe
allocation outage.However, this method will invoke audio setup
which cause audio output stuck once pipe reallocate.

[how]
skip audio setup for pipelines which audio stream has been enabled

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c