Bug 92471

Summary: [KBL/BYT] lack of support for partial tiled GTT mmappings with IGT/gem_mmap_gtt -sub-tests big/huge-X/Y
Product: DRI Reporter: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Component: DRM/IntelAssignee: Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: BYT, KBL i915 features: GEM/Other
Attachments:
Description Flags
dmesg log
none
i915_error_state.log
none
dmesg log BDW
none
kbl-gem_mmap_gtt-big-_kern.log
none
IVB-gem_mmap_gtt__big_huge_x_y-kern.log
none
IVB-gem_mmap_gtt__big_huge_x_y-output none

Description Humberto Israel Perez Rodriguez 2015-10-15 16:04:44 UTC
Created attachment 118890 [details]
dmesg log

Kernel <drm-intel-testing-2015-10-10>


==Bug detailed description==
--------------------------------------------------
gem_mmap_gtt -sub-tests big-copy-XY /  big-bo-tiledX / big-bo-tiledY causes crash

==Attachments==
--------------------------------------------------
dmesg.log
i915_error_state.log

==Steps to reproduce==
--------------------------------------------------
run any of the following sub-tests
<%big-copy-XY%>
<% big-bo-tiledX%>
<% big-bo-tiledY%>

gem_mmap_gtt --run-subtest big-bo-tiledX
gem_mmap_gtt --run-subtest big-bo-tiledY
gem_mmap_gtt --run-subtest big-copy


==Actual results==
--------------------------------------------------
the subtests causes crash

==Expected results==
--------------------------------------------------
The subtests must pass


==Hardware configuration==
--------------------------------------------------

-- Platform: --
Processor: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
Motherboard : D54250WYK
Memory : 8GB

-- Software --
Linux distribution: Ubuntu 14.04.03 LTS 64Bits
BIOS: 4.6


==Test Environment==
--------------------------------------------------
kernel: 4.3.0-rc4-drm-intel-testing-2015-10-10
xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel-2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver-1.6.1
cairo-1.14.2
IGT Version : 1.12-g1f9e055
Comment 1 Humberto Israel Perez Rodriguez 2015-10-15 16:05:17 UTC
Created attachment 118891 [details]
i915_error_state.log
Comment 2 Elio 2015-10-15 23:06:53 UTC
The following test cases are failing with BYT:

gt@gem_mmap_gtt@basic-write		

igt@gem_mmap_gtt@big-bo-tiledx		
igt@gem_mmap_gtt@big-bo-tiledy		
igt@gem_mmap_gtt@big-copy		
igt@gem_mmap_gtt@big-copy-xy		
igt@gem_mmap_gtt@huge-bo-tiledx		 
igt@gem_mmap_gtt@huge-bo-tiledy	

Configuration:

	
Kernel: http://vanaheimr.fr.intel.com/shared/out/kernels/drm-intel/WW42.1_4.3.0-rc4_c38f2c2/
 xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver 1.6.1
cairo 1.14.2
intel-gpu-tools-1.12
Comment 3 Jairo Miramontes 2015-10-16 15:57:43 UTC
Created attachment 118926 [details]
dmesg log BDW

This is also reproduced on BDW with the following configuration, attached dmesg log

Hardware:
````````````````````````````````````
Motherboard: Lenovo G50-80
CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz

Software:
````````````````````````````````````
BIOS: 1.69
Distribution: Ubuntu 14.04.3 LTS


Test Environment:
````````````````````````````````````
Kernel:4.3.0-rc4 drm-intel-testing-2015-10-10
Mesa: mesa-11.0.2 
Xf86_video_intel: 2.99.917 
Libdrm: libdrm-2.4.65
Cairo: 1.14.2 
libva: libva-1.6.1 
intel-driver: 1.6.1
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 
Intel-gpu-tools: 1.12
Comment 4 Humberto Israel Perez Rodriguez 2015-10-28 18:23:36 UTC
The following tests cases also fail on BYT-M with the next configuration :


Ubuntu 14.04.03 x64 LTS
xorg-server : 1.17.2
libdrm : 2.4.65
xf86-video-intel : 2.99.917
mesa : 11.0.4
libva : 1.6.1
intel: driver 1.6.1
cairo : 1.14.2
intel-gpu-tools : 1.12 (commit a2c6786)

