Bug 89633

Summary: [BSW]igt/gem_exec_nop/render causes [drm:i915_context_is_banned [i915]] *ERROR* gpu hanging too fast, banning!
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: christophe.prigent, intel-gfx-bugs
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: GPU hang
Attachments:
Description Flags
dmesg none

Description lu hua 2015-03-18 06:58:53 UTC
Created attachment 114423 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, it has bug 88845

no-working platforms: BSW

==kernel==
--------------------------
drm-intel-nightly/3753ea527e539d3358a6368e77cb29ecb2e71c42
commit 3753ea527e539d3358a6368e77cb29ecb2e71c42
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Mar 17 22:36:04 2015 +0100

    drm-intel-nightly: 2015y-03m-17d-21h-35m-20s UTC integration manifest

==Bug detailed description==
-----------------------------
It happens on drm-intel-nightly kernel, works well on drm-intel-next-queued kernel.

output:
IGT-Version: 1.10-g505645c (x86_64) (Linux: 4.0.0-rc4_drm-intel-nightly_3753ea_20150318+ x86_64)
Time to exec x 1:               487.000µs (ring=render)
Time to exec x 2:                65.500µs (ring=render)
Time to exec x 4:                28.000µs (ring=render)
Time to exec x 8:                19.125µs (ring=render)
Time to exec x 16:               12.750µs (ring=render)
Time to exec x 32:               10.688µs (ring=render)
Time to exec x 64:                7.156µs (ring=render)
Time to exec x 128:               6.453µs (ring=render)
Time to exec x 256:               5.773µs (ring=render)
Time to exec x 512:               5.232µs (ring=render)
Time to exec x 1024:              5.241µs (ring=render)
Time to exec x 2048:              5.426µs (ring=render)
Time to exec x 4096:              4.485µs (ring=render)
Time to exec x 8192:              4.476µs (ring=render)
Time to exec x 16384:             5.002µs (ring=render)
Test assertion failure function loop, file gem_exec_nop.c:100:
Failed assertion: exec(fd, handle, count, ring_id) == 0
error: -1 != 0
Subtest render failed.
**** DEBUG ****
Time to exec x 1:               487.000µs (ring=render)
Time to exec x 2:                65.500µs (ring=render)
Time to exec x 4:                28.000µs (ring=render)
Time to exec x 8:                19.125µs (ring=render)
Time to exec x 16:               12.750µs (ring=render)
Time to exec x 32:               10.688µs (ring=render)
Time to exec x 64:                7.156µs (ring=render)
Time to exec x 128:               6.453µs (ring=render)
Time to exec x 256:               5.773µs (ring=render)
Time to exec x 512:               5.232µs (ring=render)
Time to exec x 1024:              5.241µs (ring=render)
Time to exec x 2048:              5.426µs (ring=render)
Time to exec x 4096:              4.485µs (ring=render)
Time to exec x 8192:              4.476µs (ring=render)
Time to exec x 16384:             5.002µs (ring=render)
Test assertion failure function loop, file gem_exec_nop.c:100:
Failed assertion: exec(fd, handle, count, ring_id) == 0
error: -1 != 0
****  END  ****
Subtest render: FAIL (12.488s)

==Reproduce steps==
---------------------------- 
1.  ./gem_exec_nop --run-subtest render
Comment 1 Humberto Israel Perez Rodriguez 2015-09-23 17:59:40 UTC
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
Comment 2 yann 2016-09-28 16:12:18 UTC
This is passing without any issue on SKL

kernel:
  url: git://anongit.freedesktop.org/drm-intel
  branch: drm-intel-nightly
  tag: drm-intel-qa-testing-2016-09-19
  tree: 97fb7fb559d224b8ea64f9388482700c20d0f52a
  parent: 8879a16a66841bed49d5aeea2f61d49905310f8d
  commit: 0e34cb5b35f0f837219495c402073141481b1b90
  summary: 'drm-intel-nightly: 2016y-09m-19d-15h-38m-53s UTC integration manifest'
  author: Jani Nikula <jani.nikula@intel.com>
  authored_date: Mon Sep 19 15:39:27 2016 +0000
  committer: Jani Nikula <jani.nikula@intel.com>
  committed_date: Mon Sep 19 15:39:27 2016 +0000
  title: drm-intel-qa
  source_dir: /opt/git/misc/drm-intel.git
  output_dir: /home/shared/out/kernels/drm-intel-qa/WW38.1_4.8.0-rc7_0e34cb5
  config_file: /home/shared/configs/config-drm-nightly
  kernel_version: 4.8.0-rc7

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.