<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 --- - [BDW]igt/kms_fbc_crc/page_flip fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78419">78419</a>
          </td>
        </tr>

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

        <tr>
          <th>Assignee</th>
          <td>ville.syrjala@linux.intel.com
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW]igt/kms_fbc_crc/page_flip fails
          </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>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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=98660" name="attach_98660" title="dmesg">attachment 98660</a> <a href="attachment.cgi?id=98660&action=edit" title="dmesg">[details]</a></span>
dmesg

*System Environment:
--------------------------
Regression: No.  
The cases always fails

Non-working platforms: BDW

 *kernel: 
--------------------------
-nightly: 5e83a7964e9530e6f693a3d49adccceb7a4b86e1 (fails)
-queued: d9ceb957fd97836c7fb0e403062e68ad2f737021 (fails)
    Author: Ben Widawsky <<a href="mailto:benjamin.widawsky@intel.com">benjamin.widawsky@intel.com</a>>
    Date:   Mon Apr 28 17:18:28 2014 -0700

    drm/i915: Support 64b relocations

    All the rest of the code to enable this is in my branch. Without my
    branch, hitting > 32b offsets is impossible. The code has always
    "supported" 64b, but it's never actually been run of tested. This change
    doesn't actually fix anything. [1] I am not sure why X won't work yet. I
    do not get hangs or obvious errors.

    There are 3 fixes grouped together here. First is to remove the
    hardcoded 0 for the upper dword of the relocation. The next fix is to
    use a 64b value for target_offset. The final fix is to not directly
    apply target_offset to reloc->delta. reloc->delta is part of ABI, and so
    we cannot change it. As it stands, 32b is enough to represent everything
    we're interested in representing anyway. The main problem is, we cannot
    add greater than 32b values to it directly.

    [1] Almost all of intel-gpu-tools is not yet ready to test 64b
    relocations. There are a few places that expect 32b values for offsets
    and these all won't work.

    Cc: Rafael Barbalho <<a href="mailto:rafael.barbalho@intel.com">rafael.barbalho@intel.com</a>>
    Cc: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Signed-off-by: Ben Widawsky <<a href="mailto:ben@bwidawsk.net">ben@bwidawsk.net</a>>
    Reviewed-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>

-fixes: 9bbfd20abe5025adbb0ac75160bd2e41158a9e83 (fails)
    Author: Paulo Zanoni <<a href="mailto:paulo.r.zanoni@intel.com">paulo.r.zanoni@intel.com</a>>
    Date:   Tue Apr 29 11:00:22 2014 -0300

    drm/i915: don't try DP_LINK_BW_5_4 on HSW ULX

    Because the docs say ULX doesn't support it on HSW.

    Reviewed-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>>
    Signed-off-by: Paulo Zanoni <<a href="mailto:paulo.r.zanoni@intel.com">paulo.r.zanoni@intel.com</a>>
    Signed-off-by: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>

 *Bug detailed description:
-----------------------------
igt/kms_fbc_crc/page_flip fails

Output:
  ./kms_fbc_crc --run-subtest page_flip
IGT-Version: 1.6-g7935bbd (x86_64) (Linux:
3.15.0-rc2_drm-intel-fixes_0aa7de_20140507+ x86_64)
Beginning page_flip on crtc 5, connector 14
Test assertion failure function test_crc, file kms_fbc_crc.c:332:
Last errno: 0, Success
Failed assertion: igt_crc_equal(&crcs[0], &data->ref_crc[1])
Subtest page_flip: FAIL

 *Reproduce steps:
---------------------------- 
1. ./kms_fbc_crc --run-subtest page_flip</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>