Kernel: drm-intel-nightly: 2015y-10m-23d-09h-56m-09s
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200


<%gem_mmap_gtt@huge-bo-tiledx%>
<%gem_mmap_gtt@huge-bo-tiledy%>
<%gem_mmap_gtt@big-copy-xy%>
<%gem_mmap_gtt@big-bo-tiledx%>
<%gem_mmap_gtt@big-bo-tiledy%>



The following test only fail, please see the command output :

Test : <%gem_mmap_gtt@big-copy%>


 ./gem_mmap_gtt --run-subtest big-copy
IGT-Version: 1.12-ga2c6786 (x86_64) (Linux: 4.3.0-rc6-mainline+ x86_64)
Test assertion failure function test_huge_copy, file gem_mmap_gtt.c:395:
Failed assertion: memcmp(pattern_a, a + PAGE_SIZE*i, PAGE_SIZE) == 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [test_huge_copy+0x49b]
  #2 [__real_main509+0xa44]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest big-copy failed.
**** DEBUG ****
Checking 2 surfaces of size 268,439,552 bytes (total 536,883,200) against RAM
Test requirement passed: !(total <= required)
Test requirement passed: !igt_run_in_simulation()
Test requirement passed: a
Test requirement passed: b
Test assertion failure function test_huge_copy, file gem_mmap_gtt.c:395:
Failed assertion: memcmp(pattern_a, a + PAGE_SIZE*i, PAGE_SIZE) == 0
****  END  ****
Subtest big-copy: FAIL (5.988s)

real    0m6.515s
user    0m5.219s
sys     0m0.855s
Comment 5 Chris Wilson 2015-10-28 18:46:26 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #4)
> The following tests cases also fail on BYT-M with the next configuration :

This bug is supported to be about the lack of support for partial tiled GTT mmappings. There should be another bug that the (supported) partial linear GTT mmappings are snafu.
Comment 6 Humberto Israel Perez Rodriguez 2015-12-11 04:52:45 UTC
the following tests fail on SKL-Y with latest setup :

gem_mmap_gtt@big-copy-xy
gem_mmap_gtt@big-bo-tiledx
gem_mmap_gtt@big-bo-tiledy
gem_mmap_gtt@big-copy


 --- Hardware information ---
Motherboard model             : Skylake Client platform
Motherboard type              : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer      : Intel Corporation
CPU information               : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
GPU Card                      : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
KSC                           : 1.15

Linux distribution: Ubuntu 15.10 LTS 64 bits
Kernel: 4.3 mainline from https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.3
Bios SKL: SKLSE2R1.R00.B104.B01.1511110114)
xorg-server-1.18.0 from http://cgit.freedesktop.org/xorg/xserver
libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm/
xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.2.pre1 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver 1.6.2.pre1 from http://cgit.freedesktop.org/vaapi/intel-driver
cairo 1.14.4 from http://cgit.freedesktop.org/cairo
Rendercheck 1.5 from http://cgit.freedesktop.org/xorg/app/rendercheck
SKL-Y :  DMC 1.23 and GUC 4.3 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
IGT 1.13: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=2db78a4995a8ee298ae0cd68879baf80407a0e5e
Comment 7 Chris Wilson 2016-01-28 10:11:01 UTC
http://patchwork.freedesktop.org/patch/69997/
Comment 8 cprigent 2016-03-14 20:08:39 UTC
Hi Humberto,
Could you check the result with http://patchwork.freedesktop.org/patch/69997/.
If the patch doesn't apply to the current HEAD, please contact Chris to do a rebase.
Thanks.
Comment 9 maria guadalupe 2016-04-01 18:51:35 UTC
This bug was also reproduced on BXT under the following configuration


Hardware configuration
=======================
Platform     BXT - P (APL)
Motherboard model  Apollo Lake
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])
Memory ram   8 GB


