diff options
author | Pierre Ossman <pierre@ossman.eu> | 2008-12-04 23:29:31 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2008-12-05 08:10:53 +0100 |
commit | 33638d9e388b330e2f4eb4debd05ba09924cf176 (patch) | |
tree | 5321988a75235f0559d9359b82bcd8aecbc498b2 /src/atombios_crtc.c | |
parent | d1690f5cc096e2f735c8b407c370a1c1cd7a8afc (diff) |
Optimise RADEONWaitForVLine
Only avoid the vlines we are rendering to, instead of the entire
screen. This way we don't stall the card for longer than we
absolutely have to.
EXA calls fixed by Alex Deucher.
Diffstat (limited to 'src/atombios_crtc.c')
-rw-r--r-- | src/atombios_crtc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c index bbd0c0a9..4e2395f8 100644 --- a/src/atombios_crtc.c +++ b/src/atombios_crtc.c @@ -511,11 +511,6 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc, else OUTREG(AVIVO_D1MODE_DATA_FORMAT + radeon_crtc->crtc_offset, 0); - - OUTREG(AVIVO_D1MODE_VLINE_START_END + radeon_crtc->crtc_offset, - (((0) << AVIVO_D1MODE_VLINE_START_SHIFT) | - ((mode->VDisplay) << AVIVO_D1MODE_VLINE_END_SHIFT) | - AVIVO_D1MODE_VLINE_INV)); } atombios_crtc_set_pll(crtc, adjusted_mode, pll_flags); |