summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vid.h
diff options
context:
space:
mode:
authorFlora Cui <Flora.Cui@amd.com>2016-03-03 12:59:49 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-03-03 01:00:20 -0500
commit6157bd7a1009c2a6944fb3eee8ed2b3dea091fd8 (patch)
tree8eddd832a7ee7a9c1ecce4e3dfa2450d1eaadab4 /drivers/gpu/drm/amd/amdgpu/vid.h
parent22073fe764c9ff2742c27a8c06f28ef6cd9a56e3 (diff)
drm/amdgpu: fix rb bitmap & cu bitmap calculation
Fix some copy paste typos. Signed-off-by: Flora Cui <Flora.Cui@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vid.h b/drivers/gpu/drm/amd/amdgpu/vid.h
index d98aa9d82fa1..ace49976f7be 100644
--- a/drivers/gpu/drm/amd/amdgpu/vid.h
+++ b/drivers/gpu/drm/amd/amdgpu/vid.h
@@ -71,8 +71,6 @@
#define VMID(x) ((x) << 4)
#define QUEUEID(x) ((x) << 8)
-#define RB_BITMAP_WIDTH_PER_SH 2
-
#define MC_SEQ_MISC0__MT__MASK 0xf0000000
#define MC_SEQ_MISC0__MT__GDDR1 0x10000000
#define MC_SEQ_MISC0__MT__DDR2 0x20000000