diff options
| author | Christian König <[email protected]> | 2022-03-08 14:06:49 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-03-25 16:40:26 +0000 |
| commit | e997b82745a5b2419bc5b72735811d7162ac994a (patch) | |
| tree | 2a411c227d2a25ad4c4a19f9aeef46a78c5023c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | |
| parent | drm/amdgpu: separate VM PT handling into amdgpu_vm_pt.c (diff) | |
| download | kernel-e997b82745a5b2419bc5b72735811d7162ac994a.tar.gz kernel-e997b82745a5b2419bc5b72735811d7162ac994a.zip | |
drm/amdgpu: simplify VM update tracking a bit
Store the 64bit sequence directly. Makes it simpler to use and saves a bit
of fence reference counting overhead.
Signed-off-by: Christian König <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h index 7c0fe20c470d..876c1ee8869c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h @@ -43,7 +43,7 @@ enum amdgpu_sync_mode { */ struct amdgpu_sync { DECLARE_HASHTABLE(fences, 4); - struct dma_fence *last_vm_update; + uint64_t last_vm_update; }; void amdgpu_sync_create(struct amdgpu_sync *sync); |
