diff options
-rw-r--r-- | src/i830_dvo.c | 1 | ||||
-rw-r--r-- | src/i830_video.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c index d81e5dd7..dfd39ff4 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -179,6 +179,7 @@ i830_dvo_mode_set(xf86OutputPtr output, DisplayModePtr mode, switch (dvo_reg) { case DVOA: + default: dvo_srcdim_reg = DVOA_SRCDIM; break; case DVOB: diff --git a/src/i830_video.c b/src/i830_video.c index 43e25bbb..b4f9e746 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -1702,6 +1702,10 @@ i830_covering_crtc (ScrnInfoPtr pScrn, best_crtc = NULL; best_coverage = 0; + crtc_box_ret->x1 = 0; + crtc_box_ret->x2 = 0; + crtc_box_ret->y1 = 0; + crtc_box_ret->y2 = 0; for (c = 0; c < xf86_config->num_crtc; c++) { crtc = xf86_config->crtc[c]; |