drm/radeon: fix AGP dependency
[linux-2.6-microblaze.git] / drivers / gpu / drm / Kconfig
index 0973f40..19fc4ce 100644 (file)
@@ -214,10 +214,6 @@ config DRM_GEM_SHMEM_HELPER
        help
          Choose this if you need the GEM shmem helper functions
 
-config DRM_VM
-       bool
-       depends on DRM && MMU
-
 config DRM_SCHED
        tristate
        depends on DRM
@@ -229,6 +225,7 @@ source "drivers/gpu/drm/arm/Kconfig"
 config DRM_RADEON
        tristate "ATI Radeon"
        depends on DRM && PCI && MMU
+       depends on AGP || !AGP
        select FW_LOADER
         select DRM_KMS_HELPER
         select DRM_TTM
@@ -391,7 +388,6 @@ source "drivers/gpu/drm/xlnx/Kconfig"
 menuconfig DRM_LEGACY
        bool "Enable legacy drivers (DANGEROUS)"
        depends on DRM && MMU
-       select DRM_VM
        help
          Enable legacy DRI1 drivers. Those drivers expose unsafe and dangerous
          APIs to user-space, which can be used to circumvent access