Bug 81989

Summary: [BSW Regression]igt/gem_tiled_partial_pwrite_pread/writes causes system hang
Product: DRI Reporter: Guo Jinxian <jinxianx.guo>
Component: DRM/IntelAssignee: Rodrigo Vivi <rodrigo.vivi>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: high CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description Guo Jinxian 2014-08-01 03:31:50 UTC
==System Environment==
--------------------------
Regression: Yes. 
Good commit on -next-queued: c79057922ed6c2c6df1214e6ab4414fea1b23db2(skipped)

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: ddbc288690cd888dd6f5629ccba9a2691a70b7b0(fails)
    drm-intel-nightly: 2014y-07m-31d-10h-07m-17s integration manifest
origin/drm-intel-next-queued: 17c58fe801f5588c5904cc2f15620f7f5a465b53(fails)
    drm/i915: Align intel_dsi*.c files a bit
origin/drm-intel-fixes: f4be89cecea437aaddd7700d05c6bdb5678041f7(works)
    drm/i915: Fix crash when failing to parse MIPI VBT

==Bug detailed description==
igt/gem_tiled_partial_pwrite_pread/writes causes system hang

Output:
[root@x-bsw01 tests]# time ./gem_tiled_partial_pwrite_pread --run-subtest writes
IGT-Version: 1.7-gde1e877 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_c95053_20140731+ x86_64)
partial writes test:   9%

Unable to get dmesg because system hang

==Reproduce steps==
---------------------------- 
1. ./gem_tiled_partial_pwrite_pread --run-subtest writes
Comment 1 Rodrigo Vivi 2014-08-15 16:39:36 UTC
Hi Guo,

Can you please retest it with -nightly?

If you can reproduce it please attach the error state and try to bisect also please.

Thanks
Comment 2 Guo Jinxian 2014-08-18 02:48:31 UTC
Created attachment 104781 [details]
dmesg

Test passed on -next-queued(ce7be7b2eeceda029ca08a081b2574f595777828). The test on latest -nightly was blocked by bug 82740

[root@x-bsw01 tests]# ./gem_tiled_partial_pwrite_pread --run-subtest writes
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_kcloud_ce7be7_20140818+ x86_64)
partial writes test: 100%
Subtest writes: SUCCESS
Comment 3 Guo Jinxian 2014-08-19 05:30:53 UTC
(In reply to comment #2)
> Created attachment 104781 [details]
> dmesg
> 
> Test passed on -next-queued(ce7be7b2eeceda029ca08a081b2574f595777828). The
> test on latest -nightly was blocked by bug 82740
> 
> [root@x-bsw01 tests]# ./gem_tiled_partial_pwrite_pread --run-subtest writes
> IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_kcloud_ce7be7_20140818+
> x86_64)
> partial writes test: 100%
> Subtest writes: SUCCESS

Test passes on latest -nightly with patch from bug 82740

[root@x-bsw01 tests]# ./gem_tiled_partial_pwrite_pread --run-subtest writes
IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_kcloud_f216f5_20140819+ x86_64)
partial writes test: 100%
Subtest writes: SUCCESS
Comment 4 Guo Jinxian 2014-08-19 07:36:57 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Created attachment 104781 [details]
> > dmesg
> > 
> > Test passed on -next-queued(ce7be7b2eeceda029ca08a081b2574f595777828). The
> > test on latest -nightly was blocked by bug 82740
> > 
> > [root@x-bsw01 tests]# ./gem_tiled_partial_pwrite_pread --run-subtest writes
> > IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_kcloud_ce7be7_20140818+
> > x86_64)
> > partial writes test: 100%
> > Subtest writes: SUCCESS
> 
> Test passes on latest -nightly with patch from bug 82740
> 
> [root@x-bsw01 tests]# ./gem_tiled_partial_pwrite_pread --run-subtest writes
> IGT-Version: 1.7-g5c7bcb1 (x86_64) (Linux: 3.16.0_kcloud_f216f5_20140819+
> x86_64)
> partial writes test: 100%
> Subtest writes: SUCCESS

Verified.
Comment 5 cprigent 2016-03-14 22:13:23 UTC
gem_tiled_partial_pwrite_pread@writes is Pass. So closed

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 mainline 4.4.0 from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
  Author: Linus Torvalds <torvalds@linux-foundation.org>
  Date:   Sun Jan 10 15:01:32 2016 -0800
  Linux 4.4
drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm
mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
waffle: master bb29b2a from git://github.com/waffle-gl/waffle
xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
xserver: tag: xorg-server-1.18.1 23e60f9 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: tag 2.99.917-560 d167280 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
libva: tag libva-1.7.0.pre1 35f1447 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from git://anongit.freedesktop.org/vaapi/intel-driver
IGT 1.14 364d378 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

One external screen connected to HDMI

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.