diff options
| author | Jesse.Zhang <Jesse.Zhang@amd.com> | 2025-09-25 13:02:18 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-10-07 21:09:07 +0300 |
| commit | b809ca91a5b7eccba065460200512f83cc87987a (patch) | |
| tree | f131ef9777341f98a5e8b97e4b81ee4312473c6c /drivers/pci/controller/dwc | |
| parent | 8dbac5cf8bd55a01a8a0e792a6ed866856506f60 (diff) | |
| download | linux-b809ca91a5b7eccba065460200512f83cc87987a.tar.xz | |
drm/amdgpu: Merge amdgpu_vm_set_pasid into amdgpu_vm_init
As KFD no longer uses a separate PASID, the global amdgpu_vm_set_pasid()function is no longer necessary.
Merge its functionality directly intoamdgpu_vm_init() to simplify code flow and eliminate redundant locking.
v2: remove superflous check
adjust amdgpu_vm_fin and remove amdgpu_vm_set_pasid (Chritian)
v3: drop amdgpu_vm_assert_locked (Chritian)
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4614
Fixes: 59e4405e9ee2 ("drm/amdgpu: revert to old status lock handling v3")
Reviewed-by: Christian König <christian.koenig@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
