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"
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