SOURCES: xorg-driver-video-ati-dcc.patch (NEW) - fix dcc 5 and 6 d...
arekm
arekm at pld-linux.org
Wed Feb 20 08:29:16 CET 2008
Author: arekm Date: Wed Feb 20 07:29:16 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix dcc 5 and 6 detection (from upstream)
---- Files affected:
SOURCES:
xorg-driver-video-ati-dcc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xorg-driver-video-ati-dcc.patch
diff -u /dev/null SOURCES/xorg-driver-video-ati-dcc.patch:1.1
--- /dev/null Wed Feb 20 08:29:16 2008
+++ SOURCES/xorg-driver-video-ati-dcc.patch Wed Feb 20 08:29:11 2008
@@ -0,0 +1,40 @@
+commit b77e2aff7453a9f370beba37ca3c25b92b3f97ff
+Author: Alex Deucher <alex at botch2.(none)>
+Date: Tue Feb 19 19:55:41 2008 -0500
+
+ RADEON: fix DDC types 5 and 6
+
+diff --git a/src/radeon_output.c b/src/radeon_output.c
+index aceb3d8..e65e269 100644
+--- a/src/radeon_output.c
++++ b/src/radeon_output.c
+@@ -1754,12 +1754,23 @@ legacy_setup_i2c_bus(int ddc_line)
+ i2c.put_data_mask = RADEON_GPIO_EN_0;
+ i2c.get_clk_mask = RADEON_GPIO_Y_1;
+ i2c.get_data_mask = RADEON_GPIO_Y_0;
+- i2c.mask_clk_reg = ddc_line;
+- i2c.mask_data_reg = ddc_line;
+- i2c.put_clk_reg = ddc_line;
+- i2c.put_data_reg = ddc_line;
+- i2c.get_clk_reg = ddc_line;
+- i2c.get_data_reg = ddc_line;
++ if ((ddc_line == RADEON_LCD_GPIO_MASK) ||
++ (ddc_line == RADEON_MDGPIO_EN_REG)) {
++ i2c.mask_clk_reg = ddc_line;
++ i2c.mask_data_reg = ddc_line;
++ i2c.put_clk_reg = ddc_line;
++ i2c.put_data_reg = ddc_line;
++ i2c.get_clk_reg = ddc_line + 4;
++ i2c.get_data_reg = ddc_line + 4;
++ } else {
++ i2c.mask_clk_reg = ddc_line;
++ i2c.mask_data_reg = ddc_line;
++ i2c.put_clk_reg = ddc_line;
++ i2c.put_data_reg = ddc_line;
++ i2c.get_clk_reg = ddc_line;
++ i2c.get_data_reg = ddc_line;
++ }
++
+ if (ddc_line)
+ i2c.valid = TRUE;
+ else
================================================================
More information about the pld-cvs-commit
mailing list