summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/sid.h
diff options
context:
space:
mode:
authorSlava Grigorev <slava.grigorev@amd.com>2015-12-17 11:09:58 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-12-18 17:29:46 -0500
commitac4a9350abddc51ccb897abf0d9f3fd592b97e0b (patch)
tree8daaa6a5e98278a6da1656a728a1fa2510c150fb /drivers/gpu/drm/radeon/sid.h
parentee1782c3f27fec5462363af48f27811b049155ab (diff)
downloadop-kernel-dev-ac4a9350abddc51ccb897abf0d9f3fd592b97e0b.zip
op-kernel-dev-ac4a9350abddc51ccb897abf0d9f3fd592b97e0b.tar.gz
drm/radeon: Fix "slow" audio over DP on DCE8+
DP audio is derived from the dfs clock. Signed-off-by: Slava Grigorev <slava.grigorev@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/sid.h')
-rw-r--r--drivers/gpu/drm/radeon/sid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sid.h b/drivers/gpu/drm/radeon/sid.h
index 4c4a721..d1a7b58 100644
--- a/drivers/gpu/drm/radeon/sid.h
+++ b/drivers/gpu/drm/radeon/sid.h
@@ -915,6 +915,11 @@
#define DCCG_AUDIO_DTO1_PHASE 0x05c0
#define DCCG_AUDIO_DTO1_MODULE 0x05c4
+#define DENTIST_DISPCLK_CNTL 0x0490
+# define DENTIST_DPREFCLK_WDIVIDER(x) (((x) & 0x7f) << 24)
+# define DENTIST_DPREFCLK_WDIVIDER_MASK (0x7f << 24)
+# define DENTIST_DPREFCLK_WDIVIDER_SHIFT 24
+
#define AFMT_AUDIO_SRC_CONTROL 0x713c
#define AFMT_AUDIO_SRC_SELECT(x) (((x) & 7) << 0)
/* AFMT_AUDIO_SRC_SELECT
OpenPOWER on IntegriCloud