Software configuration
=======================
 --> Component : drm 
       url : http://cgit.freedesktop.org/mesa/drm 
       tag : libdrm-2.4.67-11-gea78c17 
       commit : ea78c17 
       author : Emil Velikov <emil.l.velikov@gmail.com> 
       age : 20 hours ago 
 --> Component : mesa 
       url : http://cgit.freedesktop.org/mesa/mesa 
       tag : mesa-11.1.2 
       commit : 7bcd827 
       author : Emil Velikov <emil.velikov@collabora.com> 
       age : 7 weeks ago 
 --> Component : xf86-video-intel 
       url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
       tag : 2.99.917-590-g094924f 
       commit : 094924f 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 4 days ago 
 --> Component : libva 
       url : http://cgit.freedesktop.org/libva/ 
       tag : libva-1.7.0-1-g2339d10 
       commit : 2339d10 
       author : Xiang Haihao <haihao.xiang@intel.com> 
       age : 13 days ago 
 --> Component : vaapi (intel-driver) 
       url : http://cgit.freedesktop.org/vaapi/intel-driver 
       tag : 1.7.0-5-g759e44d 
       commit : 759e44d 
       author : peng.chen <peng.c.chen@intel.com> 
       age : 13 days ago 
 --> Component : cairo 
       url : http://cgit.freedesktop.org/cairo 
       tag : 1.15.2 
       commit : db8a7f1 
       author : Bryce Harrington <bryce@osg.samsung.com> 
       age : 4 months ago 
 --> Component : xserver 
       url :  http://cgit.freedesktop.org/xorg/xserver 
       tag : xorg-server-1.18.0-254-g44e1c97 
       commit : 44e1c97 
       author : Olivier Fourdan <ofourdan@redhat.com> 
       age : 8 days ago 
 --> Component : intel-gpu-tools 
       url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
       tag : intel-gpu-tools-1.14-129-g41a26b5 
       commit : 41a26b5 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 26 hours ago  


kernel configuration
=====================
Branch : drm-intel-nightly
commit f5d413cccefa1f93d64c34f357151d42add63a84
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Thu Mar 24 14:35:16 2016 +0000

    drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest
Kernel version : 4.5.0
Architecture : source amd64 all
Comment 10 Luis Botello 2016-04-18 20:36:32 UTC
This issue is also seen over APL with the following configuration:

Hardware Configuration
===========================================
Platform: BXT - P (APL)
CPU : CPU family   Other
CPU information:   06/5c
Motherboard model  Apollo Lake
Motherboard type    NOTEBOOK Hand Held
Motherboard manufacturer Intel Corp.



Software Configuration
================================================
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.6.0-rc3_d9131d6 from http://cgit.freedesktop.org/drm-intel/
commit d9131d62d18ba94fb3ca019f1156c22b5f4ce23c
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Apr 15 14:54:26 2016 +0100
drm-intel-nightly: 2016y-04m-15d-13h-53m-44s UTC integration manifestdrm: tag libdrm-2.4.66-33-gf884af9
      libdrm 2.4.67-25 cc9a53f from git://git.freedesktop.org/git/mesa/drm
mesa 11.1.2 7bcd827 from git://git.freedesktop.org/git/mesa/mesa
cairo 1.15.2 db8a7f1 from git://git.freedesktop.org/git/cairo
xorg/xserver 1.18.0-274 8437955 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-634 81029be from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
vaapi/libva 1.7.0-1 2339d10 from git://git.freedesktop.org/git/vaapi/libva
vaapi/intel-driver 1.7.0-8 2c1bec0 from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tool 1.14 7bd2ac6 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
rendercheck master 44032a7 from http://anongit.freedesktop.org/git/xorg/app/rendercheck.git
Comment 11 yann 2016-04-29 11:05:50 UTC
Increasing priority due to current platform experience impact
Comment 12 cprigent 2016-05-13 13:52:27 UTC
Humberto,
Could you check the result with http://patchwork.freedesktop.org/patch/69997/.
If the patch doesn't apply to the current HEAD, please contact Chris to do a rebase.
Thanks.
Comment 13 cprigent 2016-05-13 13:57:10 UTC
Created attachment 123696 [details]
kbl-gem_mmap_gtt-big-_kern.log

I also attach the log from KBL-U.

# ./gem_mmap_gtt --run-subtest big-bo-tiledX
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Received signal SIGBUS.
Subtest big-bo-tiledX: CRASH (0,169s)

