]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/amdgpu: remove unused VM defines
authorChristian König <christian.koenig@amd.com>
Wed, 3 Aug 2016 15:39:26 +0000 (17:39 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2016 18:05:20 +0000 (14:05 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h

index 5a4af87bb209687c9a26fe63f599b607922603db..3b7330c3825f939b1570a7a0fab72d1ec7b5bea7 100644 (file)
@@ -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)