summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-08-03 17:39:26 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-08-10 14:05:20 -0400
commit3a8a6ab4a59fdc812fe020d97726ff925b341ec8 (patch)
tree516b90a26608a4c555951e984fd59d979db2a699 /drivers/gpu
parent61cb8cef526d238de2ff278d9e562a6239d8f98a (diff)
downloadop-kernel-dev-3a8a6ab4a59fdc812fe020d97726ff925b341ec8.zip
op-kernel-dev-3a8a6ab4a59fdc812fe020d97726ff925b341ec8.tar.gz
drm/amdgpu: remove unused VM defines
Not used for a long time. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 5a4af87..3b7330c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -829,8 +829,6 @@ struct amdgpu_ring {
/* PTBs (Page Table Blocks) need to be aligned to 32K */
#define AMDGPU_VM_PTB_ALIGN_SIZE 32768
-#define AMDGPU_VM_PTB_ALIGN_MASK (AMDGPU_VM_PTB_ALIGN_SIZE - 1)
-#define AMDGPU_VM_PTB_ALIGN(a) (((a) + AMDGPU_VM_PTB_ALIGN_MASK) & ~AMDGPU_VM_PTB_ALIGN_MASK)
#define AMDGPU_PTE_VALID (1 << 0)
#define AMDGPU_PTE_SYSTEM (1 << 1)
OpenPOWER on IntegriCloud