summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Wu <geo@ocf.berkeley.edu>2007-09-30 10:43:54 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-09-30 10:43:54 +0000
commita218dd6107f27c63e0191ced0061cf6ca5f9f9ce (patch)
treeac836e79f70f8e0db7573f31c5739474b8640242
parentbe7d380aba8d1ff2272bf2c931b2c9f78a549b46 (diff)
Corrected missing AVIVO_CRTC1_BLANK_STATUS write in avivo_crtc_mode_set.
Fixes blank screen bug reported by George Wu.
-rw-r--r--xorg/avivo_crtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xorg/avivo_crtc.c b/xorg/avivo_crtc.c
index 0e92892..0fa4f40 100644
--- a/xorg/avivo_crtc.c
+++ b/xorg/avivo_crtc.c
@@ -254,6 +254,7 @@ avivo_crtc_mode_set(xf86CrtcPtr crtc,
avivo_crtc->fb_format);
OUTREG(AVIVO_CRTC1_FB_END + avivo_crtc->crtc_offset,
fb_location + avivo_crtc->fb_length);
+ OUTREG(AVIVO_CRTC1_BLANK_STATUS + avivo_crtc->crtc_offset, 0);
/* avivo can only shift offset by 4 pixel in x if you program somethings
* not multiple of 4 you gonna drive the GPU crazy and likely won't
* be able to restore it without cold reboot (vbe post not enough)