drm/amdgpu: use dma_resv_get_singleton in amdgpu_pasid_free_cb
authorChristian König <christian.koenig@amd.com>
Mon, 8 Nov 2021 13:03:29 +0000 (14:03 +0100)
committerChristian König <christian.koenig@amd.com>
Sun, 3 Apr 2022 18:15:51 +0000 (20:15 +0200)
commitba5f33cccc7586c7b3f87f73b826786d8974a835
tree6470b84c6a0876553256b46858f0d07de34b3451
parentc382df714a8433dfdd4b84fecc00dc46fc755eb7
drm/amdgpu: use dma_resv_get_singleton in amdgpu_pasid_free_cb

Makes the code a bit more simpler.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220321135856.1331-15-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c