Explorar o código

drm: make CONFIG_DRM depend on CONFIG_SHMEM.

This can be removed later when DRM doesn't depend on shmem.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie %!s(int64=16) %!d(string=hai) anos
pai
achega
9e0b97e37f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/gpu/drm/Kconfig

+ 1 - 1
drivers/gpu/drm/Kconfig

@@ -6,7 +6,7 @@
 #
 #
 menuconfig DRM
 menuconfig DRM
 	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
 	tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
-	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG
+	depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && SHMEM
 	help
 	help
 	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
 	  Kernel-level support for the Direct Rendering Infrastructure (DRI)
 	  introduced in XFree86 4.0. If you say Y here, you need to select
 	  introduced in XFree86 4.0. If you say Y here, you need to select