<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [HSW] kms_flip hangs the machine"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72917#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [HSW] kms_flip hangs the machine"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72917">bug 72917</a>
              from <span class="vcard"><a class="email" href="mailto:przanoni@gmail.com" title="Paulo Zanoni <przanoni@gmail.com>"> <span class="fn">Paulo Zanoni</span></a>
</span></b>
        <pre>Ok, I reran some tests, and let me clarify:


With plain -nightly, the flip-vs-panning-vs-hang test *fails*, leaves a lot of
error messages on dmesg, and occasionally some ugly WARNs at
drivers/gpu/drm/i915/i915_gem.c:3899. I was testing by running the whole
kms_flip program, not a single test. If I run flip-vs-panning-vs-hang as a
single test, it still FAILs.


So I reverted 4b5d8f2ce384d17d56ea7e83bbfbb93e5aff4740, and now if I run just
this subtest, it returns SUCCESS, so it seems this revert is already an
improvement. If I run the whole kms_flip suite, I will still get some WARNs.


I also verified that on drm-intel-nightly + 4b5d reverted, if I run "sudo
./kms_flip --run-subtest flip-vs-panning-vs-hang" a few times, I may
occasionally get the following backtrace:

[  156.513242] WARNING: CPU: 3 PID: 1484 at lib/list_debug.c:59
__list_del_entry+0xa1/0xd0()
[  156.513245] list_del corruption. prev->next should be ffff880090f5fca0, but
was ffff88009de7a878
[  156.513247] Modules linked in: fuse ip6table_filter ip6_tables ebtable_nat
ebtables iTCO_wdt iTCO_vendor_support x8
6_pkg_temp_thermal coretemp microcode serio_raw pcspkr e1000e i2c_i801 lpc_ich
mei_me mfd_core mei ptp pps_core uinput
 dm_crypt i915 crc32_pclmul i2c_algo_bit drm_kms_helper drm crc32c_intel
ghash_clmulni_intel video
[  156.513284] CPU: 3 PID: 1484 Comm: kms_flip Not tainted 3.13.0-rc4+ #95
[  156.513286] Hardware name: Intel Corporation Shark Bay Client
platform/WhiteTip Mountain 1, BIOS HSWLPTU1.86C.0133.
R00.1309172123 09/17/2013
[  156.513289]  0000000000000009 ffff880090f5fb38 ffffffff816475df
ffff880090f5fb80
[  156.513312]  ffff880090f5fb70 ffffffff81054bed ffff880090f5fc88
ffff880090f5fca0
[  156.513316]  ffff88009de7a840 0000000000000292 ffff88009de78000
ffff880090f5fbd0
[  156.513321] Call Trace:
[  156.513328]  [<ffffffff816475df>] dump_stack+0x4d/0x66
[  156.513333]  [<ffffffff81054bed>] warn_slowpath_common+0x7d/0xa0
[  156.513336]  [<ffffffff81054c5c>] warn_slowpath_fmt+0x4c/0x50
[  156.513340]  [<ffffffff81307671>] __list_del_entry+0xa1/0xd0
[  156.513343] [drm:init_status_page], render ring hws offset: 0x00211000
[  156.513349]  [<ffffffff81099643>] finish_wait+0x43/0x70
[  156.513368]  [<ffffffffa00a7d11>] __wait_seqno+0x381/0x540 [i915]
[  156.513384]  [<ffffffff81099720>] ? abort_exclusive_wait+0xb0/0xb0
[  156.513403]  [<ffffffffa002e873>] ? drm_gem_object_lookup+0x23/0xb0 [drm]
[  156.513407]  [<ffffffff810a0ddd>] ? trace_hardirqs_on+0xd/0x10
[  156.513419]  [<ffffffffa00ae90f>] i915_gem_set_domain_ioctl+0x16f/0x260
[i915]
[  156.513427]  [<ffffffffa002cbb2>] drm_ioctl+0x4f2/0x630 [drm]
[  156.513432]  [<ffffffff811cb9d7>] ? mntput_no_expire+0x17/0x1c0
[  156.513436]  [<ffffffff811be490>] do_vfs_ioctl+0x300/0x520
[  156.513440]  [<ffffffff810ef48c>] ? __audit_syscall_entry+0x9c/0xf0
[  156.513443]  [<ffffffff811be6f5>] SyS_ioctl+0x45/0x80
[  156.513447]  [<ffffffff816589d2>] system_call_fastpath+0x16/0x1b</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>