summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-03-13 02:58:34 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-03-13 02:58:34 +0000
commit391a8ff7cced1dcb015a0c0762497df6aadbc14e (patch)
tree26bf07da1da8819c6a3b9f6189fdcb010059c2ed /src
parent1a79032ec0139f769be9477ddf6694836e3603e5 (diff)
Fix typo in the function setting the color space transformation factors for
old radeon
Diffstat (limited to 'src')
-rw-r--r--src/radeon_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 3f571f4c..891defca 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -928,7 +928,7 @@ static void RADEONSetTransform (ScrnInfoPtr pScrn,
dwOvGOff = ((INT32)(OvGOff * 2.0)) & 0x1fff;
dwOvBOff = ((INT32)(OvBOff * 2.0)) & 0x1fff;
- if(info->ChipFamily < CHIP_FAMILY_RADEON)
+ if(info->ChipFamily == CHIP_FAMILY_RADEON)
{
dwOvLuma =(((INT32)(OvLuma * 2048.0))&0x7fff)<<17;
dwOvRCb = (((INT32)(OvRCb * 2048.0))&0x7fff)<<1;