diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-18 19:46:52 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-09-19 12:13:50 +0300 |
commit | f46f156ea7704a40577800c3df63b599121a87ec (patch) | |
tree | cf98d33fe5d170923fe07ee480167fc75bbfd125 /drivers/gpu/drm/i915/Kconfig | |
parent | 4cc6feb715c223d59c8cad0dc71bce1a574a2c67 (diff) | |
download | linux-f46f156ea7704a40577800c3df63b599121a87ec.tar.xz |
drm/i915/selftests: Only touch archdata.iommu when it exists
archdata.iommu only exists when CONFIG_IOMMU_API is enabled (and only
applies to intel-iommu in our case) so conditionally compile it out when
it doesn't exist.
Fixes: b5891fb520f7 ("drm/i915/selftests: Disable iommu for the mock device")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170918164652.14200-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig')
0 files changed, 0 insertions, 0 deletions