]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
Merge tag 'iommu-updates-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_vm.h
index 4cf678684a1254338c29ed74d621f0963ec3ba8f..061b99a18cb81d7b2a9fb197bbc33c4df14d9d02 100644 (file)
@@ -168,9 +168,6 @@ struct amdgpu_vm {
        /* tree of virtual addresses mapped */
        struct rb_root_cached   va;
 
-       /* protecting invalidated */
-       spinlock_t              status_lock;
-
        /* BOs who needs a validation */
        struct list_head        evicted;
 
@@ -179,6 +176,10 @@ struct amdgpu_vm {
 
        /* BOs moved, but not yet updated in the PT */
        struct list_head        moved;
+       spinlock_t              moved_lock;
+
+       /* All BOs of this VM not currently in the state machine */
+       struct list_head        idle;
 
        /* BO mappings freed, but not yet updated in the PT */
        struct list_head        freed;
@@ -187,9 +188,6 @@ struct amdgpu_vm {
        struct amdgpu_vm_pt     root;
        struct dma_fence        *last_update;
 
-       /* protecting freed */
-       spinlock_t              freed_lock;
-
        /* Scheduler entity for page table updates */
        struct drm_sched_entity entity;
 
This page took 0.038026 seconds and 4 git commands to generate.