diff --git a/src/radeon_modes.c b/src/radeon_modes.c index ec60cc9..2cb430c 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -418,6 +418,7 @@ RADEONUpdatePanelSize(xf86OutputPtr output) static void radeon_add_common_modes(xf86OutputPtr output, DisplayModePtr modes) { + RADEONInfoPtr info = RADEONPTR(output->scrn); RADEONOutputPrivatePtr radeon_output = output->driver_private; radeon_native_mode_ptr native_mode = &radeon_output->native_mode; DisplayModePtr last = NULL; @@ -439,9 +440,14 @@ radeon_add_common_modes(xf86OutputPtr output, DisplayModePtr modes) * need the internal RMX unit in the video chips (and there is * only one per card), this will only apply to the primary head. */ - if (widths[i] < 320 || widths[i] > native_mode->PanelXRes || - heights[i] < 200 || heights[i] > native_mode->PanelYRes) - continue; + if (IS_AVIVO_VARIANT) { + if (widths[i] < 320 || heights[i] < 200) + continue; + } else { + if (widths[i] < 320 || widths[i] > native_mode->PanelXRes || + heights[i] < 200 || heights[i] > native_mode->PanelYRes) + continue; + } } new = xf86CVTMode(widths[i], heights[i], 60.0, FALSE, FALSE); diff --git a/src/radeon_output.c b/src/radeon_output.c index 6e00ab8..b623ae6 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -500,9 +500,11 @@ radeon_mode_valid(xf86OutputPtr output, DisplayModePtr pMode) pMode->VDisplay != native_mode->PanelYRes) return MODE_PANEL; } - if (pMode->HDisplay > native_mode->PanelXRes || - pMode->VDisplay > native_mode->PanelYRes) - return MODE_PANEL; + if (!IS_AVIVO_VARIANT) { + if (pMode->HDisplay > native_mode->PanelXRes || + pMode->VDisplay > native_mode->PanelYRes) + return MODE_PANEL; + } } return MODE_OK;