<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]Some subcases of igt//kms_fbc_crc skip"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78418">78418</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>[BDW]Some subcases of igt//kms_fbc_crc skip
</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=98659" name="attach_98659" title="dmesg">attachment 98659</a> <a href="attachment.cgi?id=98659&action=edit" title="dmesg">[details]</a></span>
dmesg
*System Environment:
--------------------------
Regression: No.
The cases always skipped
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:
-----------------------------
FBC was enabled on BDW by default, Some subcases of igt/kms_fbc_crc still skip
Output:
./kms_fbc_crc
IGT-Version: 1.6-g7935bbd (x86_64) (Linux:
3.15.0-rc3_drm-intel-next-queued_bf67a6_20140507+ x86_64)
Beginning page_flip on crtc 5, connector 14
Test assertion failure function test_crc, file kms_fbc_crc.c:314:
Last errno: 0, Success
Failed assertion: igt_crc_equal(&crcs[0], &data->ref_crc[1])
Subtest page_flip: FAIL
Beginning mmap_cpu on crtc 5, connector 14
mmap_cpu on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest mmap_cpu: SKIP
Beginning mmap_gtt on crtc 5, connector 14
mmap_gtt on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest mmap_gtt: SKIP
Beginning blt on crtc 5, connector 14
blt on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest blt: SKIP
Beginning render on crtc 5, connector 14
render on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest render: SKIP
Beginning context on crtc 5, connector 14
context on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest context: SKIP
Beginning page_flip_and_mmap_cpu on crtc 5, connector 14
page_flip_and_mmap_cpu on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest page_flip_and_mmap_cpu: SKIP
Beginning page_flip_and_mmap_gtt on crtc 5, connector 14
page_flip_and_mmap_gtt on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest page_flip_and_mmap_gtt: SKIP
Beginning page_flip_and_blt on crtc 5, connector 14
page_flip_and_blt on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest page_flip_and_blt: SKIP
Beginning page_flip_and_render on crtc 5, connector 14
page_flip_and_render on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest page_flip_and_render: SKIP
Beginning page_flip_and_context on crtc 5, connector 14
page_flip_and_context on crtc 5, connector 14: PASSED
Test requirement not met in function prepare_crtc, file kms_fbc_crc.c:385:
Last errno: 0, Success
Test requirement: (!fbc_enabled(data))
Subtest page_flip_and_context: SKIP
"
*Reproduce steps:
----------------------------
1. ./kms_fbc_crc</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>