Skip to contentSkip to conversation

drm/amdgpu: Verify root PD is mapped into kernel address space.

PATCH Superseded Andrey Grodzovsky 4 participants 9 messages Jul 5, 2018 – Jul 6, 2018 6 messages not in the archive

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/amdgpu: Verify root PD is mapped into kernel address space.

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +5 -1
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
 		return;
 	list_add_tail(&base->bo_list, &bo->va);
 
+	if (bo->tbo.type == ttm_bo_type_kernel)
+		list_move(&base->vm_status, &vm->relocated);
+
 	if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
 		return;
 
@@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
 	 * is currently evicted. add the bo to the evicted list to make sure it
 	 * is validated on next vm use to avoid fault.
 	 * */
-	list_move_tail(&base->vm_status, &vm->evicted);
+	if (bo->tbo.type != ttm_bo_type_kernel)
+		list_move_tail(&base->vm_status, &vm->evicted);
 }
 
 /**
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1530816978-19239-1-git-send-email-andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 33 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +3 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
  		return;
  	list_add_tail(&base->bo_list, &bo->va);
 
+	if (bo->tbo.type == ttm_bo_type_kernel)
+		list_move(&base->vm_status, &vm->relocated);
+
  	if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
  		return;
 

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base, · line 175

Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -1
@@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
  	 * is currently evicted. add the bo to the evicted list to make sure it
  	 * is validated on next vm use to avoid fault.
  	 * */
-	list_move_tail(&base->vm_status, &vm->evicted);
+	if (bo->tbo.type != ttm_bo_type_kernel)
+		list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base, · line 178

Quoted 3 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -0
  }
 
  /**

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 7c62ac90-6cba-95e9-c659-5edbdda36569-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#4 lore raw
Quoted 34 lines · Christian König

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 33 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +3 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
 		return;
 	list_add_tail(&base->bo_list, &bo->va);
+	if (bo->tbo.type == ttm_bo_type_kernel)
+		list_move(&base->vm_status, &vm->relocated);
+
 	if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
 		return;
@@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
 	 * is currently evicted. add the bo to the evicted list to make sure it
 	 * is validated on next vm use to avoid fault.
Quoted 9 lines

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base, · line 175

Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -1
 	 * */
-	list_move_tail(&base->vm_status, &vm->evicted);
+	if (bo->tbo.type != ttm_bo_type_kernel)
+		list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Is that mean we must also move root bo to relocated list like other PD/PT BOs, then we do the kmap under amdgpu_vm_update_directories for updating pte with mmio from pcie?

Why we avoid kernel type bo to move evicted list if they are not in preferred_domains here? You know we checked (bo->preferred_domains & amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type)) last step.

Thanks,
Ray

Quoted 5 lines

Additional to that the now superfluous move in
amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 7 lines

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base, · line 177

Quoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -0
 }
 /**

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#5 lore raw

Am 06.07.2018 um 13:02 schrieb Huang Rui:

Quoted 43 lines · Christian König
Quoted 33 lines

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 32 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +3 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
  		return;
  	list_add_tail(&base->bo_list, &bo->va);
+	if (bo->tbo.type == ttm_bo_type_kernel)
+		list_move(&base->vm_status, &vm->relocated);
+
  	if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
  		return;
@@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
  	 * is currently evicted. add the bo to the evicted list to make sure it
Quoted 9 lines

drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base, · line 175

Quoted 5 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -1
  	 * is validated on next vm use to avoid fault.
  	 * */
-	list_move_tail(&base->vm_status, &vm->evicted);
+	if (bo->tbo.type != ttm_bo_type_kernel)
+		list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Quoted 3 lines

Is that mean we must also move root bo to relocated list like other PD/PT BOs, then we do the kmap under amdgpu_vm_update_directories for updating pte with mmio from pcie?

Yes, exactly.

Quoted 3 lines

Why we avoid kernel type bo to move evicted list if they are not in preferred_domains here? You know we checked (bo->preferred_domains & amdgpu_mem_type_to_domain(bo->tbo.mem.mem_type)) last step.

Well that is the point, we must move the PDs to the evicted list when they are not in one of the preferred_domains.

Christian.

Quoted 11 lines

Thanks,
Ray

Quoted 7 lines

