diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-05-25 15:46:55 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-25 23:44:29 -0400 |
| commit | 3e06db4d62a80932395fea36e4081a4c15116bae (patch) | |
| tree | bc69c065ede318a18ab7f98d30e9005e4b2dee48 /drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | |
| parent | drm/amdgpu: add judgement for dc support (diff) | |
| download | linux-3e06db4d62a80932395fea36e4081a4c15116bae.tar.gz linux-3e06db4d62a80932395fea36e4081a4c15116bae.zip | |
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_fru_eeprom.c')
0 files changed, 0 insertions, 0 deletions
