Chris Wilson 80debff8d9 drm/i915: Consolidate #ifdef CONFIG_INTEL_IOMMU
We depend on intel_iommu_gfx_mapped for various workarounds, but that is
only available under an #ifdef CONFIG_INTEL_IOMMU. Refactor all the
cut-and-paste ifdefs to a common routine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170525121612.2190-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2017-05-25 21:51:49 +01:00
..
2017-04-04 23:33:42 -04:00
2017-04-19 11:07:14 +10:00
2017-02-27 18:43:47 -08:00
2017-04-13 06:17:40 +10:00
2017-04-04 23:33:42 -04:00
2017-04-20 13:19:34 +10:00
2017-04-11 07:40:42 +10:00
2017-04-11 07:40:42 +10:00
2017-03-24 09:36:06 +01:00
2017-02-23 12:10:12 +10:00
2017-03-23 12:05:13 +10:00
2017-03-14 14:38:34 +01:00
2017-03-24 09:36:06 +01:00
2017-04-04 20:47:54 +02:00
2017-02-28 16:14:53 +01:00
2017-03-09 16:18:02 +01:00
2017-03-14 14:38:33 +01:00
2017-03-21 10:15:39 +02:00