aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tinydrm
diff options
context:
space:
mode:
authorEryk Brol <eryk.brol@amd.com>2019-05-08 09:08:03 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-05-31 10:39:30 -0500
commit0a32df9cfdb3f48ef77ed821f1b4a3154a234a6e (patch)
tree28f173250579d3cd926aef971250015feee6687e /drivers/gpu/drm/tinydrm
parentb1432fcbdbea5de6e4ec2e1b2fa2b3c13ade4785 (diff)
downloadlinux-0a32df9cfdb3f48ef77ed821f1b4a3154a234a6e.tar.gz
drm/amd/display: Disable audio stream only if it's currently enabled
[Why] Previously there were 2 consecutive calls being made to disable audio stream. The first one disabled the audio stream, and the second one went through and also tried to disable the audio stream causing BACO entry issues due to the ASIC appearing busy. [How] 1. Add a status field to the audio struct which stores enabled/disabled info 2. In the calls to enable/disable audio stream check if we're already in the desired state before executing the function Signed-off-by: Eryk Brol <eryk.brol@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/tinydrm')
0 files changed, 0 insertions, 0 deletions