<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BSW]igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at drivers/gpu/drm/i915/intel_display.c:3486 intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83759">bug 83759</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 - [BSW]igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at drivers/gpu/drm/i915/intel_display.c:3486 intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83759#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [BSW]igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at drivers/gpu/drm/i915/intel_display.c:3486 intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83759">bug 83759</a>
              from <span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span></b>
        <pre>(In reply to Daniel Vetter from <a href="show_bug.cgi?id=83759#c8">comment #8</a>)
<span class="quote">> Ah, bad mixup on my side. This should be address with

> commit cb4975b7c365f6d8e6d17cf4a24d846b3d27e6b7
> Author: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
> Date:   Tue May 27 21:33:09 2014 +0300

>     drm/i915: Ignore SURFLIVE and flip counter when the GPU gets reset

> from -fixes. Please retest.</span >

The dmesg warning still able to reproduce on latest
-fixes(cb4975b7c365f6d8e6d17cf4a24d846b3d27e6b7).

[root@x-bsw01 tests]# ./kms_flip --run-subtest bcs-flip-vs-panning
IGT-Version: 1.8-gd807891 (x86_64) (Linux: 3.18.0-rc5_kcloud_cb4975_20141124+
x86_64)
Using monotonic timestamps
Beginning bcs-flip-vs-panning on crtc 8, connector 29
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
bcs-flip-vs-panning on crtc 8, connector 29: PASSED

Beginning bcs-flip-vs-panning on crtc 13, connector 29
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
bcs-flip-vs-panning on crtc 13, connector 29: PASSED

Subtest bcs-flip-vs-panning: SUCCESS (126.714s)
[root@x-bsw01 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
<3>[  216.435824] [drm:valleyview_pipestat_irq_handler] *ERROR* pipe A underrun
<4>[  276.490606] WARNING: CPU: 3 PID: 3852 at
drivers/gpu/drm/i915/intel_display.c:3473
intel_crtc_wait_for_pending_flips+0xd7/0x18d [i915]()
<4>[  276.490610] Modules linked in: iTCO_wdt iTCO_vendor_support dm_mod
serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller snd_hda_codec lpc_ich mfd_core i2c_i801
snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq option
usb_wwan usbserial i915 button video drm_kms_helper dr
<4>[  276.490842]  [<ffffffffa000bea2>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  276.490860]  [<ffffffffa000f62c>] ? drm_mode_setcrtc+0x38b/0x481 [drm]
<4>[  276.490885]  [<ffffffffa00047e3>] ? drm_ioctl+0x344/0x3b3 [drm]
<4>[  276.490902]  [<ffffffffa000f2a1>] ? drm_mode_setplane+0x1cd/0x1cd [drm]
<4>[  276.490991] WARNING: CPU: 3 PID: 3852 at
drivers/gpu/drm/i915/intel_display.c:3479
intel_crtc_wait_for_pending_flips+0x10f/0x18d [i915]()
<4>[  276.490997] Modules linked in: iTCO_wdt iTCO_vendor_support dm_mod
serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller snd_hda_codec lpc_ich mfd_core i2c_i801
snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq option
usb_wwan usbserial i915 button video drm_kms_helper dr
<4>[  276.491252]  [<ffffffffa000bea2>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  276.491270]  [<ffffffffa000f62c>] ? drm_mode_setcrtc+0x38b/0x481 [drm]
<4>[  276.491293]  [<ffffffffa00047e3>] ? drm_ioctl+0x344/0x3b3 [drm]
<4>[  276.491311]  [<ffffffffa000f2a1>] ? drm_mode_setplane+0x1cd/0x1cd [drm]
<3>[  279.070298] [drm:valleyview_pipestat_irq_handler] *ERROR* pipe B underrun
<4>[  339.125445] WARNING: CPU: 3 PID: 3852 at
drivers/gpu/drm/i915/intel_display.c:3473
intel_crtc_wait_for_pending_flips+0xd7/0x18d [i915]()
<4>[  339.125449] Modules linked in: iTCO_wdt iTCO_vendor_support dm_mod
serio_raw pcspkr snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic
snd_hda_intel snd_hda_controller snd_hda_codec lpc_ich mfd_core i2c_i801
snd_hwdep snd_pcm snd_timer snd soundcore battery ac acpi_cpufreq option
usb_wwan usbserial i915 button video drm_kms_helper dr
<4>[  339.125682]  [<ffffffffa000bea2>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  339.125700]  [<ffffffffa000f62c>] ? drm_mode_setcrtc+0x38b/0x481 [drm]
<4>[  339.125725]  [<ffffffffa00047e3>] ? drm_ioctl+0x344/0x3b3 [drm]
<4>[  339.125742]  [<ffffffffa000f2a1>] ? drm_mode_setplane+0x1cd/0x1cd [drm]
<3>[  341.603419] [drm:i9xx_set_fifo_underrun_reporting] *ERROR* pipe B
underrun
<3>[  341.603547] [drm:valleyview_pipestat_irq_handler] *ERROR* pipe B underrun</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>