diff options
author | Dave Airlie <airlied@redhat.com> | 2008-04-02 09:58:05 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-04-02 09:58:05 +1000 |
commit | a8593482c1f2e0f2dbac06c2e5325ba8c83ed9ff (patch) | |
tree | ebe71b6167d62e7e8b5dfd57aeba06cf6cabcdf9 | |
parent | 61d883d116fab3e9b513432d65e705afc5bb39f1 (diff) |
atombios: fix the dual-head hopefully.
tested on r600 with DVI and VGA
-rw-r--r-- | src/atombios_crtc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c index 229ca75e..08f8386d 100644 --- a/src/atombios_crtc.c +++ b/src/atombios_crtc.c @@ -448,10 +448,10 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc, OUTREG(AVIVO_D1GRPH_SURFACE_OFFSET_X + radeon_crtc->crtc_offset, 0); OUTREG(AVIVO_D1GRPH_SURFACE_OFFSET_Y + radeon_crtc->crtc_offset, 0); - OUTREG(AVIVO_D1GRPH_X_START + radeon_crtc->crtc_offset, 0); - OUTREG(AVIVO_D1GRPH_Y_START + radeon_crtc->crtc_offset, 0); - OUTREG(AVIVO_D1GRPH_X_END + radeon_crtc->crtc_offset, mode->HDisplay); - OUTREG(AVIVO_D1GRPH_Y_END + radeon_crtc->crtc_offset, mode->VDisplay); + OUTREG(AVIVO_D1GRPH_X_START + radeon_crtc->crtc_offset, x); + OUTREG(AVIVO_D1GRPH_Y_START + radeon_crtc->crtc_offset, y); + OUTREG(AVIVO_D1GRPH_X_END + radeon_crtc->crtc_offset, x + mode->HDisplay); + OUTREG(AVIVO_D1GRPH_Y_END + radeon_crtc->crtc_offset, y + mode->VDisplay); OUTREG(AVIVO_D1GRPH_PITCH + radeon_crtc->crtc_offset, crtc->scrn->displayWidth); OUTREG(AVIVO_D1GRPH_ENABLE + radeon_crtc->crtc_offset, 1); |