summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-09 20:48:39 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-09 20:49:49 -0400
commit60dac878cc8626b0821c4c7a6a6dfa12a5597cfa (patch)
tree7a7ee13a226ebe131cc3a94df6afa54822d55327 /src/radeon_crtc.c
parent758fcc33c232c32e7b66261fca51de161d1a4800 (diff)
R4xx: add R4xxATOM option
If set, enables the use of atombios for modesetting on r4xx cards.
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 3a9432fc..e360d4e8 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -77,7 +77,7 @@ radeon_crtc_dpms(xf86CrtcPtr crtc, int mode)
if ((mode == DPMSModeOn) && radeon_crtc->enabled)
return;
- if (IS_AVIVO_VARIANT) {
+ if (IS_AVIVO_VARIANT || info->r4xx_atom) {
atombios_crtc_dpms(crtc, mode);
} else {
@@ -271,7 +271,7 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
ScrnInfoPtr pScrn = crtc->scrn;
RADEONInfoPtr info = RADEONPTR(pScrn);
- if (IS_AVIVO_VARIANT) {
+ if (IS_AVIVO_VARIANT || info->r4xx_atom) {
atombios_crtc_mode_set(crtc, mode, adjusted_mode, x, y);
} else {
legacy_crtc_mode_set(crtc, mode, adjusted_mode, x, y);