Re: [PATCH] drm/amdgpu: Inherit coherence flags on dmabuf import

2022-11-04 Thread Christian König
Am 04.11.22 um 16:40 schrieb Felix Kuehling: When importing dmabufs from other amdgpu devices, inherit the coherence flags from the exported BO. This ensures correct MTYPEs in the GPU PTEs for multi-GPU mappings of shared BOs. Fixes: 763fbebb20e1 ("drm/amdgpu: Set MTYPE in PTE based on BO flags"

[PATCH] drm/amdgpu: Inherit coherence flags on dmabuf import

2022-11-04 Thread Felix Kuehling
When importing dmabufs from other amdgpu devices, inherit the coherence flags from the exported BO. This ensures correct MTYPEs in the GPU PTEs for multi-GPU mappings of shared BOs. Fixes: 763fbebb20e1 ("drm/amdgpu: Set MTYPE in PTE based on BO flags") Tested-by: Gang Ba Signed-off-by: Felix Kueh