linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 13 11:53:22 PDT 2013


On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
> >> Files attached.
> >
> > Can you also please attach a full dmesg so I can check for anything
> > unusual?
> >

Nothing scarred me on a couple of read throughs.

What happens if you try:

diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c
index 112c5e1..9828d9b 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 size)
                return NULL;
 
        ret = drm_mm_insert_node(&dev_priv->mm.stolen, stolen, size,
-                                4096, DRM_MM_SEARCH_DEFAULT);
+                                1024*1024, DRM_MM_SEARCH_DEFAULT);
        if (ret) {
                kfree(stolen);
                return NULL;

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list