diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-04-28 20:17:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 09:53:40 -0400 |
commit | 068421b1730fe65fb4f73921fdb78c080b0c62f4 (patch) | |
tree | b3cb41aab8afd9a3df964bf545853158f7630f46 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 11c4328a82d542653fda0c60ffd9aab8ba9d5ce8 (diff) |
drm/amdgpu: Free user pages if kvmalloc_array fails
To cleanup the BOs of bo_list which have got user pages.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions