[Bug 77767] intel framebuffer broken by d978ef14456a38034f6c0e94a794129501f89200 in kernel 3.15-rc
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 22 08:33:25 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77767
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
b/drivers/gpu/drm/i915/intel_fbdev.c
index b16116db6c37..24463b643fc8 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -133,6 +133,12 @@ static int intelfb_create(struct drm_fb_helper *helper,
mutex_lock(&dev->struct_mutex);
+ if (intel_fb &&
+ sizes->fb_width > intel_fb->base.width ||
+ sizes->fb_height > intel_fb->base.height) {
+ drm_framebuffer_reference(&ifbdev->fb->base);
+ intel_fb = NULL;
+ }
if (!intel_fb || WARN_ON(!intel_fb->obj)) {
DRM_DEBUG_KMS("no BIOS fb, allocating a new one\n");
ret = intelfb_alloc(helper, sizes);
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140422/66f62e89/attachment.html>
More information about the intel-gfx-bugs
mailing list