summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-03-13 02:57:17 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-03-13 02:57:17 +0000
commit74f4ed4275866475b3c182fae962df2fc0946b85 (patch)
tree8a467f24c81a4cab3b06ed954ae5d2a1a2871ec7
parent65625c6c2053792cd14b54c904bf46f360ef1565 (diff)
Fix typo in the function setting the color space transformation factors for
old radeon
-rw-r--r--ChangeLog6
-rw-r--r--src/radeon_video.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ff82577..5fe4540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-03-13 Benjamin Herrenschmidt <benh@kernel.crashing.org>
+ * src/radeon_video.c: (RADEONSetTransform):
+ Fix typo in the function setting the color space transformation
+ factors for old radeon
+
+2006-03-13 Benjamin Herrenschmidt <benh@kernel.crashing.org>
+
* src/radeon_driver.c: (RADEONPreInitVRAM),
(RADEONPreInitChipType), (RADEONPreInit):
Earliest fix introduced a bug due to another chicken & egg problem in
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 3f571f4..891defc 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;