<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - i915 kernel driver error causes display to freeze, regression affects 3.16-rc5, bisect complete"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81537">81537</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>i915 kernel driver error causes display to freeze, regression affects 3.16-rc5, bisect complete
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>askillen@ccsl.carleton.ca
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=103107" name="attach_103107" title="dmesg.txt">attachment 103107</a> <a href="attachment.cgi?id=103107&action=edit" title="dmesg.txt">[details]</a></span>
dmesg.txt

After upgrading my kernel from 3.11 to 3.13, I have been experiencing
issues with graphical freezes.  Specific dmesg errors started showing up
after the upgrade (see attached).

When waking the screen from power saving/screensaver, the primary
display wakes but X stops responding to input (the mouse cursor can
still move, but clicking has no effect). Secondary display does not wake.

This issue persists up to the latest 3.16-rc5.  A commit bisect shows
that fdbc3b1f639bb2cbfb32c612b2699e0ba373317d is the first bad commit.
Reverting that commit on the 3.16-rc5 branch seemed to fix the problem.

A Ubuntu bug report also contains relevant logs and configuration
information:
<a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1343543">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1343543</a>

Please let me know if you require any further logs or information.

Sincerely,

Adam Skillen


Hardware:
Dell System XPS L502X/0NJT03, BIOS A12 09/07/2012
Intel Corporation 2nd Generation Core Processor Family Integrated
Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])


Bisect result:
fdbc3b1f639bb2cbfb32c612b2699e0ba373317d is the first bad commit

$ git show
commit fdbc3b1f639bb2cbfb32c612b2699e0ba373317d
Author: Jani Nikula <email address hidden>
Date: Tue Nov 12 17:10:13 2013 +0200

    drm/i915/dp: set sink to power down mode on dp disable

    We used to put the local sink and any downstream sinks to power down
    mode at disable or dpms off using the DPCD SET_POWER register, until
    this was broken by

    commit e8cb455876fa8f67c6aba394d0a14b697bf04cc3
    Author: Daniel Vetter <email address hidden>
    Date: Sun Jul 1 13:05:48 2012 +0200

        drm/i915/dp: convert to encoder disable/enable

    Fix it.

    Signed-off-by: Jani Nikula <email address hidden>
    Reviewed-by: Todd Previte <email address hidden>
    Signed-off-by: Daniel Vetter <email address hidden>

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index eb8139d..0b2e842 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1774,7 +1774,7 @@ static void intel_disable_dp(struct intel_encoder
*encoder)
         * ensure that we have vdd while we switch off the panel. */
        ironlake_edp_panel_vdd_on(intel_dp);
        ironlake_edp_backlight_off(intel_dp);
- intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_ON);
+ intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF);
        ironlake_edp_panel_off(intel_dp);

        /* cpu edp my only be disable _after_ the cpu pipe/plane is disabled.
*/</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>