commit | 80debff8d9afbf649a15c7ecb0c2cdeb89b36231 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 25 13:16:12 2017 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 25 21:51:49 2017 +0100 |
tree | e89fd3d89cd92d5b8bc659e74c2aa6d828849938 | |
parent | b2241f182aa0942749e7c95eca92b840ab93263b [diff] |
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>