summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-05-27 14:30:38 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-06-04 03:03:55 +0200
commitd8f65a2376268dfb2963152754d41208dc43d906 (patch)
treec3ffb8a25256f23cb9b2485df4c9b22fd24a0cac /include/uapi
parentdrm/amdgpu: fence should be added to shared slot (diff)
downloadlinux-d8f65a2376268dfb2963152754d41208dc43d906.tar.xz
linux-d8f65a2376268dfb2963152754d41208dc43d906.zip
drm/amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT
Signed-off-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/amdgpu_drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 64a07ac3b4b9..cd54891b1d5c 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -284,8 +284,8 @@ struct drm_amdgpu_gem_op {
uint64_t value; /* input or return value */
};
-#define AMDGPU_GEM_OP_GET_GEM_CREATE_INFO 0
-#define AMDGPU_GEM_OP_SET_INITIAL_DOMAIN 1
+#define AMDGPU_GEM_OP_GET_GEM_CREATE_INFO 0
+#define AMDGPU_GEM_OP_SET_PLACEMENT 1
#define AMDGPU_VA_OP_MAP 1
#define AMDGPU_VA_OP_UNMAP 2