diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-02-27 18:04:11 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-04 01:28:20 +0300 |
commit | add7d7596612bac594201da151a3ed6f8e94fc33 (patch) | |
tree | 84617de6e6ac580a1b6312c625c148fc81a2bd01 /drivers/gpu/drm/radeon/r600_hdmi.c | |
parent | ed9ed50ccc2c16690b921171c809f6f15255ac65 (diff) | |
download | linux-add7d7596612bac594201da151a3ed6f8e94fc33.tar.xz |
drm/radeon: fix the audio dpms callbacks
Don't touch the audio enable bits as these are already
handled in display detection. Enable the hdmi secondary
streams in hdmi enable to match dp. Rename dp dpms
callback to be consistent with hdmi.
bug:
https://bugs.freedesktop.org/show_bug.cgi?id=89327
https://bugzilla.kernel.org/show_bug.cgi?id=93921
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_hdmi.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_hdmi.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/radeon/r600_hdmi.c b/drivers/gpu/drm/radeon/r600_hdmi.c index 62c91ed669ce..dd6606b8e23c 100644 --- a/drivers/gpu/drm/radeon/r600_hdmi.c +++ b/drivers/gpu/drm/radeon/r600_hdmi.c @@ -476,17 +476,6 @@ void r600_hdmi_enable(struct drm_encoder *encoder, bool enable) if (!dig || !dig->afmt) return; - /* Silent, r600_hdmi_enable will raise WARN for us */ - if (enable && dig->afmt->enabled) - return; - if (!enable && !dig->afmt->enabled) - return; - - if (!enable && dig->afmt->pin) { - radeon_audio_enable(rdev, dig->afmt->pin, 0); - dig->afmt->pin = NULL; - } - /* Older chipsets require setting HDMI and routing manually */ if (!ASIC_IS_DCE3(rdev)) { if (enable) |