summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2008-01-02 16:41:06 -0500
committerAlex Deucher <alex@samba.(none)>2008-01-02 16:41:06 -0500
commit2180f04b6fb94a638f6274cb4455d5688b324dbc (patch)
tree60ecb4d99530bf9b3531b314e383bcb9101118a1 /src/radeon_output.c
parentdab4dc285154d40303aadaa849b85f8e251e578e (diff)
RADEON: preliminary support for ATOM RMX
not functional yet.
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index ecbc7b19..4c2df88a 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -88,7 +88,7 @@ const char *DACTypeName[4] = {
"None"
};
-const char *ConnectorTypeName[16] = {
+const char *ConnectorTypeName[17] = {
"None",
"VGA",
"DVI-I",
@@ -543,6 +543,7 @@ static Bool
radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode,
DisplayModePtr adjusted_mode)
{
+ RADEONInfoPtr info = RADEONPTR(output->scrn);
RADEONOutputPrivatePtr radeon_output = output->driver_private;
radeon_output->Flags &= ~RADEON_USE_RMX;
@@ -553,7 +554,7 @@ radeon_mode_fixup(xf86OutputPtr output, DisplayModePtr mode,
xf86CrtcPtr crtc = output->crtc;
RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
- if (radeon_crtc->crtc_id == 0) {
+ if (IS_AVIVO_VARIANT || radeon_crtc->crtc_id == 0) {
if (mode->HDisplay < radeon_output->PanelXRes ||
mode->VDisplay < radeon_output->PanelYRes)
radeon_output->Flags |= RADEON_USE_RMX;