linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amdgpu: fix unload driver fail 2019-05-28 14:43:34 -05:00
dc drm/amd/display: Disable audio stream only if it's currently enabled 2019-05-31 10:39:30 -05:00
include drm/amd/display: make clk mgr soc specific 2019-05-31 10:39:29 -05:00
modules drm/amd/display: Don't use ROM for output TF if GAMMA_CS_TFM_1D 2019-05-31 10:39:29 -05:00
Kconfig Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-05-31 10:04:39 +10:00
Makefile drm/amd/display: Load DMCU IRAM 2018-11-26 15:47:53 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00