diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2019-06-10 09:53:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-13 13:59:48 -0500 |
commit | c5e4c6bbbdce750a52ae65c429384e7324a50fd3 (patch) | |
tree | 5d6123812e96408941049b5b865a7ee3e0c24ec3 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | |
parent | e9bc1bf7916e006f62a27f400f74a6e10b874886 (diff) |
drm/amd/amdgpu: Bail out of BO node creation if not enough VRAM (v3)
(v2): Return 0 and set mem->mm_node to NULL.
(v3): Use atomic64_add_return instead.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c')
0 files changed, 0 insertions, 0 deletions