ARGH! Bad patch. Ignore this one. Thanks to Andy for pointing out the index errors. Still in vacation mode. Working patch on the way. Alex On Mon, May 17, 2010 at 1:12 PM, Alex Deucher <alexdeucher@xxxxxxxxx> wrote: > On desktop cards there are no battery modes, so the low and high power states > are the same. For the low profile case, choose the lower clock mode. > > Signed-off-by: Alex Deucher <alexdeucher@xxxxxxxxx> > --- > drivers/gpu/drm/radeon/r600.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c > index 7ca57b9..1e81f3c 100644 > --- a/drivers/gpu/drm/radeon/r600.c > +++ b/drivers/gpu/drm/radeon/r600.c > @@ -401,7 +401,7 @@ void r600_pm_init_profile(struct radeon_device *rdev) > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 1; > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 1; > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; > - rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 2; > + rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 1; > /* high sh */ > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = 1; > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = 1; > @@ -411,7 +411,7 @@ void r600_pm_init_profile(struct radeon_device *rdev) > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 2; > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 2; > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; > - rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 2; > + rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 1; > /* high mh */ > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = 2; > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = 2; > @@ -437,7 +437,7 @@ void r600_pm_init_profile(struct radeon_device *rdev) > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_ps_idx = > r600_pm_get_type_index(rdev, POWER_STATE_TYPE_PERFORMANCE, 0); > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_cm_idx = 0; > - rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 2; > + rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_on_cm_idx = 1; > } > /* high sh */ > rdev->pm.profiles[PM_PROFILE_HIGH_SH_IDX].dpms_off_ps_idx = > @@ -460,7 +460,7 @@ void r600_pm_init_profile(struct radeon_device *rdev) > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_ps_idx = > r600_pm_get_type_index(rdev, POWER_STATE_TYPE_PERFORMANCE, 1); > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_cm_idx = 0; > - rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 2; > + rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx = 1; > } > /* high mh */ > rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_off_ps_idx = > -- > 1.5.6.3 > > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel