[Bug 102442] i915 segfault on archlinux / dell e6430 / HD4000 with xrandr --scale

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 30 12:07:58 UTC 2017


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

--- Comment #14 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ah, can you tweak the assert

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index d1f01218..3f70d536 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -565,7 +565,7 @@ static void assert_scanout(struct kgem *kgem, struct
kgem_bo *bo,
        assert(drmIoctl(kgem->fd, DRM_IOCTL_MODE_GETFB, &info) == 0);
        gem_close(kgem->fd, info.handle);

-       assert(width == info.width && height == info.height);
+       assert(width <= info.width && height <= info.height);
 }
 #else
 #define assert_scanout(k, b, w, h)

and try again?

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


More information about the intel-gfx-bugs mailing list