drm/i915: Require INTEL_GTT to depend on X86
authorCasey Bowman <casey.g.bowman@intel.com>
Wed, 30 Mar 2022 23:48:09 +0000 (16:48 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 6 Apr 2022 18:02:00 +0000 (11:02 -0700)
The intel-gtt module is not used on other, non-x86 platforms, so we
will restrict it to x86 platforms only.

Signed-off-by: Casey Bowman <casey.g.bowman@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220330234809.1218210-3-casey.g.bowman@intel.com
drivers/gpu/drm/i915/Kconfig

index 63db8bc..b381e14 100644 (file)
@@ -4,7 +4,7 @@ config DRM_I915
        depends on DRM
        depends on X86 && PCI
        depends on !PREEMPT_RT
-       select INTEL_GTT
+       select INTEL_GTT if X86
        select INTERVAL_TREE
        # we need shmfs for the swappable backing store, and in particular
        # the shmem_readpage() which depends upon tmpfs