diff options
| author | Christian König <[email protected]> | 2018-02-05 16:38:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-02-19 19:20:18 +0000 |
| commit | b3cd285fa68d162a53c2eb4e23bc4fc1ab7d97f6 (patch) | |
| tree | be73fc7af2f87e9ebea9e74dd654d5e6295adb77 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
| parent | drm/amdgpu: separate PASID mapping from VM flush v2 (diff) | |
| download | kernel-b3cd285fa68d162a53c2eb4e23bc4fc1ab7d97f6.tar.gz kernel-b3cd285fa68d162a53c2eb4e23bc4fc1ab7d97f6.zip | |
drm/amdgpu: update the PASID mapping only on demand
Updating the PASID is rather heavyweight and shouldn't be done all the
time.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index 563e74755aab..a1c78f90eadf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -607,6 +607,7 @@ void amdgpu_vmid_mgr_fini(struct amdgpu_device *adev) amdgpu_sync_free(&id->active); dma_fence_put(id->flushed_updates); dma_fence_put(id->last_flush); + dma_fence_put(id->pasid_mapping); } } } |
