diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-10 16:43:51 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 16:42:17 +0100 |
commit | 6e72376dcc663e4b8a00cdd08f61a8623f572ef1 (patch) | |
tree | 35f806016c5a6277ea427d9f3ffd50b5e2ee0e65 /drivers/gpu/drm/radeon/atombios_encoders.c | |
parent | radeon/audio: removed unnecessary debug settings (diff) | |
download | linux-6e72376dcc663e4b8a00cdd08f61a8623f572ef1.tar.xz linux-6e72376dcc663e4b8a00cdd08f61a8623f572ef1.zip |
radeon/audio: consolidate audio_mode_set() functions
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_encoders.c')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_encoders.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c index b8cd7975f797..9354c99ca3c2 100644 --- a/drivers/gpu/drm/radeon/atombios_encoders.c +++ b/drivers/gpu/drm/radeon/atombios_encoders.c @@ -27,6 +27,7 @@ #include <drm/drm_crtc_helper.h> #include <drm/radeon_drm.h> #include "radeon.h" +#include "radeon_audio.h" #include "atom.h" #include <linux/backlight.h> @@ -2174,8 +2175,7 @@ radeon_atom_encoder_mode_set(struct drm_encoder *encoder, if (atombios_get_encoder_mode(encoder) == ATOM_ENCODER_MODE_HDMI) { if (rdev->asic->display.hdmi_enable) radeon_hdmi_enable(rdev, encoder, true); - if (rdev->asic->display.hdmi_setmode) - radeon_hdmi_setmode(rdev, encoder, adjusted_mode); + radeon_audio_mode_set(encoder, adjusted_mode); } } |