Browse Source

drm/radeon: fix power supply kconfig interaction.

radeon needs power supply to get correct PM info so select it at the radeon
level not at the kms option.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Dave Airlie 15 years ago
parent
commit
5d9b7e2d2d
2 changed files with 1 additions and 1 deletions
  1. 1 0
      drivers/gpu/drm/Kconfig
  2. 0 1
      drivers/gpu/drm/radeon/Kconfig

+ 1 - 0
drivers/gpu/drm/Kconfig

@@ -60,6 +60,7 @@ config DRM_RADEON
 	select FW_LOADER
 	select FW_LOADER
         select DRM_KMS_HELPER
         select DRM_KMS_HELPER
         select DRM_TTM
         select DRM_TTM
+	select POWER_SUPPLY
 	help
 	help
 	  Choose this option if you have an ATI Radeon graphics card.  There
 	  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
 	  are both PCI and AGP versions.  You don't need to choose this to

+ 0 - 1
drivers/gpu/drm/radeon/Kconfig

@@ -1,7 +1,6 @@
 config DRM_RADEON_KMS
 config DRM_RADEON_KMS
 	bool "Enable modesetting on radeon by default - NEW DRIVER"
 	bool "Enable modesetting on radeon by default - NEW DRIVER"
 	depends on DRM_RADEON
 	depends on DRM_RADEON
-	depends on POWER_SUPPLY
 	help
 	help
 	  Choose this option if you want kernel modesetting enabled by default.
 	  Choose this option if you want kernel modesetting enabled by default.