summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-05-04 10:34:03 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 12:31:20 -0400
commitb1c8a81fdd346274e3c38909740eec7182ef8f8a (patch)
treeba36455cdf5b74c659213f47fbf0600050272c3b /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parent79aa03893df937967201b6ea34e8d4216b893a38 (diff)
downloadblackbird-op-linux-b1c8a81fdd346274e3c38909740eec7182ef8f8a.tar.gz
blackbird-op-linux-b1c8a81fdd346274e3c38909740eec7182ef8f8a.zip
drm/amdgpu: remove define for reserved client ID
Just set it to zero instead. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 67f6c2eb8282..ea708cb94862 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -1504,7 +1504,7 @@ void amdgpu_vm_manager_init(struct amdgpu_device *adev)
}
atomic_set(&adev->vm_manager.vm_pte_next_ring, 0);
- atomic64_set(&adev->vm_manager.client_counter, AMDGPU_CLIENT_ID_RESERVED);
+ atomic64_set(&adev->vm_manager.client_counter, 0);
}
/**
OpenPOWER on IntegriCloud