diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-14 19:22:40 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-18 18:57:35 +0300 |
commit | b5891fb520f742ce48b097c6b8a0b2db1e2bb979 (patch) | |
tree | 113f9868bcc6331ed79daf12a168e317f2ef7183 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 1298d51c44fddcb609ea6c9fa37b76028593963b (diff) | |
download | linux-b5891fb520f742ce48b097c6b8a0b2db1e2bb979.tar.xz |
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@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@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions