diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-08 16:25:37 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 10:42:12 -0500 |
commit | be273e58f00f75c750fd0ece8f0d7c3cfb36c88e (patch) | |
tree | e9cacd95a4ae8e85897cfa91c9019fba993f0f39 /drivers/gpu/drm/radeon/dce3_1_afmt.c | |
parent | 930a9785120d7397ba8912e1a4f72b65e7e25f25 (diff) | |
download | lwn-be273e58f00f75c750fd0ece8f0d7c3cfb36c88e.tar.gz lwn-be273e58f00f75c750fd0ece8f0d7c3cfb36c88e.zip |
radeon: moved HDMI color depth programming to a separate function
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/dce3_1_afmt.c')
-rw-r--r-- | drivers/gpu/drm/radeon/dce3_1_afmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/dce3_1_afmt.c b/drivers/gpu/drm/radeon/dce3_1_afmt.c index f07d7b689e49..c5f8d5d449e8 100644 --- a/drivers/gpu/drm/radeon/dce3_1_afmt.c +++ b/drivers/gpu/drm/radeon/dce3_1_afmt.c @@ -230,6 +230,8 @@ void dce3_1_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *m WREG32(HDMI0_AUDIO_CRC_CONTROL + offset, 0x1000); + radeon_hdmi_set_color_depth(encoder); + if (ASIC_IS_DCE32(rdev)) { WREG32(HDMI0_AUDIO_PACKET_CONTROL + offset, HDMI0_AUDIO_DELAY_EN(1) | /* default audio delay */ |