drm/amdgpu: drop allocation flag masks
authorChristian König <christian.koenig@amd.com>
Tue, 19 May 2015 14:08:02 +0000 (16:08 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:50 +0000 (21:03 -0400)
Not needed any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
include/uapi/drm/amdgpu_drm.h

index d9b9b6f8de2bbb3d8c7231eb147f0f119f0db0f7..64a07ac3b4b96612a390b2397f291d59d505f06f 100644 (file)
@@ -67,8 +67,6 @@
 #define AMDGPU_GEM_DOMAIN_GWS          0x10
 #define AMDGPU_GEM_DOMAIN_OA           0x20
 
-#define AMDGPU_GEM_DOMAIN_MASK         0x3F
-
 /* Flag that CPU access will be required for the case of VRAM domain */
 #define AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED  (1 << 0)
 /* Flag that CPU access will not work, this VRAM domain is invisible */
 /* Flag that USWC attributes should be used for GTT */
 #define AMDGPU_GEM_CREATE_CPU_GTT_USWC         (1 << 2)
 
-/* Flag mask for GTT domain_flags */
-#define AMDGPU_GEM_CREATE_CPU_GTT_MASK \
-       (AMDGPU_GEM_CREATE_CPU_GTT_USWC | \
-        AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED | \
-        AMDGPU_GEM_CREATE_NO_CPU_ACCESS)
-
 struct drm_amdgpu_gem_create_in  {
        /** the requested memory size */
        uint64_t bo_size;