diff options
author | Dave Airlie <airlied@linux.ie> | 2008-09-20 00:48:11 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-09-20 00:48:11 +1000 |
commit | d6b853cf81c3cd29ab81b9f93909b31330142750 (patch) | |
tree | b56204716a2a13011502dc6639244e1e9fe5a3ff /linux-core/radeon_combios.c | |
parent | dc3a6834f615a538cf582ec7e583f203d43ba204 (diff) |
radeon: fix voverplus calculation
Diffstat (limited to 'linux-core/radeon_combios.c')
-rw-r--r-- | linux-core/radeon_combios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/radeon_combios.c b/linux-core/radeon_combios.c index f1693e69..ae1ef2f9 100644 --- a/linux-core/radeon_combios.c +++ b/linux-core/radeon_combios.c @@ -749,7 +749,7 @@ bool radeon_combios_get_lvds_info(struct radeon_encoder *encoder) encoder->vblank = (radeon_bios16(dev_priv, tmp + 24) - radeon_bios16(dev_priv, tmp + 26)); - encoder->voverplus = ((radeon_bios16(dev_priv, tmp + 28) & 0x7fff) - + encoder->voverplus = ((radeon_bios16(dev_priv, tmp + 28) & 0x7ff) - radeon_bios16(dev_priv, tmp + 26)); encoder->vsync_width = ((radeon_bios16(dev_priv, tmp + 28) & 0xf800) >> 11); encoder->dotclock = radeon_bios16(dev_priv, tmp + 9) * 10; |