summaryrefslogtreecommitdiff
path: root/drivers
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-03 21:03:55 -0400
commitd8f65a2376268dfb2963152754d41208dc43d906 (patch)
treec3ffb8a25256f23cb9b2485df4c9b22fd24a0cac /drivers
parentaeb0aeac2e4f23bb58a642c720883ceba407c072 (diff)
downloadkernel-d8f65a2376268dfb2963152754d41208dc43d906.tar.gz
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 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index c90b74da0027..ad5b9c676fd8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -638,7 +638,7 @@ int amdgpu_gem_op_ioctl(struct drm_device *dev, void *data,
r = -EFAULT;
break;
}
- case AMDGPU_GEM_OP_SET_INITIAL_DOMAIN:
+ case AMDGPU_GEM_OP_SET_PLACEMENT:
if (amdgpu_ttm_tt_has_userptr(robj->tbo.ttm)) {
r = -EPERM;
break;