aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-05-27 12:30:38 +0000
committerAlex Deucher <[email protected]>2015-06-04 01:03:55 +0000
commitd8f65a2376268dfb2963152754d41208dc43d906 (patch)
treec3ffb8a25256f23cb9b2485df4c9b22fd24a0cac /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu: fence should be added to shared slot (diff)
downloadkernel-d8f65a2376268dfb2963152754d41208dc43d906.tar.gz
kernel-d8f65a2376268dfb2963152754d41208dc43d906.zip
drm/amdgpu: rename GEM_OP_SET_INITIAL_DOMAIN -> GEM_OP_SET_PLACEMENT
Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-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;