, 2023 7:30 AM
*To:* Zhang, Yifan ; Christian König
; amd-gfx@lists.freedesktop.org
*Cc:* Deucher, Alexander
*Subject:* Re: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT
memory for gfx10 onwards APUs
Well, there seems to be a very basic misunderstood here: The IOMMU
isolation level
; Zhang, Yifan
; Christian König ;
amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
onwards APUs
[AMD Official Use Only - General]
Technically the AMD IOMMU uses direct mapping mode for any device which claims
to support ATS
: Deucher, Alexander
Subject: Re: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
onwards APUs
Well, there seems to be a very basic misunderstood here: The IOMMU
isolation level is *not* ASIC dependent!
Try to set amd_iommu=force_isolation on the kernel command line
, 2023 5:41 PM
To: Zhang, Yifan ; amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander ; Koenig, Christian
Subject: Re: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
onwards APUs
Is that now validated with IOMMU in non pass through mode?
Christian.
Am 28.08.23 um 10:58 schrieb
, Christian
Subject: Re: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
onwards APUs
Is that now validated with IOMMU in non pass through mode?
Christian.
Am 28.08.23 um 10:58 schrieb Zhang, Yifan:
> [AMD Official Use Only - General]
>
> Ping
>
> -Original Mess
, Alexander ; Koenig, Christian
; Zhang, Yifan
Subject: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
onwards APUs
To decrease VRAM pressure for APUs, put page tables to GTT domain for gfx10 and
newer APUs.
v2: only enable it for gfx10 and newer APUs (Alex, Christian)
Signed-off
[AMD Official Use Only - General]
Ping
-Original Message-
From: Zhang, Yifan
Sent: Friday, August 25, 2023 8:34 AM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander ; Koenig, Christian
; Zhang, Yifan
Subject: [PATCH v3 2/2] drm/amdgpu: Put page tables to GTT memory for gfx10
To decrease VRAM pressure for APUs, put page tables to
GTT domain for gfx10 and newer APUs.
v2: only enable it for gfx10 and newer APUs (Alex, Christian)
Signed-off-by: Yifan Zhang
---
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)