Additional to that the now superfluous move in
amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +0 -0
  }
  /**
Quoted 8 lines
Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#6 lore raw
In reply to a message not in the archive
Quoted 33 lines · Christian König

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 32 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-

  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct 
 amdgpu_vm_bo_base *base,
           return;
       list_add_tail(&base->bo_list, &bo->va);
   +    if (bo->tbo.type == ttm_bo_type_kernel)
+        list_move(&base->vm_status, &vm->relocated);
+
       if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
           return;

  @@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,

Quoted 8 lines
Quoted 6 lines

       * is currently evicted. add the bo to the evicted list to make sure it
       * is validated on next vm use to avoid fault.
       * */
-    list_move_tail(&base->vm_status, &vm->evicted);
+    if (bo->tbo.type != ttm_bo_type_kernel)
+        list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

I don't get it, can you explain more in detail why it's OK to remove it ? They will not be in evicted list any more.

Andrey

Quoted 8 lines

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines

  }
    /**

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): dc4e7d5d-cb48-5d51-fdd3-186e5f94d77d-5C7GfCeVMHo@public.gmane.org

#8 lore raw

Am 06.07.2018 um 15:50 schrieb Andrey Grodzovsky:

Quoted 45 lines · Christian König
Quoted 33 lines

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 32 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-

  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct 
 amdgpu_vm_bo_base *base,
           return;
       list_add_tail(&base->bo_list, &bo->va);
   +    if (bo->tbo.type == ttm_bo_type_kernel)
+        list_move(&base->vm_status, &vm->relocated);
+
       if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
           return;

  @@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,

Quoted 8 lines
Quoted 6 lines

       * is currently evicted. add the bo to the evicted list to make sure it
       * is validated on next vm use to avoid fault.
       * */
-    list_move_tail(&base->vm_status, &vm->evicted);
+    if (bo->tbo.type != ttm_bo_type_kernel)
+        list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Quoted 1 line

I don't get it, can you explain more in detail why it's OK to remove it ? They will not be in evicted list any more.

See what happens with the BOs on the evicted list -> they get moved to the relocated list after validation.

Christian.

Quoted 12 lines

Andrey

Quoted 8 lines

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines

  }
    /**

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): aaca46e9-2bdd-9ee0-2d61-462f903e67cf-5C7GfCeVMHo@public.gmane.org

#10 lore raw
Quoted 46 lines · Christian König

Am 06.07.2018 um 15:50 schrieb Andrey Grodzovsky:

Quoted 45 lines · Christian König
Quoted 41 lines

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 31 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-

  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct 
 amdgpu_vm_bo_base *base,
           return;
       list_add_tail(&base->bo_list, &bo->va);
   +    if (bo->tbo.type == ttm_bo_type_kernel)
+        list_move(&base->vm_status, &vm->relocated);
+
       if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
           return;
Quoted 7 lines

  @@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
       * is currently evicted. add the bo to the evicted list to make sure it
       * is validated on next vm use to avoid fault.
       * */
-    list_move_tail(&base->vm_status, &vm->evicted);
+    if (bo->tbo.type != ttm_bo_type_kernel)
+        list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Quoted 5 lines
Quoted 1 line

I don't get it, can you explain more in detail why it's OK to remove it ? They will not be in evicted list any more.

See what happens with the BOs on the evicted list -> they get moved to the relocated list after validation.

Christian.

Oh, so you meant keep the original code right ? The "list_move_tail(&base->vm_status, &vm->evicted); ? Meaning just remove the " if (bo->tbo.type != ttm_bo_type_kernel)" ?

ANdrey

Quoted 14 lines
Quoted 13 lines

Andrey

Quoted 8 lines

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines

  }
    /**

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 0b0ccd78-31e9-8edd-865c-9bb2f88fda98-5C7GfCeVMHo@public.gmane.org

#12 lore raw

Am 06.07.2018 um 16:22 schrieb Andrey Grodzovsky:

Quoted 49 lines · Christian König
Quoted 46 lines

Am 06.07.2018 um 15:50 schrieb Andrey Grodzovsky:

Quoted 45 lines · Christian König
Quoted 41 lines

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 31 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-

  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct 
 amdgpu_vm_bo_base *base,
           return;
       list_add_tail(&base->bo_list, &bo->va);
   +    if (bo->tbo.type == ttm_bo_type_kernel)
+        list_move(&base->vm_status, &vm->relocated);
+
       if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
           return;
Quoted 7 lines

  @@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,
       * is currently evicted. add the bo to the evicted list to make sure it
       * is validated on next vm use to avoid fault.
       * */
