aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_internal.h
AgeCommit message (Collapse)AuthorFilesLines
2026-10-01drm/amdgpu: rework eviction lock handling into critical section v3Christian König1-11/+32
Taking the eviction lock is actually just one step which we need to do in the critical section handling. Rename the functions to reflect that, use the update parameters instead of the vm to save the GFP flags. v2: rebased and reordered v3: fix rebase artefact, fix error handling in amdgpu_vm_pt_alloc 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>
2026-09-23drm/amdgpu: nuke most amdgpu_vm_eviction_(try)lock usesChristian König1-9/+0
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>
2026-09-02drm/amdgpu: start to move VM internals into amdgpu_vm_internal.hChristian König1-0/+155
Avoid exposing some defines outside of the VM code. Signed-off-by: Christian König <christian.koenig@amd.com> Assisted-by: Claude:Sonnet 4 Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>