diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-04-13 11:38:46 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-04-17 15:41:12 -0400 |
| commit | 810df8de2f1f4602c4279455db0a88307ece5c00 (patch) | |
| tree | 18eb09c37b86b00d3d94ec81174b9db991674236 /include/linux/timerqueue.h | |
| parent | 85653fe2e52e19034db5914d65a4579dd7c4b275 (diff) | |
drm/amdgpu/userq: unmap is to be called before freeing doorbell/wptr bo
Unmap the queue after freeing doorbell and wptr memory is completely
wrong. Any operation on the queue needs the doorbell and wptr to be
valid and hence fixing the ordering.
Also since we are using amdgpu_bo_reserve in non interruptrable mode
so there is no need to check for its return values.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
