[Intel-gfx] [PATCH] drm/i915: Select CONFIG_AGP and CONFIG_AGP_INTEL

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Nov 1 09:38:48 CET 2013


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

i915 depends on CONFIG_AGP and CONFIG_AGP_INTEL. Since AGP is a thing
of the past, it's somewhat likely that a user would not realize that
they need to enable those to get i915. So let's just select CONFIG_AGP
and CONFIG_AGP_INTEL instead of depending on them.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig
index 6199d0b..0602e65 100644
--- a/drivers/gpu/drm/i915/Kconfig
+++ b/drivers/gpu/drm/i915/Kconfig
@@ -1,8 +1,8 @@
 config DRM_I915
 	tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
 	depends on DRM
-	depends on AGP
-	depends on AGP_INTEL
+	select AGP
+	select AGP_INTEL
 	# we need shmfs for the swappable backing store, and in particular
 	# the shmem_readpage() which depends upon tmpfs
 	select SHMEM
-- 
1.8.1.5




More information about the Intel-gfx mailing list