summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-05-25 15:46:55 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-05-25 23:44:29 -0400
commit3e06db4d62a80932395fea36e4081a4c15116bae (patch)
treebc69c065ede318a18ab7f98d30e9005e4b2dee48 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentabaf210c281d8e829324bc49e8b0bf665ea88a7b (diff)
drm/amdgpu: add missing unreserve on error
The amdgpu_bo_unreserve() has to be done on the error path as well. Fixes: 9e5d275319e224 ("drm/amdgpu: Move kfd_mem_attach outside reservation") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-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_ras.c')
0 files changed, 0 insertions, 0 deletions