-    list_move_tail(&base->vm_status, &vm->evicted);
+    if (bo->tbo.type != ttm_bo_type_kernel)
+        list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

I don't get it, can you explain more in detail why it's OK to remove it ? They will not be in evicted list any more.

See what happens with the BOs on the evicted list -> they get moved to the relocated list after validation.

Christian.

Oh, so you meant keep the original code right ? The "list_move_tail(&base->vm_status, &vm->evicted); ? Meaning just remove the " if (bo->tbo.type != ttm_bo_type_kernel)" ?

Yes, yes, of course. I mean you should drop the chunk of changes, e.g. keep it as it is.

Sorry for the confusion,
Christian.

Quoted 22 lines

ANdrey

Quoted 18 lines
Quoted 13 lines

Andrey

Quoted 8 lines

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines

  }
    /**

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): c99b56b6-ab98-ef9c-3e85-913bcecd1e88-5C7GfCeVMHo@public.gmane.org

#14 lore raw
Quoted 56 lines · Christian König

Am 06.07.2018 um 16:22 schrieb Andrey Grodzovsky:

Quoted 55 lines · Christian König
Quoted 51 lines

Am 06.07.2018 um 15:50 schrieb Andrey Grodzovsky:

Quoted 45 lines · Christian König
Quoted 33 lines

Am 05.07.2018 um 20:56 schrieb Andrey Grodzovsky:

Quoted 32 lines

Problem: When PD/PT update made by CPU root PD was not yet mapped causing page fault.

Fix: Verify root PD is mapped into CPU address space.

v2:
Make sure that we add the root PD to the relocated list since then it's get mapped into CPU address space bt default in amdgpu_vm_update_directories.

---
  drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++++-

  1 file changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +2 -0
index 845f73a..1a8caf1 100644
@@ -156,6 +156,9 @@ static void amdgpu_vm_bo_base_init(struct 
 amdgpu_vm_bo_base *base,
           return;
       list_add_tail(&base->bo_list, &bo->va);
   +    if (bo->tbo.type == ttm_bo_type_kernel)
+        list_move(&base->vm_status, &vm->relocated);
+
       if (bo->tbo.resv != vm->root.base.bo->tbo.resv)
           return;

  @@ -168,7 +171,8 @@ static void amdgpu_vm_bo_base_init(struct amdgpu_vm_bo_base *base,

Quoted 8 lines
Quoted 6 lines

       * is currently evicted. add the bo to the evicted list to make sure it
       * is validated on next vm use to avoid fault.
       * */
-    list_move_tail(&base->vm_status, &vm->evicted);
+    if (bo->tbo.type != ttm_bo_type_kernel)
+        list_move_tail(&base->vm_status, &vm->evicted);

You need to drop that chunk, the evicted state supersedes the relocated state (e.g. when they are validated they move from evicted to relocated).

Quoted 1 line

I don't get it, can you explain more in detail why it's OK to remove it ? They will not be in evicted list any more.

See what happens with the BOs on the evicted list -> they get moved to the relocated list after validation.

Christian.

Quoted 7 lines
Quoted 2 lines

Oh, so you meant keep the original code right ? The "list_move_tail(&base->vm_status, &vm->evicted); ? Meaning just remove the " if (bo->tbo.type != ttm_bo_type_kernel)" ?

Yes, yes, of course. I mean you should drop the chunk of changes, e.g. keep it as it is.

Sorry for the confusion,
Christian.

OK. Thanks.

Andrey

Quoted 18 lines
Quoted 18 lines

ANdrey

Quoted 14 lines
Quoted 13 lines

Andrey

Quoted 8 lines

Additional to that the now superfluous move in amdgpu_vm_alloc_levels() can be removed.

Christian.

Quoted 2 lines

  }
    /**

Quoted 6 lines
Quoted 5 lines
Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx