Commit d6c6d5ec authored by Dan Carpenter's avatar Dan Carpenter Committed by Alex Deucher
Browse files

drm/amdgpu/userq: Call unreserve on error in amdgpu_userq_fence_read_wptr()



This error path should call amdgpu_bo_unreserve() before returning.

Fixes: d8675102 ("drm/amdgpu: add vm root BO lock before accessing the vm")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent aded8b3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment