diff options
| author | Felix Kuehling <[email protected]> | 2023-04-27 02:07:43 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 13:33:59 +0000 |
| commit | b9274387bc2a4cf54b02e039b6a0aef5dd5f2936 (patch) | |
| tree | f53572ba746a10ebc61f3fc17ea1423e71fd9cb9 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: Add additional pstate registers to HW state query (diff) | |
| download | kernel-b9274387bc2a4cf54b02e039b6a0aef5dd5f2936.tar.gz kernel-b9274387bc2a4cf54b02e039b6a0aef5dd5f2936.zip | |
drm/amdkfd: Don't trigger evictions unmapping dmabuf attachments
Don't move DMABuf attachments for PCIe P2P mappings to the SYSTEM domain
when unmapping. This avoids triggering eviction fences unnecessarily.
Instead do the move to SYSTEM and back to GTT when mapping these
attachments to ensure the SG table gets updated after evictions.
This may still trigger unnecessary evictions if user mode unmaps and
remaps the same BO. However, this is unlikely in real applications.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Eric Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
