<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - kernel 3.15 regression, drm i915 chooses wrong monitor resolution"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78655">bug 78655</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - kernel 3.15 regression, drm i915 chooses wrong monitor resolution"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78655#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - kernel 3.15 regression, drm i915 chooses wrong monitor resolution"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78655">bug 78655</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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]) {
                        /*</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>