drm/amdgpu: add OOM fallback on PRT teardown (v2)
authorChristian König <christian.koenig@amd.com>
Tue, 14 Feb 2017 14:47:03 +0000 (15:47 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:01 +0000 (23:53 -0400)
commit0b15f2fc3ca20f10c0a3ab659c923a3f693cf29f
treebe0fda3a7a74f13701cbb2bad3eafaedd79d55f3
parent1b04e4129dcd6f3a7303d93adb4c84717f98095a
drm/amdgpu: add OOM fallback on PRT teardown (v2)

Don't assume kmalloc will always succeed.

v2: agd: rebase

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c