# ./gem_mmap_gtt --run-subtest big-bo-tiledY
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Received signal SIGBUS.
Subtest big-bo-tiledY: CRASH (0,165s)

# ./gem_mmap_gtt --run-subtest big-copy-XY
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Received signal SIGBUS.
Subtest big-copy-XY: CRASH (0,119s)

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 15.10 64 bits
kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/
  commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date:   Mon May 9 19:24:21 2016 +0300
  drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest
libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 14 Luis Botello 2016-05-27 21:22:57 UTC
This isuue is also seen on KBL with the following config:

Gfx stack information
===============================================
--> Component : drm 
                 tag : libdrm-2.4.68-4-g7aab852 
                 commit : 7aab852 
 --> Component : mesa 
                 tag : mesa-11.1.2 
                 commit : 7bcd827 
 --> Component : cairo 
                 tag : 1.15.2 
                 commit : db8a7f1 
 --> Component : intel-gpu-tools
                tag : intel-gpu-tools-1.14-346-gcce2ff0
                commit : cce2ff0


Software information
============================

Kernel version                      : 4.6.0-nightly+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 28.1
KSC revision                        : 1.15


Hardware information 
=============================

Platform                            : SKL-Y to KBL (RVP3)
Motherboard model                   : Kabylake Client platform
Motherboard manufacturer            : Intel Corporation
CPU information                     : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                            : Intel Corporation Device 591e (prog-if 00 [VGA controller])


|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Comment 15 Humberto Israel Perez Rodriguez 2016-05-27 21:58:39 UTC
the following test keep crash on BXT-P with the next configuration :

test cases
==================================================
igt@gem_mmap_gtt@big-copy-xy
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-bo-tiledx



Gfx stack information
===============================================
--> Component : drm 
                 tag : libdrm-2.4.68-4-g7aab852 
                 commit : 7aab852 
 --> Component : mesa 
                 tag : mesa-11.1.2 
                 commit : 7bcd827 
 --> Component : cairo 
                 tag : 1.15.2 
                 commit : db8a7f1 
 --> Component : intel-gpu-tools
                tag : intel-gpu-tools-1.14-346-gcce2ff0
                commit : cce2ff0


Software information
===============================================
Kernel version                      : 4.6.0-rc7-drm-intel-nightly-ww20-commit-5528ede+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 138.25
KSC revision                        : 1.12
DMC revision                        : 1.07
GUC revision                        : 8.7


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])


kernel
===============================================
commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200

    drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest


there is not relevant dmesg output
===============================================
kern  :debug : [Mon May 23 13:12:32 2016] [drm:i915_gem_open]
kern  :debug : [Mon May 23 13:12:32 2016] [drm:i915_gem_open]
kern  :debug : [Mon May 23 13:12:33 2016] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23] scaler_user index 0.0
kern  :debug : [Mon May 23 13:12:33 2016] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:29] scaler_user index 1.4
kern  :debug : [Mon May 23 13:12:33 2016] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:34] scaler_user index 2.8
Comment 16 Humberto Israel Perez Rodriguez 2016-06-03 17:01:32 UTC
The following tests cases are fail with the following configuration :


Tests cases
===============================================
igt@gem_mmap_gtt@big-bo-tiledx
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-copy-xy


Gfx stack information
===============================================
--> Component : drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
--> Component : cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
--> Component : intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-348-g303b380 
	 commit : 303b380 
 
Software information
===============================================
Kernel version                      : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
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])

kernel
===============================================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

    drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest
Comment 17 maria guadalupe 2016-06-06 22:06:31 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                        : Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest


Kernel version : 4.6.0

========== test cases failed ===============

igt@gem_mmap_gtt@big-copy-xy
igt@gem_mmap_gtt@big-copy
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-bo-tiledx
Comment 18 Humberto Israel Perez Rodriguez 2016-06-19 17:13:53 UTC
The following test crash with the next configuration :


test cases
=================
igt@gem_mmap_gtt@big-bo-tiledx
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-copy-xy



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])
Comment 19 Humberto Israel Perez Rodriguez 2016-06-29 17:30:56 UTC
The following tests cases crash with the next configuration

