summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_video.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index 7c0ef657..67dee0c0 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -2296,6 +2296,11 @@ i830_setup_dst_params(ScrnInfoPtr scrn, intel_adaptor_private *adaptor_priv, sho
* stride must be at least 512 bytes. Take the easy fix
* and align on 512 bytes unconditionally. */
pitchAlignMask = 511;
+ else if (IS_I830(intel) || IS_845G(intel))
+ /* Harsh, errata on these chipsets limit the stride to be
+ * a multiple of 256 bytes.
+ */
+ pitchAlignMask = 255;
else
pitchAlignMask = 63;
}