Bug 72384

Summary: [HSW/BDW]igt/kms_fbc_crc/mmap_cpu fails
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jinxianx.guo, yi.sun
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2013-12-06 06:09:49 UTC
Created attachment 90339 [details]
dmesg

System Environment:
--------------------------
Platform: Haswell
Kernel (drm-intel-nightly)ddd0a9e2da6087c7aac74aca34fcdc90645cbdb4

Bug detailed description:
-------------------------
It fails on haswell with -nightly and -queued kernel. It is not support on -fixes kernel.
It's a new case.
igt/kms_fbc_crc/page_flip_and_mmap_cpu also fails.

Beginning mmap_cpu on crtc 3, connector 9
Test assertion failure function test_crc, file kms_fbc_crc.c:313:
Failed assertion: !igt_crc_equal(&crcs[0], &data->ref_crc[0])
Subtest mmap_cpu: FAIL

Reproduce steps:
-------------------------
1. ./kms_fbc_crc --run-subtest mmap_cpu
Comment 1 lu hua 2014-05-07 01:27:21 UTC
*** Bug 77868 has been marked as a duplicate of this bug. ***
Comment 2 Jani Nikula 2014-09-05 11:39:05 UTC
Timeout, please re-test on current drm-intel-nightly.
Comment 3 lu hua 2014-09-09 02:21:59 UTC
It's skip on latest -nightly kernel.(bug 77932)

[root@x-hsw24 tests]# ./kms_fbc_crc --run-subtest mmap_cpu
IGT-Version: 1.7-gac3d060 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_51c49e_20140908+ x86_64)
Beginning mmap_cpu on pipe A, connector VGA-1
FBC not enabled
mmap_cpu on pipe A, connector VGA-1: SKIPPED
Beginning mmap_cpu on pipe B, connector VGA-1
FBC not enabled
mmap_cpu on pipe B, connector VGA-1: SKIPPED
Beginning mmap_cpu on pipe C, connector VGA-1
FBC not enabled
mmap_cpu on pipe C, connector VGA-1: SKIPPED
Test requirement not met in function run_test, file kms_fbc_crc.c:499:
Test requirement: valid_tests
no valid crtc/connector combinations found
Subtest mmap_cpu: SKIP (1.158s)
[root@x-hsw24 tests]# echo $?
77
Comment 4 Guo Jinxian 2014-11-17 08:15:12 UTC
Failed assertion: !igt_crc_equal(&crcs[0], &data->ref_crc[0]) while running tests below on BDW

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_fbc_crc --run-subtest mmap_cpu
IGT-Version: 1.8-gaa63fc7 (x86_64) (Linux: 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ x86_64)
Beginning mmap_cpu on pipe A, connector eDP-1
Test assertion failure function test_crc, file kms_fbc_crc.c:270:
Failed assertion: !igt_crc_equal(&crcs[0], &data->ref_crc[0])
Subtest mmap_cpu: FAIL (2.086s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_fbc_crc --run-subtest page_flip_and_mmap_cpu
IGT-Version: 1.8-gaa63fc7 (x86_64) (Linux: 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ x86_64)
Beginning page_flip_and_mmap_cpu on pipe A, connector eDP-1
Test assertion failure function test_crc, file kms_fbc_crc.c:274:
Failed assertion: !igt_crc_equal(&crcs[0], &data->ref_crc[1])
Subtest page_flip_and_mmap_cpu: FAIL (2.424s)
Comment 5 Daniel Vetter 2014-11-18 09:54:16 UTC
fbc isn't enabled anywhere by default, until that's the case no point in tracking bugzillas - this stuff should be in JIRA.
Comment 6 Elizabeth 2017-10-06 14:41:33 UTC
Closing old verified.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.