[Bug 101080] [APL/SKL/BDW] drv_selftest some subtests are failing "cannot allocate memory"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 18 16:01:50 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101080
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit b5891fb520f742ce48b097c6b8a0b2db1e2bb979
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Sep 14 17:22:40 2017 +0100
drm/i915/selftests: Disable iommu for the mock device
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>
Link:
https://patchwork.freedesktop.org/patch/msgid/20170914162240.18310-1-chris@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>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170918/a5a656e9/attachment.html>
More information about the intel-gfx-bugs
mailing list