diff options
| author | Mukul Joshi <mukul.joshi@amd.com> | 2026-08-10 14:35:55 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-02 15:31:25 -0400 |
| commit | dbec62b36b5b3d731dc69bb37f2e27be45b874a8 (patch) | |
| tree | 748e94dfc1e360c04c041b9cf9c8efa9c2a15f70 /scripts/Makefile.thinlto | |
| parent | 74a6f99cf3f97a602b85cea75cfac0f4b9691510 (diff) | |
| download | linux-next-dbec62b36b5b3d731dc69bb37f2e27be45b874a8.tar.gz linux-next-dbec62b36b5b3d731dc69bb37f2e27be45b874a8.zip | |
drm/amdgpu: create UALink NPA import BO directly in the NPA domain
amdgpu_ualink_map_npa_to_dmabuf() created the NPA import BO in the
CPU/SYSTEM domain and then moved it to NPA. SYSTEM is use_tt=true, so TTM
attaches a host-page ttm_tt that the null move to NPA leaves behind. On
dma-buf export, ttm_bo_populate() then fills that ttm_tt with system
pages, spiking host RAM by the entire NPA window size.
Create the BO directly in the NPA domain (use_tt=false) so no ttm_tt is
ever attached, and relocate it to the exact remote window.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
