diff options
author | Christian König <christian.koenig@amd.com> | 2014-08-07 09:36:01 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-08-11 17:04:24 +0200 |
commit | ddd00e33e17a62c5f44377ab42e7562ccfae7bd1 (patch) | |
tree | c891a3a9198cc82fafc2e4b2881c055a5351a272 /include/uapi | |
parent | drm/radeon: add userptr support v8 (diff) | |
download | linux-ddd00e33e17a62c5f44377ab42e7562ccfae7bd1.tar.xz linux-ddd00e33e17a62c5f44377ab42e7562ccfae7bd1.zip |
drm/radeon: add userptr flag to limit it to anonymous memory v2
Avoid problems with writeback by limiting userptr to anonymous memory.
v2: add commit and code comments
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/drm/radeon_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h index 3a9f20930372..9720e1a36848 100644 --- a/include/uapi/drm/radeon_drm.h +++ b/include/uapi/drm/radeon_drm.h @@ -816,6 +816,7 @@ struct drm_radeon_gem_create { * perform any operation. */ #define RADEON_GEM_USERPTR_READONLY (1 << 0) +#define RADEON_GEM_USERPTR_ANONONLY (1 << 1) struct drm_radeon_gem_userptr { uint64_t addr; |