mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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 <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c633c00bf0
commit
b3cd285fa6
@@ -57,6 +57,9 @@ struct amdgpu_vmid {
|
||||
uint32_t gws_size;
|
||||
uint32_t oa_base;
|
||||
uint32_t oa_size;
|
||||
|
||||
unsigned pasid;
|
||||
struct dma_fence *pasid_mapping;
|
||||
};
|
||||
|
||||
struct amdgpu_vmid_mgr {
|
||||
|
||||
Reference in New Issue
Block a user