Re: [PATCH v2 1/2] drm/amdgpu: Detect if amdgpu in IOMMU direct map mode

2021-12-09 Thread Alex Deucher
On Thu, Dec 9, 2021 at 12:02 PM Philip Yang wrote: > > If host and amdgpu IOMMU is not enabled or IOMMU is pass through mode, > set adev->ram_is_direct_mapped flag which will be used to optimize > memory usage for multi GPU mappings. > > Signed-off-by: Philip Yang Reviewed-by: Alex Deucher >

[PATCH v2 1/2] drm/amdgpu: Detect if amdgpu in IOMMU direct map mode

2021-12-09 Thread Philip Yang
If host and amdgpu IOMMU is not enabled or IOMMU is pass through mode, set adev->ram_is_direct_mapped flag which will be used to optimize memory usage for multi GPU mappings. Signed-off-by: Philip Yang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 ++