drm/i915: Split i915_run_as_guest into x86 and non-x86
authorCasey Bowman <casey.g.bowman@intel.com>
Thu, 31 Mar 2022 20:43:43 +0000 (13:43 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 6 Apr 2022 16:02:37 +0000 (09:02 -0700)
commitc900a670362be43258a4a2ab8c37d5f0da714487
treeac12142c323336e2d1926c555bc01c279e0b76d6
parent805f04d42a6b5f4187935b43c9c39ae03ccfa761
drm/i915: Split i915_run_as_guest into x86 and non-x86

Split i915_run_as_guest() into a more arch-friendly function
as non-x86 builds do not support this functionality.

Signed-off-by: Casey Bowman <casey.g.bowman@intel.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220331204343.1256150-2-casey.g.bowman@intel.com
drivers/gpu/drm/i915/i915_utils.h