diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2015-06-06 21:47:01 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2015-07-20 09:16:49 +0300 |
commit | 3d30b28be811b0d7c0a113eab361d5e3029d6da4 (patch) | |
tree | 3435a04e4cba844b39c0dd191f958a17310efccf /drivers/gpu/drm/amd/amdkfd/cik_regs.h | |
parent | d7b8f73ea03923dbf7c61093743b9eb1842fa8d7 (diff) | |
download | op-kernel-dev-3d30b28be811b0d7c0a113eab361d5e3029d6da4.zip op-kernel-dev-3d30b28be811b0d7c0a113eab361d5e3029d6da4.tar.gz |
drm/amdkfd: Use generic defines in new amd headers
This patch makes use of the new amd headers (that are part of the new
amdgpu driver), instead of private defines.
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/cik_regs.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/cik_regs.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/cik_regs.h b/drivers/gpu/drm/amd/amdkfd/cik_regs.h index 183be5b..48769d1 100644 --- a/drivers/gpu/drm/amd/amdkfd/cik_regs.h +++ b/drivers/gpu/drm/amd/amdkfd/cik_regs.h @@ -65,17 +65,6 @@ #define AQL_ENABLE 1 -#define SDMA_RB_VMID(x) (x << 24) -#define SDMA_RB_ENABLE (1 << 0) -#define SDMA_RB_SIZE(x) ((x) << 1) /* log2 */ -#define SDMA_RPTR_WRITEBACK_ENABLE (1 << 12) -#define SDMA_RPTR_WRITEBACK_TIMER(x) ((x) << 16) /* log2 */ -#define SDMA_OFFSET(x) (x << 0) -#define SDMA_DB_ENABLE (1 << 28) -#define SDMA_ATC (1 << 0) -#define SDMA_VA_PTR32 (1 << 4) -#define SDMA_VA_SHARED_BASE(x) (x << 8) - #define GRBM_GFX_INDEX 0x30800 #define ATC_VMID_PASID_MAPPING_VALID (1U << 31) |