linux_dsm_epyc7002/drivers/gpu/drm/amd
Eryk Brol 0a32df9cfd 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>
2019-05-31 10:39:30 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu:Fix the unpin warning about csb buffer 2019-05-31 10:39:29 -05:00
amdkfd Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-05-31 10:04:39 +10:00
display drm/amd/display: Disable audio stream only if it's currently enabled 2019-05-31 10:39:30 -05:00
include drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd 2019-05-24 12:21:01 -05:00
powerplay Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-05-31 10:04:39 +10:00