drm: add PCI requirements to low-level drivers.
[sfrench/cifs-2.6.git] / drivers / gpu / drm / Kconfig
index 305c590039634603972d31ed02ab72b49e202938..5b7a1a4692a0a8aa7b8953fb1a62ab1a99e21cd0 100644 (file)
@@ -6,9 +6,10 @@
 #
 menuconfig DRM
        tristate "Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)"
-       depends on (AGP || AGP=n) && PCI && !EMULATED_CMPXCHG && MMU
+       depends on (AGP || AGP=n) && !EMULATED_CMPXCHG && MMU
        select I2C
        select I2C_ALGOBIT
+       select SLOW_WORK
        help
          Kernel-level support for the Direct Rendering Infrastructure (DRI)
          introduced in XFree86 4.0. If you say Y here, you need to select
@@ -16,7 +17,7 @@ menuconfig DRM
          These modules provide support for synchronization, security, and
          DMA transfers. Please see <http://dri.sourceforge.net/> for more
          details.  You should also select and configure AGP
-         (/dev/agpgart) support.
+         (/dev/agpgart) support if it is available for your platform.
 
 config DRM_KMS_HELPER
        tristate
@@ -59,6 +60,7 @@ config DRM_RADEON
        select FW_LOADER
         select DRM_KMS_HELPER
         select DRM_TTM
+       select POWER_SUPPLY
        help
          Choose this option if you have an ATI Radeon graphics card.  There
          are both PCI and AGP versions.  You don't need to choose this to
@@ -128,7 +130,7 @@ endchoice
 
 config DRM_MGA
        tristate "Matrox g200/g400"
-       depends on DRM
+       depends on DRM && PCI
        select FW_LOADER
        help
          Choose this option if you have a Matrox G200, G400 or G450 graphics
@@ -146,14 +148,14 @@ config DRM_SIS
 
 config DRM_VIA
        tristate "Via unichrome video cards"
-       depends on DRM
+       depends on DRM && PCI
        help
          Choose this option if you have a Via unichrome or compatible video
          chipset. If M is selected the module will be called via.
 
 config DRM_SAVAGE
        tristate "Savage video cards"
-       depends on DRM
+       depends on DRM && PCI
        help
          Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
          chipset. If M is selected the module will be called savage.