diff options
| author | Zhigang Luo <Zhigang.Luo@amd.com> | 2026-08-31 15:39:03 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-07 12:04:31 -0400 |
| commit | a69f4d4076eab6b88901d41fcf129f14c74eb763 (patch) | |
| tree | 2803ff70ab8fd0c2289a419f62dd1682870759bf /scripts/Makefile.thinlto | |
| parent | 3d3140b5b0d0140dce34bffa6ebe84ad0687c477 (diff) | |
| download | linux-next-a69f4d4076eab6b88901d41fcf129f14c74eb763.tar.gz linux-next-a69f4d4076eab6b88901d41fcf129f14c74eb763.zip | |
drm/amdkfd: mark A+A VF VRAM PTEs as system memory
On the A+A VF, VRAM is accessed through the system memory path, so SVM
range PTEs that point at VRAM need AMDGPU_PTE_SYSTEM set, matching what
the graphics paths already do.
v2:
- Use (sriov_vf || passthrough) and amdgpu_virt_vram_is_spm() for
SVM VRAM PTE_SYSTEM.
v3:
- Rely on amdgpu_virt_vram_is_spm() without redundant VF/passthrough
checks.
Signed-off-by: Zhigang Luo <zhigang.luo@amd.com>
Signed-off-by: Fangsheng Huang <Fangsheng.Huang@amd.com>
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Philip Yang <philip.yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
