Created attachment 121992 [details] dmesg.log ==Description== -------------------------------------------------- gem_mmap_gtt/coherency fail ==Attachments== -------------------------------------------------- dmesg.log ==Steps to reproduce== -------------------------------------------------- run the following test ./gem_mmap_gtt --run-subtest coherency IGT-Version: 1.13-gbabcf40 (x86_64) (Linux: 4.5.0-rc5-nightly+ x86_64) (gem_mmap_gtt:1104) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275: (gem_mmap_gtt:1104) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:1104) CRITICAL: error: 0 != 16 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [__real_main563+0xc90] #2 [<unknown>+0xc90] Subtest coherency failed. **** DEBUG **** (gem_mmap_gtt:1104) DEBUG: Test requirement passed: igt_setup_clflush() (gem_mmap_gtt:1104) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275: (gem_mmap_gtt:1104) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:1104) CRITICAL: error: 0 != 16 **** END **** Subtest coherency: FAIL (0.018s) real 0m2.139s user 0m0.006s sys 0m0.008s ==Actual results== -------------------------------------------------- gem_mmap_gtt/coherency fail ==Expected results== -------------------------------------------------- the test must be run and finish without any issues ==Hardware configuration== -------------------------------------------------- Kernel version : 4.5.0-rc5-nightly+ Linux distribution : Ubuntu 15.10 Architecture : 64-bit Mesa version : 11.1.1 (git-330aa44 xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.1 DRM version : 2.4.66 VAAPI version : Intel i965 driver for Intel(R) Broxton - 1.6.3.pre1 (1.6.1-92-gf6fe842) Cairo version : 1.15.2 Bios revision : 119.10 KSC revision : 1.6 Motherboard model : Broxton P Motherboard type : NOTEBOOK Hand Held Motherboard manufacturer : Intel Corp. CPU family : Other CPU information : 06/5c GPU Card : Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) IGT 1.13 ========= Commit : babcf40f29d9e9cce5d0739b1784eb94fe91bd26 kernel ======= commit 1a139ead792d8e912aa13d413b9cf59811fde676 Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Feb 22 10:48:46 2016 +0200 drm-intel-nightly: 2016y-02m-22d-08h-48m-06s UTC integration manifest
Created attachment 122541 [details] BSW-gem_mmap_gtt-coherency_kern.log
Also fail on BSW ./gem_mmap_gtt --run-subtest coherency IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64) (gem_mmap_gtt:1525) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275: (gem_mmap_gtt:1525) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:1525) CRITICAL: error: 0 != 1 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [__real_main563+0xd34] #2 [main+0x29] #3 [__libc_start_main+0xf5] #4 [_start+0x29] #5 [<unknown>+0x29] Subtest coherency failed. **** DEBUG **** (gem_mmap_gtt:1525) DEBUG: Test requirement passed: igt_setup_clflush() (gem_mmap_gtt:1525) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275: (gem_mmap_gtt:1525) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:1525) CRITICAL: error: 0 != 1 **** END **** Subtest coherency: FAIL (0.039s) Hardware: Motherboard: Aspire XC-704 cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz cpu model : 76 cpu family : 6 Graphic card: Device 22b1 (rev 21) Software: Bios: R01-A2 kernel nightly 4.5 10e913a from https://cgit.freedesktop.org/cgit/?url=drm-intel/ commit 10e913a48ca36790da9b58bed8729598ea79ebdb Author: Imre Deak <imre.deak@intel.com> Date: Thu Mar 17 15:23:17 2016 +0200 drm-intel-nightly: 2016y-03m-17d-13h-22m-41s UTC integration manifest cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo libdrm-2.4.67-7 49041c3 from git://anongit.freedesktop.org/mesa/drm IGT 1.14 8f6ed9e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
The following test fail with the next configuration : test cases ================= igt@gem_mmap_gtt@coherency igt@gem_mmap_gtt@big-copy kernel : 4.6.1 from http://www.kernel.org/ Graphic stack --> Component : drm tag : libdrm-2.4.68 commit : fc09c5a --> Component : mesa tag : mesa-11.2.2 commit : 3a9f628 --> Component : cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools tag : intel-gpu-tools-1.15 commit : 3ce58b6 Software information =============================================== Linux distribution : Ubuntu 16.04 Architecture : 64-bit Bios revision : 138.25 KSC revision : 1.12 DMC revision : 1.07 Hardware information =============================================== Platform : BXT-P Motherboard model : Broxton P Motherboard type : NOTEBOOK Hand Held Motherboard manufacturer : Intel Corp. CPU family : B1 CPU information : 06/5c GPU Card : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])
same issue with the following configuration : tests cases ================== igt@gem_mmap_gtt@big-copy igt@gem_mmap_gtt@coherency Software information ============================================ Kernel version : 4.7.0-rc4-drm-intel-nightly-ww26-commit-5c244f4+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit Hardware information ============================================ Platform : BXT-P Motherboard model : Broxton P Motherboard type : NOTEBOOK Hand Held Motherboard manufacturer : Intel Corp. CPU family : B1 CPU information : 06/5c GPU Card : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller]) Memory ram : 16 GB Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.7 GUC fw loaded : SUCCESS GUC version wanted : 8.7 GUC version found : 8.7 --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.68-9-g625d181 commit : 625d181 --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.15-54-g88c1f7c commit : 88c1f7c Kernel information ============================================ commit 5c244f4b128c6274755007e080d46e0a61b71534 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jun 24 16:17:56 2016 +0100 drm-intel-nightly: 2016y-06m-24d-15h-17m-32s UTC integration manifest
(In reply to Humberto Israel Perez Rodriguez from comment #4) > same issue with the following configuration : > > tests cases > ================== > igt@gem_mmap_gtt@big-copy > igt@gem_mmap_gtt@coherency These are two completely different bugs. This bug is for tracking @coherency.
The following tests fails on APL : Tests cases ============================================= igt@gem_mmap_gtt@coherency Hardware Information ============================================= Platform: APL system Linux distribution: Ubuntu 16.04 64 bits CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12, stepping: 9) 4 cores QDF : Q6HE SoC : B1 CRB : Apollo Lake DDR3L RVP1A FAB1 Reworks : R19, R20 Bios : 144.10 KSC: 1.15 Software Information =============================================== drm: libdrm-2.4.68-11 7996a87 mesa: mesa-11.2.2 3a9f628 cairo: 1.15.2 db8a7f1 server: xorg-server-1.18.0-443 3762edd xf86-video-intel: 2.99.917-674 9154dff libva: libva-1.7.0-26 c36971c vaapi-intel-driver: 1.7.0-53 bcde10d Intel-Gpu-Tools 1.15-87 376b813 Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.7 GUC fw loaded : SUCCESS GUC version wanted : 8.7 GUC version found : 8.7 Kernel =============================================== commit 2fe5da8adcbe5a34830b98c63878eea756e977a2 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Jul 2 19:32:50 2016 +0100 drm-intel-nightly: 2016y-07m-02d-18h-31m-39s UTC integration manifest
"Known feature". commit 93437cba7fc87755dd27b4acdc021107301fbe8c Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Oct 22 10:46:41 2016 +0100 igt/gem_mmap_gtt: Document the "expected" behaviour
Here it is: https://git.collabora.com/cgit/user/padovan/intel-gpu-tools.git/commit/?id=93437cba7fc87755dd27b4acdc021107301fbe8c Hi Chris, I still see it failing on BSW with 4.10.0-rc1 847638b branch drm-tip from https://cgit.freedesktop.org/drm-tip So does the test return expected fail?
Created attachment 128790 [details] BSW__4.10.0-rc1--847638b__gem_mmap_gtt--coherency__dmesg
IGT Logs: # ./gem_mmap_gtt --r coherency IGT-Version: 1.17-gcdee645 (x86_64) (Linux: 4.10.0-rc2-nightly+ x86_64) (gem_mmap_gtt:3941) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:336: (gem_mmap_gtt:3941) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:3941) CRITICAL: error: 0 != 1 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [__real_main712+0x14e3] #2 [main+0x35] #3 [__libc_start_main+0xf0] #4 [_start+0x29] #5 [<unknown>+0x29] Subtest coherency failed. **** DEBUG **** (gem_mmap_gtt:3941) DEBUG: Test requirement passed: igt_setup_clflush() (gem_mmap_gtt:3941) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:336: (gem_mmap_gtt:3941) CRITICAL: Failed assertion: cpu[x] == i (gem_mmap_gtt:3941) CRITICAL: error: 0 != 1 **** END **** Subtest coherency: FAIL (0.041s)
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.