drm/radeon/kms/pm: add mid profile
commitc9e75b2125b563e67663f78ad53ea9387a9a7aa1
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 2 Jun 2010 21:56:01 +0000 (2 17:56 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Jun 2010 23:35:19 +0000 (8 09:35 +1000)
treeee05b7f6e310e2a0f4f278acab0332b1f31ce88f
parentf8ed8b4c5d30b5214f185997131b06e35f6f7113
drm/radeon/kms/pm: add mid profile

This adds an additional profile, mid, to the pm profile
code which takes the place of the old low profile.  The default
behavior remains the same, e.g., auto profile now selects between
mid and high profiles based on power source, however, you can now
manually force the low profile which was previously only available
as a dpms off state.  Enabling the low profile when the displays
are on has been known to cause display corruption in some cases.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c