<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [i915] linux 3.19 and 4.0 make screen freeze when there are some oops occur."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90155">90155</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[i915] linux 3.19 and 4.0  make screen freeze when there are some oops occur.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>hzy068808@gmail.com
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=115292" name="attach_115292" title="myoops kernel module">attachment 115292</a> <a href="attachment.cgi?id=115292&action=edit" title="myoops kernel module">[details]</a></span>
myoops kernel module

I am using an asus laptop with intel i7 4700HQ haswell chips and intel hd 4600
gpu, those days I have experienced screen freeze when using linux kernel 3.19
and 4.0,and the magic is working, so the kernel doesn't crash.

then I found that if I use x window and there are some oops in kernel, if I do
something, like move the cursor, or exit the terminal, then the screen will
freeze.
(I found this problem by writing this oops module named myoops.c and insmod it,
you can see attachment, you can test this by download attachment and follow
those command:

tar xzvf myoops.tar.gz
cd myoops
make 
sudo insmod myoops.ko

then the screen may freeze.)

I also test above oops module on my virtualbox virtual machine and the screen
won't freeze, so I think it must be the intel gpu driver's problem.

so I began to find which commit cause this problem,  I build a number of linux
kernel ,finally I found the problem is cause by this patch:
<a href="https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/gpu/drm/drm_fb_helper.c?id=9aa609e1a3846d3c17087b62579867bab0f488de">https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/gpu/drm/drm_fb_helper.c?id=9aa609e1a3846d3c17087b62579867bab0f488de</a>
,

if I revert this patch and build kernel 3.19 or 4.0, and insmod the oops
module, the screen won't freeze again.

So what's problem about this patch, who can help me to fix screen freeze?
I am using archlinux x86_64.</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>