summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-10-06 18:00:08 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-10-06 18:00:08 -0400
commit4a9e8d9fe24278b56aef51677fd35289d01584a7 (patch)
treef9885091a527fa2414869ec698ff6a765ef7b609
parent5708624d1151877dd66a462d4a75fed6774604a7 (diff)
set grey levels correctly for temporal dithering
-rw-r--r--src/atombios_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atombios_output.c b/src/atombios_output.c
index 50e36817..fad5a10c 100644
--- a/src/atombios_output.c
+++ b/src/atombios_output.c
@@ -346,6 +346,8 @@ atombios_output_digital_setup(xf86OutputPtr output, int device, DisplayModePtr m
disp_data2.ucTemporal = PANEL_ENCODER_TEMPORAL_DITHER_EN;
if (radeon_output->lvds_misc & (1 << 1))
disp_data2.ucTemporal |= PANEL_ENCODER_TEMPORAL_DITHER_DEPTH;
+ if (((radeon_output->lvds_misc >> 2) & 0x3) == 4)
+ disp_data2.ucTemporal |= PANEL_ENCODER_TEMPORAL_LEVEL_4;
}
} else {
if (mode->Clock > 165000)