From a6db4dc65aec560f3b1f37ff73ec6b0bd8207295 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 12 Jul 2008 18:47:07 +1000 Subject: atombios: fix typo in mode conversion for panel --- src/radeon_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/radeon_output.c b/src/radeon_output.c index 7b89d66e..ade0b00b 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -537,7 +537,7 @@ radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode, if (IS_AVIVO_VARIANT) { /* set to the panel's native mode */ adjusted_mode->HDisplay = radeon_output->PanelXRes; - adjusted_mode->HDisplay = radeon_output->PanelYRes; + adjusted_mode->VDisplay = radeon_output->PanelYRes; adjusted_mode->HTotal = radeon_output->PanelXRes + radeon_output->HBlank; adjusted_mode->HSyncStart = radeon_output->PanelXRes + radeon_output->HOverPlus; adjusted_mode->HSyncEnd = adjusted_mode->HSyncStart + radeon_output->HSyncWidth; -- cgit v1.2.3