RE: [PATCH v2 05/10] drm/amdgpu: Add multi-GPU DMA mapping helpers

2021-05-10 Thread Errabolu, Ramesh
/10] drm/amdgpu: Add multi-GPU DMA mapping helpers Am 2021-04-26 um 8:09 p.m. schrieb Zeng, Oak: > As I understand it, when one GPU map another GPU's vram, this vram should > also be mapped in iommu page table. Also normal GTT memory (versus userptr) > also need to be mapped in iommu.

Re: [PATCH v2 05/10] drm/amdgpu: Add multi-GPU DMA mapping helpers

2021-04-26 Thread Felix Kuehling
Am 2021-04-26 um 8:09 p.m. schrieb Zeng, Oak: > As I understand it, when one GPU map another GPU's vram, this vram should > also be mapped in iommu page table. Also normal GTT memory (versus userptr) > also need to be mapped in iommu. But don't see this code below. Right, I'm not solving all

Re: [PATCH v2 05/10] drm/amdgpu: Add multi-GPU DMA mapping helpers

2021-04-26 Thread Zeng, Oak
As I understand it, when one GPU map another GPU's vram, this vram should also be mapped in iommu page table. Also normal GTT memory (versus userptr) also need to be mapped in iommu. But don't see this code below. I only see you map userptr in iommu. Maybe you map them in iommu not during