diff options
author | 2019-06-10 09:53:58 -0400 | |
---|---|---|
committer | 2019-06-13 13:59:48 -0500 | |
commit | c5e4c6bbbdce750a52ae65c429384e7324a50fd3 (patch) | |
tree | 5d6123812e96408941049b5b865a7ee3e0c24ec3 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | |
parent | drm/amdgpu: register pm sysfs for sriov (v2) (diff) | |
download | linux-dev-c5e4c6bbbdce750a52ae65c429384e7324a50fd3.tar.xz linux-dev-c5e4c6bbbdce750a52ae65c429384e7324a50fd3.zip |
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