summaryrefslogtreecommitdiff
path: root/src/radeon_output.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-10 13:24:52 +1000
committerDave Airlie <airlied@redhat.com>2010-08-10 13:24:52 +1000
commit94bc1b7156cd0866566dc44a823c7e051bb45175 (patch)
tree94a976beaa6073419194ac513cf7ec0c993ea486 /src/radeon_output.c
parent9bc716eb62d4e0eed2902b92437a42634eef6ba1 (diff)
atombios: fixup set crtc source like KMS
This removes a bunch of strict aliasing warnings and fixes the codepaths up like the latest KMS code, including a workaround for a bug on evergreen.
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r--src/radeon_output.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 172b8719..42aa3ca4 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -734,6 +734,9 @@ radeon_mode_prepare(xf86OutputPtr output)
radeon_dpms(output, DPMSModeOff);
radeon_crtc_dpms(output->crtc, DPMSModeOff);
+ if (IS_AVIVO_VARIANT || info->r4xx_atom)
+ atombios_set_output_crtc_source(output);
+
}
static void