]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
drm/radeon: fix power supply kconfig interaction.
authorDave Airlie <airlied@redhat.com>
Fri, 21 May 2010 05:41:20 +0000 (15:41 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 21 May 2010 05:41:20 +0000 (15:41 +1000)
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>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/radeon/Kconfig

index 2583ddfcc33ef568144699c77737c6623168e680..88910e5a2c77275654e8b431d96a93b07e438685 100644 (file)
@@ -60,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
index 80c5b3ea28b417e70dc2aa4c7f6068c4e442b20f..1c02d23f6fcca9f9a6030bba9ea309ef98838419 100644 (file)
@@ -1,7 +1,6 @@
 config DRM_RADEON_KMS
        bool "Enable modesetting on radeon by default - NEW DRIVER"
        depends on DRM_RADEON
-       depends on POWER_SUPPLY
        help
          Choose this option if you want kernel modesetting enabled by default.