drm/amdgpu: nuke most amdgpu_vm_eviction_(try)lock uses

Use scoped_guard/scoped_cond_guard instead.

Saving and restoring the GFP flags is not necessary in those use case.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Natalie Vock <nat@pixelcluster.dev>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Christian König 2026-05-26 15:20:28 +02:00 • committed by Alex Deucher
commit fc6275c7fc
2 changed files with 12 additions and 24 deletions