Re: [PATCH 4/4] drm/amdgpu: check whether the vmid can be reused first

2017-05-10 Thread Christian König
NAK, it is intentionally done like this to avoid starvation of processes. In other words we assign a VMID only when there is at least one free. Regards, Christian. Am 10.05.2017 um 09:31 schrieb Chunming Zhou: Change-Id: If24a62b9c3097c9b040225ab0e768145b7a3db1e Signed-off-by: Chunming Zhou

Re: [PATCH 4/4] drm/amdgpu: check whether the vmid can be reused first

2017-05-10 Thread Zhang, Jerry (Junwei)
On 05/10/2017 03:31 PM, Chunming Zhou wrote: Change-Id: If24a62b9c3097c9b040225ab0e768145b7a3db1e Signed-off-by: Chunming Zhou I had same idea when read this code before. Reviewed-by: Junwei Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 92

[PATCH 4/4] drm/amdgpu: check whether the vmid can be reused first

2017-05-10 Thread Chunming Zhou
Change-Id: If24a62b9c3097c9b040225ab0e768145b7a3db1e Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 92 +- 1 file changed, 47 insertions(+), 45 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c