[Intel-gfx] [PATCH] drm/i915/selftests: Disable iommu for the mock device

Matthew Auld matthew.william.auld at gmail.com
Mon Sep 18 15:32:19 UTC 2017


On 18 September 2017 at 15:22, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> Quoting Chris Wilson (2017-09-14 17:22:40)
>> On some machines, the iommu cannot allocate a domain for the mock device
>> causing the dma_map_sg() to fail, and the selftest to fail with -ENOMEM.
>> For the mock selftests, we are using a fake device and do not care about
>> iommu; so convince intel_iommu to treat us as a dummy device with an
>> identity mapping (and no iommu domain).
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101080
>> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Tested-by: Elizabeth De La Torre Mena <elizabethx.de.la.torre.mena at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list