[Bug 91105] [xf86-video-intel] font/image rendering is broken with sna accel method: incorrect detiling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 28 01:08:23 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91105

--- Comment #10 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Edward Sheldrake from comment #8)
> Created attachment 116759 [details]
> example screenshot
> 
> I'm seeing the same thing. GM45, xf86-video-intel latest git, SNA.
> 
> Switching to UXA solves the problem. Don't know if this is related, but I
> recently had to go back to 3GB (2+1) of RAM.

For you 3GiB system, I think you need this kernel patch:

diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c
b/drivers/gpu/drm/i915/i915_gem_tiling.c
index d16585f788ea..ff96ae9b77bc 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -447,7 +447,10 @@ i915_gem_get_tiling(struct drm_device *dev, void *data,
        }

        /* Hide bit 17 from the user -- see comment in i915_gem_set_tiling */
-       args->phys_swizzle_mode = args->swizzle_mode;
+       if (dev_priv->quirks & QUIRK_PIN_SWIZZLED_PAGES)
+               args->phys_swizzle_mode = I915_BIT_6_SWIZZLE_UNKNOWN;
+       else
+               args->phys_swizzle_mode = args->swizzle_mode;
        if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_17)
                args->swizzle_mode = I915_BIT_6_SWIZZLE_9;
        if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_10_17)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150628/0cac26a3/attachment.html>


More information about the intel-gfx-bugs mailing list