diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-06-30 18:02:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-07-01 03:59:42 +0200 |
commit | f892034a8ce80ed7098f667aae2eb6300e570603 (patch) | |
tree | 0726b5dfb12cf3adfea88c5e9949c21528ff4ff2 /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon: add quirk to make HP nx6125 laptop resume. (diff) | |
download | linux-f892034a8ce80ed7098f667aae2eb6300e570603.tar.xz linux-f892034a8ce80ed7098f667aae2eb6300e570603.zip |
drm/radeon/kms/igp: fix possible divide by 0 in bandwidth code (v2)
Some IGP systems specify the system memory clock in the Firmware
table rather than the IGP info table. Check both and make sure
we have a value system memory clock value.
v2: make sure rs690_pm_info is called on rs780/rs880 as well.
fixes a regression since 07d4190327b02ab3aaad25a2d168f79d92e8f8c2.
Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 8e1d44ca26ec..5bbf97e26d87 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -177,6 +177,7 @@ void radeon_pm_resume(struct radeon_device *rdev); void radeon_combios_get_power_modes(struct radeon_device *rdev); void radeon_atombios_get_power_modes(struct radeon_device *rdev); void radeon_atom_set_voltage(struct radeon_device *rdev, u16 level); +void rs690_pm_info(struct radeon_device *rdev); /* * Fences. |