diff options
author | Emil Velikov <[email protected]> | 2017-02-14 00:56:26 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-16 15:17:52 +0000 |
commit | c8f1f2dc2df4f43b22be522d2957159681736c47 (patch) | |
tree | 393003f3360992882819fd145010b4b318418d05 /src/gallium/winsys/radeon/drm/radeon_drm_winsys.h | |
parent | f3637b3a1eb233886bf3d17d85c693fd41fe4d1e (diff) |
winsys/radeon: remove fall-back defines
Provided by libdrm as of last commit.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_drm_winsys.h')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h index 7f2d99d372c..04659e45ef7 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.h @@ -37,24 +37,6 @@ #include "util/list.h" #include <radeon_drm.h> -#ifndef DRM_RADEON_GEM_USERPTR - -#define DRM_RADEON_GEM_USERPTR 0x2d - -#define RADEON_GEM_USERPTR_READONLY (1 << 0) -#define RADEON_GEM_USERPTR_ANONONLY (1 << 1) -#define RADEON_GEM_USERPTR_VALIDATE (1 << 2) -#define RADEON_GEM_USERPTR_REGISTER (1 << 3) - -struct drm_radeon_gem_userptr { - uint64_t addr; - uint64_t size; - uint32_t flags; - uint32_t handle; -}; - -#endif - struct radeon_drm_cs; enum radeon_generation { |