diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-02-11 22:16:36 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-18 14:25:08 +1000 |
commit | 2745932495ca3634b11a8662b464d2bf0325ae78 (patch) | |
tree | 86194330d087c59c87a872a73eae82ff72da45e0 /drivers/gpu/drm/radeon/radeon.h | |
parent | 5230aea62c0d8f53edcc3e014c3404132afcfeb4 (diff) |
drm/radeon/kms: accept slightly overclocked power modes
Fixes fdo bug #26329
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Tested-by: Tobias Jakobi <liquid.acid@gmx.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 9f35beed13e..350ae71953e 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -662,6 +662,11 @@ struct radeon_power_state { bool voltage_drop_active; }; +/* + * Some modes are overclocked by very low value, accept them + */ +#define RADEON_MODE_OVERCLOCK_MARGIN 500 /* 5 MHz */ + struct radeon_pm { struct mutex mutex; struct delayed_work idle_work; |