diff options
| author | Chunming Zhou <[email protected]> | 2017-04-21 07:51:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-24 21:40:09 +0000 |
| commit | c350577073de8fe21e6cdd798c4e4746d670bb47 (patch) | |
| tree | 968c894c30c1e0ee539eb347c1117f104b681144 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: reserve/unreserve vmid by vm ioctl v4 (diff) | |
| download | kernel-c350577073de8fe21e6cdd798c4e4746d670bb47.tar.gz kernel-c350577073de8fe21e6cdd798c4e4746d670bb47.zip | |
drm/amdgpu: add limitation for dedicated vm number v4
Limit reserved vmids to 1 to avoid taking too many
out of commission and starving the system.
v2: move #define to amdgpu_vm.h
v3: move reserved vmid counter to id_manager,
and increase counter before allocating vmid
v4: rename to reserved_vmid_num
Signed-off-by: Chunming Zhou <[email protected]>
Reviewed-by: Junwei Zhang <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
