summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vid.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-05-10 16:29:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 20:30:33 +0300
commit67b1fcc9ac3f05660809e14cf76a046fc1cc7e41 (patch)
treed93b9dca50f1fe268e5a6894cdc59ec25ac55f70 /drivers/gpu/drm/amd/amdgpu/vid.h
parent758ac17f963f3497aae4e767d3a9eb68fea71f71 (diff)
downloadlinux-67b1fcc9ac3f05660809e14cf76a046fc1cc7e41.tar.xz
drm/amdgpu/dce11: fix audio offset for asics with >7 audio pins
Missing offset in the audio offset array. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vid.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vid.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vid.h b/drivers/gpu/drm/amd/amdgpu/vid.h
index 3bf7172ede43..062ee1676480 100644
--- a/drivers/gpu/drm/amd/amdgpu/vid.h
+++ b/drivers/gpu/drm/amd/amdgpu/vid.h
@@ -54,7 +54,8 @@
#define AUD3_REGISTER_OFFSET (0x17b4 - 0x17a8)
#define AUD4_REGISTER_OFFSET (0x17b8 - 0x17a8)
#define AUD5_REGISTER_OFFSET (0x17bc - 0x17a8)
-#define AUD6_REGISTER_OFFSET (0x17c4 - 0x17a8)
+#define AUD6_REGISTER_OFFSET (0x17c0 - 0x17a8)
+#define AUD7_REGISTER_OFFSET (0x17c4 - 0x17a8)
/* hpd instance offsets */
#define HPD0_REGISTER_OFFSET (0x1898 - 0x1898)