]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: remove va cursors for all mappings
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 12 May 2026 16:59:48 +0000 (22:29 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 16:09:01 +0000 (12:09 -0400)
commitd892a6eca7a847dd57ede6e55d7494a01b43fa5f
treebac6920077084db0d0b4d8c1f02791c856d438e5
parent2c34c7b88ba4f04b3a862fac879bfd8567f06541
drm/amdgpu: remove va cursors for all mappings

va_cursor struct needs to be cleaned even if the mapping
has been removed already.

Also simplify it by make it a void function as return value
check isn't needed as its called during tear down.

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>
(cherry picked from commit 4d35a45c9b4c1ac5b6e3219f83c3db706b675fa2)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c