Tvrtko Ursulin a7f46d5b91 drm/i915: Move intel_vtd_active and run_as_guest to i915_utils
Continuation of the effort to declutter i915_drv.h.

Also, component specific helpers which consult the iommu/virtualization
helpers moved to respective component source/header files as appropriate.

v2:
 * s/dev_priv/i915/ in intel_scanout_needs_vtd_wa. (Lucas)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220329090204.2324499-1-tvrtko.ursulin@linux.intel.com
[tursulin: fixup conflict in i915_drv.h]
2022-03-30 12:04:01 +01:00
..
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2022-03-02 08:48:13 -08:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2022-03-02 08:48:23 -08:00
2022-03-02 08:48:13 -08:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2022-03-02 08:48:13 -08:00
2022-03-02 08:48:13 -08:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2021-03-24 19:30:34 +01:00
2022-03-02 08:48:13 -08:00