[Bug 78655] kernel 3.15 regression, drm i915 chooses wrong monitor resolution

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 13 08:06:02 PDT 2014


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

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #12 from Chris Wilson <chris at chris-wilson.co.uk> ---
Let's keep the bug open until Daniel/Jani has taken a patch. I'm not too keen
on frobbing the EDID modes, as that may affect other things (and even
userspace).

In light of that, I prefer:

diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
b/drivers/gpu/drm/i915/intel_fbdev.c
index 1d3f0a9cce31..8dc702ab524a 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -397,6 +397,11 @@ static bool intel_fb_initial_config(struct drm_fb_helper
*fb_helper,
                                                          height);
                }

+               /* No preferred mode marked by the EDID? Are there any modes?
*/
+               if (!modes[i] && !list_empty(&connector->modes))
+                       modes[i] = list_first_entry(struct drm_display_mode,
+                                                   &connector->modes, head);
+
                /* last resort: use current mode */
                if (!modes[i]) {
                        /*

-- 
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/20140513/31658be2/attachment.html>


More information about the intel-gfx-bugs mailing list