Message ID | 20220319020042.306649-2-casey.g.bowman@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Splitting intel-gtt calls for non-x86 platforms | expand |
On Fri, Mar 18, 2022 at 07:00:41PM -0700, Casey Bowman wrote: >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> this should probably be the second patch, not the first. Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Lucas De Marchi >--- > drivers/gpu/drm/i915/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig >index 63db8bcf03bf..b381e14863a6 100644 >--- a/drivers/gpu/drm/i915/Kconfig >+++ b/drivers/gpu/drm/i915/Kconfig >@@ -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 >-- >2.25.1 >
On 3/18/22 20:40, Lucas De Marchi wrote: > On Fri, Mar 18, 2022 at 07:00:41PM -0700, Casey Bowman wrote: >> 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> > > this should probably be the second patch, not the first. Good point, will rearrange in v2 Regards, Casey > > > > Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> > > > Lucas De Marchi > > >> --- >> drivers/gpu/drm/i915/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig >> index 63db8bcf03bf..b381e14863a6 100644 >> --- a/drivers/gpu/drm/i915/Kconfig >> +++ b/drivers/gpu/drm/i915/Kconfig >> @@ -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 >> -- >> 2.25.1 >>
diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index 63db8bcf03bf..b381e14863a6 100644 --- a/drivers/gpu/drm/i915/Kconfig +++ b/drivers/gpu/drm/i915/Kconfig @@ -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
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> --- drivers/gpu/drm/i915/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)