Summary: | [KBL/IVB] bug in the partial vma handling with igt/gem_mmap_gtt/huge-copy/big-copy | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | lu hua <huax.lu> | ||||||||||||
Component: | DRM/Intel | Assignee: | Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez> | ||||||||||||
Status: | CLOSED FIXED | QA Contact: | Kevin Strasser <kevin.strasser> | ||||||||||||
Severity: | normal | ||||||||||||||
Priority: | high | CC: | christophe.prigent, humberto.i.perez.rodriguez, intel-gfx-bugs | ||||||||||||
Version: | unspecified | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | Linux (All) | ||||||||||||||
Whiteboard: | |||||||||||||||
i915 platform: | HSW, IVB, KBL | i915 features: | GEM/Other | ||||||||||||
Attachments: |
|
Description
lu hua
2015-05-12 08:22:27 UTC
Created attachment 115710 [details]
dmesg
==Reproduce steps==
----------------------------
1. ./gem_mmap_gtt --run-subtest big-copy
still happen on SKL-Y with the latest kernel : Kernel commit log: commit b4c4542ba1abfb0d3d6913504502573bf2c62b12 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Aug 28 15:51:30 2015 +0200 drm-intel-nightly: 2015y-08m-28d-13h-50m-34s UTC integration manifest still happen on SKL-Y with the latest kernel : Kernel : 4.3.0-rc2-drm-intel-nightly Reproduced on BSW-M: Hardware: Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW D0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37 Optional reworks : O-01a; O-02, O-03 Software : Linux distribution: Ubuntu 14.04 LTS 64 bits BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 kernel 4.3.0-rc3-drm-intel-nightly+ (eb69e51) from git://anongit.freedesktop.org/drm-intel Mesa - 11.0.2 from http://cgit.freedesktop.org/mesa/mesa/ xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm - 2.4.64 from http://cgit.freedesktop.org/mesa/drm/ Libva - 1.6.1 from http://cgit.freedesktop.org/libva/ vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver Reproduced on HSW with the latest configuration: Configuration : --------------------------------------------- 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 Reproduced on BSW: Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW D0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37 Optional reworks : O-01a; O-02, O-03 BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 Linux distribution: Ubuntu 14.04 LTS 64 bits kernel 4.3.0-rc5-drm-intel-nightly+ 819f710081d7ea116b9b44a9264061d2c030f009 from git://anongit.freedesktop.org/drm-intel Mesa - 11.0.3 from http://cgit.freedesktop.org/mesa/mesa/ xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/ Libva - 1.6.1 from http://cgit.freedesktop.org/libva/ vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver Kernel commit 819f710081d7ea116b9b44a9264061d2c030f009 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Oct 14 19:05:17 2015 +0200 drm-intel-nightly: 2015y-10m-14d-17h-04m-36s UTC integration manifest Reproduced on SKL: Platform: SKY LAKE Y A0 CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78 stepping: 3) MCP : SKL-Y D1 2+2 (ou ULX-D1) QDF : QJK9 CPU : SKL D0 Chipset PCH: Sunrise Point LP C1 CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2 Reworks : All Mandatories + FBS02,FBS03, F23, O-02 & O-06 BIOS : SKLSE2R1.R00.X097.B02.1509020030 ME FW : 11.0.0.1173 Ksc (EC FW): 1.19 Linux distribution: Ubuntu 14.04 LTS 64 bits kernel 4.3.0-rc5-drm-intel-nightly+ 819f710081d7ea116b9b44a9264061d2c030f009 from git://anongit.freedesktop.org/drm-intel Mesa - 11.0.3 from http://cgit.freedesktop.org/mesa/mesa/ xf86-video-intel - 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm - 2.4.65 from http://cgit.freedesktop.org/mesa/drm/ Libva - 1.6.1 from http://cgit.freedesktop.org/libva/ vaapi intel-driver - 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver Cairo - 1.14.2 from http://cgit.freedesktop.org/cairo Xorg Xserver - 1.17.2 from http://cgit.freedesktop.org/xorg/xserver Kernel commit 819f710081d7ea116b9b44a9264061d2c030f009 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Oct 14 19:05:17 2015 +0200 drm-intel-nightly: 2015y-10m-14d-17h-04m-36s UTC integration manifest This test is mapping 2 blocks of memory which seem to be corrupting one another. That is, if I write a page of data to index 0 of block b, I can see the same page at index 2304 of block a, followed by 255 pages of cleared memory. I would have to assume that this chunk of memory is associated with a cache line. In any case, given that smaller object sizes are working there appears to be some limit with how much memory we can map without overlap. I'll continue investigating. It's just a bug in the partial vma handling. I have a fix in my tree for this and partial tiled support. Reproduced on Sky Lake Y with the kernel 4.3.0-rc5 drm-intel-next-fixes-2015-11-06. Setup: ------ Hardware Platform: SKY LAKE Y A0 CPU : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz (family: 6, model: 78 stepping: 3) MCP : SKL-Y D0 2+2 (ou ULX-D1) QDF : QJA4 CPU : SKL D0 Chipset PCH: Sunrise Point LP C1 CRB : SKY LAKE Y LPDDR3 RVP3 CRB FAB2 Reworks : All Mandatories Software BIOS : SKLSE2R1.R00.B104.B01.1511110114 ME FW : 11.0.0.1179 Ksc (EC FW): 1.19 Linux : Ubuntu 15.04 64 bits Kernel : 4.3.0-rc5 drm-intel-next-fixes-2015-11-06 commit 816d2206f0f9953ca854e4ff1a2749a5cbd62715 Merge: d0baf92 1b0e3a0 Author: Dave Airlie <airlied@gmail.com> Date: Sat Nov 7 17:16:59 2015 +1000 Merge tag 'drm-intel-next-fixes-2015-11-06' of git://anongit.freedesktop.org/drm-in cairo: 1.14.2 drm: 2.4.65 vaapi/intel-driver: 1.6.1 vaapi/libva: 1.6.1 mesa: mesa-11.0.5 xf86-video-intel: 2.99.917 xserver: xorg-server-1.17.2 Intel GPU Tools: master bfea74a9f64a900bcb90f946b38746781017449f Reproduced on BSW with last setup: Hardware: Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW C0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37 Optional reworks : O-01a; O-02, O-03 Software: Linux distribution: Ubuntu 15.04 LTS 64 bits BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 kernel drm-intel-nightly: 2015y-11m-12d-15h-35m-53s UTC integration manifest commit 4c2531304c0a2f36f6b2cce2add5b5b2bd3fd893 Author: Jani Nikula <jani.nikula@intel.com> Date: Thu Nov 12 17:36:12 2015 +0200 cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo drm: (HEAD, tag: libdrm-2.4.65, tag: 2.4.65) c3496167637e35cf8a52d5e7e53a412e79d80db0 from git://git.freedesktop.org/git/mesa/drm intel-driver: (HEAD, tag: 1.6.1, origin/v1.6-branch) 35858c69166b845c59ca32e19a3dbb0b758df209 from git://git.freedesktop.org/git/vaapi/intel-driver libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch) 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from git://git.freedesktop.org/git/vaapi/libva mesa: (HEAD, tag: mesa-11.0.5) ee57c22141c42d9b511a7dfa5971c4428cd1c6e7 from git://git.freedesktop.org/git/mesa/mesa xf86-video-intel: (HEAD, tag: 2.99.917) baec802b21387d04aebb10ac29e719a1800c5aa0 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel xserver: (HEAD, tag: xorg-server-1.17.2) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver Test is also fail on SKL-Y with kernel tag drm-intel-testing-2015-11-20 Motherboard: Skylake Y cpu model name : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz cpu model : 78 cpu family : 6 Graphic card: Device 191e (rev 07) Software: Kernel: tag drm-intel-testing-2015-11-20 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 (4.4-rc1) from git://anongit.freedesktop.org/drm-intel Ubuntu 14.04.2 LTS Bios: SKLSE2R1.R00.B104.B01.1511110114 Libdrm: 2.4.65 from http://cgit.freedesktop.org/mesa/drm Test is fail on HSW-ULT with kernel testing tag 2015-11-20 Hardware: Motherboard: SawTooth Peak cpu model name : Intel(R) Core(TM) i7-4550U CPU @ 1.50GHz cpu model : 69 cpu family : 6 Graphic card: Haswell-ULT Integrated Graphics Controller (rev 09) Software: Kernel tag drm-intel-testing-2015-11-20 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 (4.4-rc1) from git://anongit.freedesktop.org/drm-intel commit 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 Author: Imre Deak <imre.deak@intel.com> Date: Fri Nov 20 11:50:03 2015 +0200 drm-intel-nightly: 2015y-11m-20d-09h-49m-41s UTC integration manifest Ubuntu 14.04.1 LTS Bios: HSWLPTU1.86C.0135.R01.1311020052 Libdrm: 2.4.65 Fail on SNB with kernel testing tag 2015-11-20. Hardware: Motherboard: DQ67SW cpu model name : Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz cpu model : 42 cpu family : 6 Graphic card: 2nd Generation Core Processor Family Integrated Graphics Software: Kernel tag drm-intel-testing-2015-11-20 5074e51 (4.4-rc1) from git://anongit.freedesktop.org/drm-intel commit 5074e51ef3a2b0ad4c2354e95aec5380a93966b3 Author: Imre Deak <imre.deak@intel.com> Date: Fri Nov 20 11:50:03 2015 +0200 drm-intel-nightly: 2015y-11m-20d-09h-49m-41s UTC integration manifest Ubuntu 14.04.1 LTS Bios: SWQ6710H.86A.0060.2011.1220.1805 Libdrm: 2.4.65 Also fail on IVB with tag testing 2015-12-04 and Libdrm 2.4.65. Hardware: Motherboard: DH77EB cpu model name : Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz cpu model : 58 cpu family : 6 Graphic card: Xeon E3-1200 v2/3rd Gen Core processor Graphics Software: Kernel: tag 2015-12-04-drm-intel-testing 4.4.0-rc3 91587c7 from http://cgit.freedesktop.org/drm-intel/ Ubuntu 14.04.1 LTS Bios: EBH7710H.86A.0096.2012.1012.1645 Libdrm: 2.4.65 from http://cgit.freedesktop.org/mesa/drm/ Also fail on BXT-P/APL with Q4 stack release: Platform: Broxton P A0 Platform CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores SoC : BROXTON-P A0 QDF : QYE2 CRB : Apollo Lake RVPC1 Fab1 Mandatory Reworks : R14 Software BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00 Kernel: tag testing 2015-11-20 from http://cgit.freedesktop.org/drm-intel/tag/?h=drm-intel-testing&id=drm-intel-testing-2015-11-20 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.1 from http://cgit.freedesktop.org/libva/ vaapi-intel-driver 1.6.1 from http://cgit.freedesktop.org/vaapi/intel-driver cairo 1.14.4 from http://cgit.freedesktop.org/cairo DMC 1.06 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares IGT 1.13 http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/tag/?id=intel-gpu-tools-1.13 For the record, the fix is http://patchwork.freedesktop.org/patch/69994/ Reproduced on bxt with last setup: Platform: Broxton P A0 Platform CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores SoC : BROXTON-P A0 CRB : Apollo Lake LPDDR3 RVP2B Reworks : R17, R18, PNP3 Software: ========= BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00 KSC : 1.05 Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly: 2016y-02m-16d-17h-53m-05s UTC integration manifest commit bd0b1a9aa8b7fdb2e06a5cbf1756ef93de2fa3fd Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Date: Tue Feb 16 18:53:28 2016 +0100 http://cgit.freedesktop.org/drm-intel/ drm: tag libdrm-2.4.66 9b77443 from http://cgit.freedesktop.org/mesa/drm/ mesa: tag mesa-11.1.1 330aa44from http://cgit.freedesktop.org/mesa/mesa/ cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo waffle: master bb29b2a from https://github.com/waffle-gl/waffle xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros libva: tag libva-1.6.1 1f026de from http://cgit.freedesktop.org/libva/ vaapi-intel-driver: tag 1.6.1 f6fe842 from http://cgit.freedesktop.org/vaapi/intel-driver Tools intel-gpu-tool: tag intel-gpu-tools-1.13 0a45d6b from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ reproduced on kbl with last setup: Hardware: --------- Platform: KABY LAKE-U CPU : Intel(R) Core(TM) @ 2.60GHz MCP : KBL-U G0 2+2 QDF : QYQ8 Chipset PCH: SPT-LP C1 CRB : KABY LAKE U DDR3L RVP7 CRB FAB1 BIOS : KBLSE2R1.R00.X015.B01.1511271314 ME FW : 11.5.0.1008 Ksc (EC FW): 1.20 Software: ---------- Linux distribution: Ubuntu 15.10 64 bits Kernel drm-intel-nightly 4.5.0-rc5_1a139ea from http://cgit.freedesktop.org/drm-intel/ drm: (HEAD, tag: libdrm-2.4.67, tag: 2.4.67)49efb55846c6ec96400061213b76ab867461c1a from git://git.freedesktop.org/git/mesa/drm mesa: tag mesa-11.1.1 330aa44from http://cgit.freedesktop.org/mesa/mesa/ cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo waffle: master bb29b2a from https://github.com/waffle-gl/waffle xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros libva: (HEAD, tag: libva-1.6.2.pre1) be42ac44bc12c752f572788f0f4bbc62c13dc6ae from git://git.freedesktop.org/git/vaapi/libva vaapi-intel-driver: tag 1.6.1 f6fe842 from http://cgit.freedesktop.org/vaapi/intel-driverFirmware Tools: ------- intel-gpu-tools: (HEAD, origin/master, origin/HEAD) f27d295fe3a1ca005dfa0fbfd81d6808b1f5ca47 from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools The following test keeps fail on BXT with latest configuration test : gem_mmap_gtt@big-copy 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 03) (prog-if 00 [VGA controller]) Software information ====================== Linux distribution : Ubuntu 15.10 Architecture : 64-bit --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-5-gea07de9 commit : ea07de9 author : Rodrigo Vivi <rodrigo.vivi@intel.com> age : 13 days 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 : 5 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 3 weeks ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0.pre1 commit : 35f1447 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0.pre1 commit : ab8e4e3 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.1 commit : 23e60f9 author : Adam Jackson <ajax@redhat.com> age : 5 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-23-g364d378 commit : 364d378 author : Paulo Zanoni <paulo.r.zanoni@intel.com> age : 10 days ago kernel ========= drm-intel-testing / commit a27657a commit a27657a39741599ce9feef1ef39ae6654e9e6768 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Feb 29 09:42:22 2016 +0100 drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest Kernel version : 4.5.0-rc5 Architecture : source amd64 all This issue still happen on KBL with the following configuration Hardware configuration ======================= Platform 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 Software configuration ======================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-5-gea07de9 commit : ea07de9 author : Rodrigo Vivi <rodrigo.vivi@intel.com> age : 13 days 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 : 5 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 3 weeks ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0.pre1 commit : 35f1447 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0.pre1 commit : ab8e4e3 author : Xiang Haihao <haihao.xiang@intel.com> age : 11 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.1 commit : 23e60f9 author : Adam Jackson <ajax@redhat.com> age : 5 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-23-g364d378 commit : 364d378 author : Paulo Zanoni <paulo.r.zanoni@intel.com> age : 10 days ago kernel configuration ===================== Branch : drm-intel-testing commit a27657a39741599ce9feef1ef39ae6654e9e6768 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Feb 29 09:42:22 2016 +0100 drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest Kernel version : 4.5.0-rc5 Architecture : source amd64 all Hi Humberto, Could you check with: http://patchwork.freedesktop.org/patch/69994/ If the patch doesn't apply to the current HEAD, please contact Chris Wilson to do a rebase. this test keeps fail on HSW with the latest configuration : 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 test output ============== **** DEBUG **** (gem_mmap_gtt:2292) intel-os-DEBUG: Checking 2 surfaces of size 268,439,552 bytes (total 536,883,200) against RAM (gem_mmap_gtt:2292) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_mmap_gtt:2292) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_mmap_gtt:2292) DEBUG: Test requirement passed: a (gem_mmap_gtt:2292) DEBUG: Test requirement passed: b (gem_mmap_gtt:2292) CRITICAL: Test assertion failure function test_huge_copy, file gem_mmap_gtt.c:447: (gem_mmap_gtt:2292) CRITICAL: Failed assertion: memcmp(pattern_a, a + PAGE_SIZE*i, PAGE_SIZE) == 0 **** END **** Subtest big-copy: FAIL (2.184s) Still present on BSW with the following config: 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 Increasing priority due to current platform experience impact Created attachment 123694 [details] kbl-dmesg-big-copy Fail on KBL-U with last setup: # ./gem_mmap_gtt --run-subtest big-copy IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64) Writing a 100% Writing b 100% Copying a<->b 100% (gem_mmap_gtt:2176) CRITICAL: Test assertion failure function test_huge_copy, file gem_mmap_gtt.c:447: (gem_mmap_gtt:2176) CRITICAL: Failed assertion: memcmp(pattern_a, a + PAGE_SIZE*i, PAGE_SIZE) == 0 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [test_huge_copy+0x55b] #2 [__real_main563+0xbd4] #3 [main+0x29] #4 [__libc_start_main+0xf0] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest big-copy failed. **** DEBUG **** (gem_mmap_gtt:2176) intel-os-DEBUG: Checking 2 surfaces of size 268 439 552 bytes (total 536 883 200) against RAM (gem_mmap_gtt:2176) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_mmap_gtt:2176) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_mmap_gtt:2176) DEBUG: Test requirement passed: a (gem_mmap_gtt:2176) DEBUG: Test requirement passed: b (gem_mmap_gtt:2176) CRITICAL: Test assertion failure function test_huge_copy, file gem_mmap_gtt.c:447: (gem_mmap_gtt:2176) CRITICAL: Failed assertion: memcmp(pattern_a, a + PAGE_SIZE*i, PAGE_SIZE) == 0 **** END **** Subtest big-copy: FAIL (2,880s) 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 Humberto, Could you check with: http://patchwork.freedesktop.org/patch/69994/ If the patch doesn't apply to the current HEAD, please contact Chris Wilson to do a rebase. (In reply to cprigent from comment #27) > Humberto, > Could you check with: http://patchwork.freedesktop.org/patch/69994/ > If the patch doesn't apply to the current HEAD, please contact Chris Wilson > to do a rebase. after applying the patch,this is the result. Christophe, do you have the same problem ? [gfx@GM-GFX-QA02] [drm-intel]$ : patch -p1 < 135-190-drm-i915-Move-map-and-fenceable-tracking-to-the-VMA.patch patching file drivers/gpu/drm/i915/i915_debugfs.c Hunk #1 succeeded at 119 with fuzz 1 (offset 7 lines). Hunk #2 FAILED at 296. Hunk #3 FAILED at 391. Hunk #4 succeeded at 446 (offset 26 lines). 2 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_debugfs.c.rej patching file drivers/gpu/drm/i915/i915_drv.h Hunk #1 succeeded at 2182 (offset 104 lines). patching file drivers/gpu/drm/i915/i915_gem.c Hunk #1 FAILED at 2691. Hunk #2 FAILED at 2709. Hunk #3 FAILED at 3480. Hunk #4 succeeded at 4193 with fuzz 1 (offset 702 lines). Hunk #5 succeeded at 4213 (offset 702 lines). Hunk #6 succeeded at 4224 with fuzz 2 (offset 702 lines). Hunk #7 FAILED at 3590. 4 out of 7 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem.c.rej patching file drivers/gpu/drm/i915/i915_gem_execbuffer.c Hunk #1 succeeded at 686 (offset -106 lines). Hunk #2 succeeded at 702 (offset -109 lines). patching file drivers/gpu/drm/i915/i915_gem_fence.c Hunk #1 FAILED at 124. Hunk #2 succeeded at 390 (offset 12 lines). 1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem_fence.c.rej patching file drivers/gpu/drm/i915/i915_gem_gtt.h Hunk #1 FAILED at 205. 1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem_gtt.h.rej patching file drivers/gpu/drm/i915/i915_gem_tiling.c Hunk #1 FAILED at 130. Hunk #2 FAILED at 141. 2 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_gem_tiling.c.rej patching file drivers/gpu/drm/i915/intel_display.c Hunk #1 succeeded at 2277 (offset -114 lines). Hunk #2 FAILED at 2430. 1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/intel_display.c.rej (In reply to maria guadalupe from comment #28) > (In reply to cprigent from comment #27) > > Humberto, > > Could you check with: http://patchwork.freedesktop.org/patch/69994/ > > If the patch doesn't apply to the current HEAD, please contact Chris Wilson > > to do a rebase. > > after applying the patch,this is the result. > Christophe, do you have the same problem ? > > [gfx@GM-GFX-QA02] [drm-intel]$ : patch -p1 < > 135-190-drm-i915-Move-map-and-fenceable-tracking-to-the-VMA.patch > patching file drivers/gpu/drm/i915/i915_debugfs.c > Hunk #1 succeeded at 119 with fuzz 1 (offset 7 lines). > Hunk #2 FAILED at 296. > Hunk #3 FAILED at 391. > Hunk #4 succeeded at 446 (offset 26 lines). It's patch 135/190, you are meant to apply the preceding 134 patches first. (In reply to Chris Wilson from comment #29) > (In reply to maria guadalupe from comment #28) > > (In reply to cprigent from comment #27) > > > Humberto, > > > Could you check with: http://patchwork.freedesktop.org/patch/69994/ > > > If the patch doesn't apply to the current HEAD, please contact Chris Wilson > > > to do a rebase. > > > > after applying the patch,this is the result. > > Christophe, do you have the same problem ? > > > > [gfx@GM-GFX-QA02] [drm-intel]$ : patch -p1 < > > 135-190-drm-i915-Move-map-and-fenceable-tracking-to-the-VMA.patch > > patching file drivers/gpu/drm/i915/i915_debugfs.c > > Hunk #1 succeeded at 119 with fuzz 1 (offset 7 lines). > > Hunk #2 FAILED at 296. > > Hunk #3 FAILED at 391. > > Hunk #4 succeeded at 446 (offset 26 lines). > > It's patch 135/190, you are meant to apply the preceding 134 patches first. Hi Chris / Christophe : anoyone could provide me the 134 patches left ? or tell me where i can download it in order to reproduce this issue. Thanks Thanks Maria, You can find the full serie here: https://lists.freedesktop.org/archives/intel-gfx/2016-January/ Fwiw, https://cgit.freedesktop.org/~ickle/linux-2.6/log/?h=bug90412 should pass. Applying the mbox to the full serie sends errors to drm_gem.c Log: git am Series-without-cover-letter.mbox Applying: drm: Release driver references to handle before making it available again error: patch failed: drivers/gpu/drm/drm_gem.c:294 error: drivers/gpu/drm/drm_gem.c: patch does not apply Patch failed at 0001 drm: Release driver references to handle before making it available again *** Bug 96753 has been marked as a duplicate of this bug. *** The following tests fails on APL : Tests cases ============================================= igt@gem_mmap_gtt@big-copy 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 Created attachment 125342 [details]
dmesg1
this issue still happen on KBL-U Tests cases ============================================= igt@gem_mmap_gtt@big-copy test result: Fail Software information ============================================ Kernel version : 4.7.0-rc6-drm-intel-nightly-ww29-commit-a207bd7+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.3 DRM version : 2.4.70 Cairo version : 1.15.2 Intel GPU Tools version : Tag [intel-gpu-tools-1.15-140-ge3abb20] / Commit [e3abb20] Kernel driver in use : i915 Bios revision : 38.7 KSC revision : 1.20 Hardware information ============================================ Platform : KBL (RVP7) Motherboard model : Kabylake Client platform Motherboard type : Skylake U DDR3L RVP7 Laptop Motherboard manufacturer : Intel Corporation CPU family : Other CPU information : Genuine Intel(R) CPU 0000 @ 2.60GHz GPU Card : Intel Corporation Device 5916 (prog-if 00 [VGA controller]) Memory ram : 4 GB Maximum memory ram allowed : 16 GB Display resolution : CPU's number : 4 Hard drive Capacity : 80.0 GB Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.1 GUC version wanted : 9.14 GUC version found : 9.14 Kernel parameters ============================================ quiet splash drm.debug=0xe attachment: dmesg1 Created attachment 125403 [details] IVB-gem_mmap_gtt__big_huge_copy-kern.log IVB logs attached 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 Created attachment 125404 [details]
IVB-gem_mmap_gtt__big_huge_copy-output
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 SKL =============== huge-copy = skip big-copy = pass BSW =============== huge-copy = pass big-copy = pass 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 BSW Motherboard model 10G9000NUS Motherboard type BRASWELL Desktop Motherboard manufacturer LENOVO CPU family Pentium CPU information Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GPU Card Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller]) Memory ram 8 GB Software Configuration ======================= Component : drm tag : libdrm-2.4.70-2-gb214b05 commit : b214b05ccd433c484a6a65e491a1a51b19e4811d Component : cairo tag : 1.15.2 commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a Component : intel-gpu-tools tag : intel-gpu-tools-1.15-228-gb0658ce commit : b0658ce76557d4ce00be7252aa60d1b59d8980f6 Kernel used =========================== commit 5a8708ec5c5bbc8eacf1f5b9cb815e6064e9737b Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Aug 23 14:12:36 2016 +0200 drm-intel-nightly: 2016y-08m-23d-12h-12m-19s UTC integration manifest Your skl only has <= 4GiB of ram? That's going to prevent a lot of tests that try to exercise the full global GTT on that machine (and the reduced ppGTT tests). huge-copy = skip big-copy = pass 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 : 8 GB CPU thread : 4 CPU core : 4 Socket : Other Hard drive capacity : 111GiB (120GB) Software Configuration ======================= Component : drm tag : libdrm-2.4.70-2-gb214b05 commit : b214b05ccd433c484a6a65e491a1a51b19e4811d Component : cairo tag : 1.15.2 commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a Component : intel-gpu-tools tag : intel-gpu-tools-1.15-228-gb0658ce commit : b0658ce76557d4ce00be7252aa60d1b59d8980f6 Kernel used =========================== commit 5a8708ec5c5bbc8eacf1f5b9cb815e6064e9737b Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Aug 23 14:12:36 2016 +0200 drm-intel-nightly: 2016y-08m-23d-12h-12m-19s UTC integration manifest (In reply to Chris Wilson from comment #43) > Your skl only has <= 4GiB of ram? That's going to prevent a lot of tests > that try to exercise the full global GTT on that machine (and the reduced > ppGTT tests). No, actually my SKL has 8GB of ram Ah, yes. 8GiB + 8KiB (+ slack) would be the requirement for this particular test (copy between 2 objects of 4GiB). (In reply to Humberto Israel Perez Rodriguez from comment #44) > huge-copy = skip > big-copy = pass > > > 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 : 8 GB > CPU thread : 4 > CPU core : 4 > Socket : Other > Hard drive capacity : 111GiB (120GB) > > > > Software Configuration > ======================= > Component : drm > tag : libdrm-2.4.70-2-gb214b05 > commit : b214b05ccd433c484a6a65e491a1a51b19e4811d > > Component : cairo > tag : 1.15.2 > commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a > > Component : intel-gpu-tools > tag : intel-gpu-tools-1.15-228-gb0658ce > commit : b0658ce76557d4ce00be7252aa60d1b59d8980f6 > > > > Kernel used > =========================== > commit 5a8708ec5c5bbc8eacf1f5b9cb815e6064e9737b > Author: Daniel Vetter <daniel.vetter@ffwll.ch> > Date: Tue Aug 23 14:12:36 2016 +0200 > > drm-intel-nightly: 2016y-08m-23d-12h-12m-19s UTC integration manifest hu-copy required of more than 8GB of ram in APL, with 16GB of ram the result is pass huge-copy = skip big-copy = pass 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 Software Configuration ======================= Component : drm tag : libdrm-2.4.70-2-gb214b05 commit : b214b05ccd433c484a6a65e491a1a51b19e4811d Component : cairo tag : 1.15.2 commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a Component : intel-gpu-tools tag : intel-gpu-tools-1.15-228-gb0658ce commit : b0658ce76557d4ce00be7252aa60d1b59d8980f6 Kernel used =========================== commit 5a8708ec5c5bbc8eacf1f5b9cb815e6064e9737b Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Aug 23 14:12:36 2016 +0200 drm-intel-nightly: 2016y-08m-23d-12h-12m-19s UTC integration manifest |
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.