All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] KFD: Mapping-specific MTYPEs on Arcturus
@ 2019-08-23 21:33 Kuehling, Felix
       [not found] ` <20190823213249.10749-1-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Kuehling, Felix @ 2019-08-23 21:33 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zeng, Oak, Koenig, Christian

This is a simplified version of Oak's patch series, addressing some of
the concerns raised during code review. Patches 1-3 are taken directly
from Oak's series. Patch 4 is a simplified version of Oak's patches
3 and 5 that keeps all the KFD memory type abstractions out of the GMC
IP-version-specific code.

Compile tested only.

Felix Kuehling (1):
  drm/amdgpu: Determing PTE flags separately for each mapping

Oak Zeng (3):
  drm/amdgpu: Extends amdgpu vm definitions
  drm/amdgpu: Support new arcturus mtype
  drm/amdgpu: Support snooped PTE flag

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |  2 +-
 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  | 60 ++++++++++++++-----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h        |  9 ++-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c         |  6 ++
 drivers/gpu/drm/amd/include/vega10_enum.h     |  1 +
 include/uapi/drm/amdgpu_drm.h                 |  4 ++
 6 files changed, 63 insertions(+), 19 deletions(-)

-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH 1/4] drm/amdgpu: Extends amdgpu vm definitions (v2)
@ 2019-08-26 23:07 Kuehling, Felix
       [not found] ` <20190826230355.25007-1-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Kuehling, Felix @ 2019-08-26 23:07 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Zeng, Oak, Koenig, Christian

From: Oak Zeng <Oak.Zeng@amd.com>

Add RW mtype introduced for arcturus.

v2:
* Don't add probe-invalidation bit from UAPI
* Don't add unused AMDGPU_MTYPE_ definitions

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
---
 include/uapi/drm/amdgpu_drm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index ca97b6802275..f3ad429173e3 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -503,6 +503,8 @@ struct drm_amdgpu_gem_op {
 #define AMDGPU_VM_MTYPE_CC		(3 << 5)
 /* Use UC MTYPE instead of default MTYPE */
 #define AMDGPU_VM_MTYPE_UC		(4 << 5)
+/* Use RW MTYPE instead of default MTYPE */
+#define AMDGPU_VM_MTYPE_RW		(5 << 5)
 
 struct drm_amdgpu_gem_va {
 	/** GEM object handle */
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-08-27  8:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-23 21:33 [PATCH 0/4] KFD: Mapping-specific MTYPEs on Arcturus Kuehling, Felix
     [not found] ` <20190823213249.10749-1-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2019-08-23 21:33   ` [PATCH 2/4] drm/amdgpu: Support new arcturus mtype Kuehling, Felix
2019-08-23 21:33   ` [PATCH 1/4] drm/amdgpu: Extends amdgpu vm definitions Kuehling, Felix
     [not found]     ` <20190823213249.10749-2-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2019-08-24 11:12       ` Christian König
2019-08-23 21:33   ` [PATCH 3/4] drm/amdgpu: Support snooped PTE flag Kuehling, Felix
     [not found]     ` <20190823213249.10749-4-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2019-08-24 11:13       ` Christian König
     [not found]         ` <f09e6893-347b-4ade-76e5-ad37d8e4e782-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-08-24 16:24           ` Kuehling, Felix
     [not found]             ` <a7f9ad48-2e46-5415-e2a8-1738a101d716-5C7GfCeVMHo@public.gmane.org>
2019-08-24 18:59               ` Christian König
     [not found]                 ` <96b6ac1d-de87-3fdb-a531-af4b0a42f1d5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-08-26 15:45                   ` Kuehling, Felix
     [not found]                     ` <4b48fc1a-6ee2-bb60-0518-ea9c6346b8d6-5C7GfCeVMHo@public.gmane.org>
2019-08-26 17:16                       ` Koenig, Christian
     [not found]                         ` <89bf5baa-4b63-e40a-7995-fa35bad988b7-5C7GfCeVMHo@public.gmane.org>
2019-08-26 18:03                           ` Kuehling, Felix
     [not found]                             ` <216f63db-78c5-1098-bea5-2f379b0bf051-5C7GfCeVMHo@public.gmane.org>
2019-08-26 18:12                               ` Koenig, Christian
     [not found]                                 ` <49ba47da-a225-5a21-9014-ccc316c55b60-5C7GfCeVMHo@public.gmane.org>
2019-08-26 22:32                                   ` Kuehling, Felix
2019-08-23 21:33   ` [PATCH 4/4] drm/amdgpu: Determing PTE flags separately for each mapping Kuehling, Felix
2019-08-26 23:07 [PATCH 1/4] drm/amdgpu: Extends amdgpu vm definitions (v2) Kuehling, Felix
     [not found] ` <20190826230355.25007-1-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2019-08-26 23:07   ` [PATCH 2/4] drm/amdgpu: Support new arcturus mtype Kuehling, Felix
     [not found]     ` <20190826230355.25007-2-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2019-08-27  8:57       ` Koenig, Christian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.