Tests cases
============================================
igt@gem_mmap_gtt@big-copy-xy
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-bo-tiledx


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
Comment 20 Humberto Israel Perez Rodriguez 2016-07-08 15:58:58 UTC
The following tests fails on APL :

Tests cases
=============================================
igt@gem_mmap_gtt@big-bo-tiledy
igt@gem_mmap_gtt@big-copy-xy
igt@gem_mmap_gtt@big-bo-tiledx


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
Comment 21 cprigent 2016-07-29 09:38:35 UTC
Created attachment 125398 [details]
IVB-gem_mmap_gtt__big_huge_x_y-kern.log
Comment 22 cprigent 2016-07-29 09:39:13 UTC
Created attachment 125399 [details]
IVB-gem_mmap_gtt__big_huge_x_y-output

Logs attached for IVB

Platform: IVB
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (family 6, model 58, stepping 9)
Motherboard version: DH77EB
GPU: Intel® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
Software
Bios: EBH7710H.86A.0096.2012.1012.1645
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.7.0-rc7 7eeb04a from http://cgit.freedesktop.org/drm-intel/
  commit 7eeb04a101316645916d4d9df058a9341797f1af
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Sun Jul 24 11:00:31 2016 +0100
  drm-intel-nightly: 2016y-07m-24d-09h-59m-54s UTC integration manifest
drm: libdrm-2.4.70 0caa84c from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.18.0-497 0b2f308 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-687 6988b87 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-58 e554446 from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15-140 e3abb20 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 23 cprigent 2016-07-29 09:48:50 UTC
(In reply to Chris Wilson from comment #5)
> There should be another bug that the (supported) partial linear
> GTT mmappings are snafu.

It is tracked by bug 97127
Comment 24 cprigent 2016-07-29 09:50:29 UTC
Still assigned to Humberto to check the result with http://patchwork.freedesktop.org/patch/69997/.
If the patch doesn't apply to the current HEAD, please contact Chris to do a rebase.
Comment 25 Chris Wilson 2016-08-19 09:26:18 UTC
commit a61007a83a4671da77210790997d5c8c92ed87ea
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 18 17:17:02 2016 +0100

    drm/i915: Fix partial GGTT faulting
Comment 26 Humberto Israel Perez Rodriguez 2016-08-24 20:14:50 UTC
(In reply to Chris Wilson from comment #25)
> commit a61007a83a4671da77210790997d5c8c92ed87ea
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Thu Aug 18 17:17:02 2016 +0100
> 
>     drm/i915: Fix partial GGTT faulting

on the following platforms this issue does not occurs with the above nightly commit


 Hardware information
============================================
Platform                        : HSW-U
Motherboard type                : D54250WYK Desktop
CPU family                      : Core i5
CPU information                 : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
GPU Card                        : Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
CPU thread                      : 4
CPU core                        : 2
Socket                          : Socket LGA1150
Signature                       : Type 0, Family 6, Model 69, Stepping 1


 Hardware information
============================================
Platform                        : BXT-P
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 0a) (prog-if 00 [VGA controller])
Memory ram                      : 16 GB
CPU thread                      : 4
CPU core                        : 4
Socket                          : Other
Hard drive capacity             : 111GiB (120GB)

 Hardware information
============================================
Platform                        : SKL
Motherboard model               : Inspiron 15-7568
Motherboard type                : 02HK88 Laptop
Motherboard manufacturer        : Dell Inc.
CPU family                      : Core i7
CPU information                 : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GPU Card                        : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
CPU thread                      : 4
CPU core                        : 2
Signature                       : Type 0, Family 6, Model 78, Stepping 3


 Hardware information
============================================
Platform                        : BDW
Motherboard model               : 80E5
Motherboard type                : Lenovo G50-80 Notebook
Motherboard manufacturer        : LENOVO
CPU family                      : Core i5
CPU information                 : Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
GPU Card                        : Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller])
Memory ram                      : 6 GB
Display                         : eDP
CPU thread                      : 4
CPU core                        : 2
Socket                          : Socket BGA1168
Signature                       : Type 0, Family 6, Model 61, Stepping 4

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.