Hello, The 24 bits were not set for all dithering methods, when 24bit mode was enabled or unset if disabled. This patch also fixed for me the grainy display issues, they are only shown if dithering was enabled. (Lenovo - Radeon Mobility X1400) Please have a look at it. Big Thanks. Martin --- src/rhd_lvtma.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/rhd_lvtma.c b/src/rhd_lvtma.c index e9c6012..8474eed 100644 --- a/src/rhd_lvtma.c +++ b/src/rhd_lvtma.c @@ -159,7 +159,7 @@ LVDSSet(struct rhdOutput *Output) if (Private->LVDS24Bit) { /* 24bits */ RHDRegMask(Output, LVTMA_LVDS_DATA_CNTL, 0x00000001, 0x00000001); /* enable 24bits */ - RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x00100000, 0x00100000); /* dithering bit depth = 24 */ + RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x00101010, 0x00101010); /* dithering bit depth = 24 */ if (Private->FPDI) /* FPDI? */ RHDRegMask(Output, LVTMA_LVDS_DATA_CNTL, 0x00000010, 0x00000010); /* 24 bit format: FPDI or LDI? */ @@ -167,7 +167,7 @@ LVDSSet(struct rhdOutput *Output) RHDRegMask(Output, LVTMA_LVDS_DATA_CNTL, 0, 0x00000010); } else { RHDRegMask(Output, LVTMA_LVDS_DATA_CNTL, 0, 0x00000001); /* disable 24bits */ - RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0, 0x00100101); /* dithering bit depth != 24 */ + RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0, 0x00101010); /* dithering bit depth != 24 */ } #if 0 @@ -182,8 +182,10 @@ LVDSSet(struct rhdOutput *Output) } else RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0, 0x00010101); #endif - RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x01010100, 0x01010101); +/* RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x010101000, 0x01010101);*/ + /* enable dithering: spatial and temporal */ +/* RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x00010100, 0x00010100); */ /* reset the temporal dithering */ RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0x04000000, 0x04000000); RHDRegMask(Output, LVTMA_BIT_DEPTH_CONTROL, 0, 0x04000000); -- 1.5.2.5 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org