diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-07-21 13:47:09 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-07-21 13:47:09 -0400 |
commit | b0378bb145c8a915c943bef7d17f2cdecfccc891 (patch) | |
tree | 091b235a7706f14115ebcdb86513798fb763defe /src/atombios_crtc.c | |
parent | c18fad622a3c4f9572051120d83af68b625b5686 (diff) |
Interlaced mode fixups for AVIVO chips
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r-- | src/atombios_crtc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c index 12a20bb8..406e7864 100644 --- a/src/atombios_crtc.c +++ b/src/atombios_crtc.c @@ -502,6 +502,12 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc, OUTREG(AVIVO_D1MODE_VIEWPORT_SIZE + radeon_crtc->crtc_offset, (mode->HDisplay << 16) | mode->VDisplay); + if (adjusted_mode->Flags & V_INTERLACE) + OUTREG(AVIVO_D1MODE_DATA_FORMAT + radeon_crtc->crtc_offset, + AVIVO_D1MODE_INTERLEAVE_EN); + else + OUTREG(AVIVO_D1MODE_DATA_FORMAT + radeon_crtc->crtc_offset, + 0); } atombios_crtc_set_pll(crtc, adjusted_mode, pll_flags); |