| Summary: | [G33 SNA] Glyph and rendering corruption with SNA enabled, again | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Matti Hämäläinen <ccr> | ||||
| Component: | Driver/intel | Assignee: | Chris Wilson <chris> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | normal | ||||||
| Priority: | medium | ||||||
| Version: | unspecified | ||||||
| Hardware: | x86 (IA32) | ||||||
| OS: | Linux (All) | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
Matti Hämäläinen
2012-05-02 09:38:07 UTC
Hi Matti, can you try and see whether this is the minimal required patch:
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index d519ed6..b3ac31f 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -3978,7 +3978,7 @@ struct kgem_bo *kgem_create_buffer_2d(struct kgem *kgem,
assert(width > 0 && height > 0);
assert(ret != NULL);
stride = ALIGN(width, 2) * bpp >> 3;
- stride = ALIGN(stride, 4);
+ stride = ALIGN(stride, 64);
DBG(("%s: %dx%d, %d bpp, stride=%d\n",
__FUNCTION__, width, height, bpp, stride));
commit f4c34e9ab32f31669896b8f626195827a85af337 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed May 2 19:09:10 2012 +0100 sna: Bring back the minimum alignment for G33 The underlying cause is still not fixed. It should be possible to use the much laxer alignment for single-stream linear. Still no idea how I fail to convince the GPU to drop the depth buffer. Reported-by: Matti Hamalainen <ccr@tnsp.org> References: https://bugs.freedesktop.org/show_bug.cgi?id=49391 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Fix confirmed. Thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.