Bug 88989 - [BSW]igt/gem_workarounds/reset fails
Summary: [BSW]igt/gem_workarounds/reset fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 08:06 UTC by lu hua
Modified: 2016-12-12 17:07 UTC (History)
2 users (show)

See Also:
i915 platform: SKL
i915 features: GEM/Other


Attachments
dmesg (123.44 KB, text/plain)
2015-02-12 07:01 UTC, Ding Heng
no flags Details

Description lu hua 2015-02-05 08:06:25 UTC
==System Environment==
--------------------------
Regression: not sure

no-working platforms: BSW

==kernel==
--------------------------
drm-intel-nightly/9583cb470cd82997b5f23d4acab852563f5c0047
commit 9583cb470cd82997b5f23d4acab852563f5c0047
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Feb 4 15:22:12 2015 +0100

    drm-intel-nightly: 2015y-02m-04d-14h-21m-52s UTC integration manifest

==Bug detailed description==
-----------------------------
It fails on BSW with drm-intel-nightly kernel in recently 5 days, but I am unable to reproduce it. I guess some case impacts it.In automation testing, it works well on drm-intel-nightly kernel 2c2cd37eb3b97bb8846ac3bf75dcb8b4948922d0
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Jan 26 11:39:01 2015 +0200

    drm-intel-nightly: 2015y-01m-26d-09h-38m-30s UTC integration manifest

test log:
@test: Intel_gpu_tools/igt_gem_workarounds_reset
returncode: 0
info: @@@Returncode: 0

test case start at: Sun Jan 25 15:58:37 2015
test case end at:   Sun Jan 25 15:58:49 2015

Errors:


Dmesg:
<6>[ 1311.315395] [drm] stuck on render ring
<6>[ 1311.346489] [drm] GPU HANG: ecode 8:0:0xeed7ef6b, in gem_workarounds [27443], reason: Ring hung, action: reset
<6>[ 1311.346495] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
<6>[ 1311.346498] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
<6>[ 1311.346501] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
<6>[ 1311.346503] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
<6>[ 1311.346506] [drm] GPU crash dump saved to /sys/class/drm/card0/error
<6>[ 1311.347991] [drm] Simulated gpu hang, resetting stop_rings
<5>[ 1311.347998] drm/i915: Resetting chip after gpu hang


Output:
             command   pid dev master a   uid      magic
Test Environment check: Succeeded.
[1/1] fail: 1 |
[1/1] fail: 1 /


Thank you for running Piglit!
Results have been written to /GFX/Test/Piglit/piglit/t
{
    "results_version": 2,
    "uname": "Linux x-bsw01 3.19.0-rc7_drm-intel-nightly_0eafcb_20150204+ #38 SMP Wed Feb 4 11:26:26 CST 2015 x86_64 x86_64 x86_64 GNU/Linux\n",
    "time_elapsed": 6.36963415145874,
    "tests": {
        "igt/gem_workarounds/reset": {
            "returncode": 99,
            "err": "(gem_workarounds:27443) CRITICAL: Test assertion failure function check_workarounds, file gem_workarounds.c:178:\n(gem_workarounds:27443) CRITICAL: Failed assertion: workaround_fail_count() == 0\n",
            "environment": "PIGLIT_SOURCE_DIR=\"/GFX/Test/Piglit/piglit\" PIGLIT_PLATFORM=\"mixed_glx_egl\"",
            "command": "/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests/gem_workarounds --run-subtest reset",
            "result": "fail",
            "time": 6.199280023574829,
            "out": "IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_0eafcb_20150204+ x86_64)\n(gem_workarounds:27443) WARNING: 0x0E4F0\t0x01200120\t0x00000120\t0xFFFF0000\tFAIL\n(gem_workarounds:27443) WARNING: 0x07300\t0x08100810\t0x00000810\t0x00000000\tFAIL\n(gem_workarounds:27443) WARNING: 0x07000\t0x00040000\t0x00000004\t0x00000004\tFAIL\n(gem_workarounds:27443) WARNING: 0x07004\t0x00400040\t0x00000040\t0x00000180\tFAIL\n(gem_workarounds:27443) WARNING: 0x07018\t0x80008000\t0x00008000\t0x00000000\tFAIL\n(gem_workarounds:27443) WARNING: 0x07008\t0x02800200\t0x00000280\t0x00000000\tFAIL\nSubtest reset: FAIL (6.173s)\n"


output(run binary):
IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_9583cb_20150205+ x86_64)
Subtest reset: SUCCESS (5.970s)

==Reproduce steps==
---------------------------- 
1. run full igt
Comment 1 Ding Heng 2015-02-12 06:59:57 UTC
kernel commit: 2a579576e4c01799ec67264c9169e5adeadcc3ff

./gem_workarounds --run-subtest reset
IGT-Version: 1.9-g9846e7f (x86_64) (Linux: 3.19.0_drm-intel-nightly_2a5795_20150212+ x86_64)
(gem_workarounds:4792) WARNING: 0x0E4F0 0x01200120      0x00000120      0xFFFF0000      FAIL
(gem_workarounds:4792) WARNING: 0x07300 0x08100810      0x00000810      0x00000000      FAIL
(gem_workarounds:4792) WARNING: 0x07000 0x00040000      0x00000004      0x00000004      FAIL
(gem_workarounds:4792) WARNING: 0x07004 0x00400040      0x00000040      0x00000180      FAIL
(gem_workarounds:4792) WARNING: 0x07018 0x80008000      0x00008000      0x00000000      FAIL
(gem_workarounds:4792) WARNING: 0x07008 0x02800200      0x00000280      0x00000000      FAIL
(gem_workarounds:4792) CRITICAL: Test assertion failure function check_workarounds, file gem_workarounds.c:160:
(gem_workarounds:4792) CRITICAL: Failed assertion: workaround_fail_count() == 0
Subtest reset: FAIL (0.003s)
Comment 2 Ding Heng 2015-02-12 07:01:18 UTC
Created attachment 113389 [details]
dmesg
Comment 3 Humberto Israel Perez Rodriguez 2015-09-23 17:27:05 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 4 Rami 2015-10-02 15:22:25 UTC
Reproduced on BSW with 4.3.0-rc2-drm-intel-nightly+

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 & F37
Optional reworks : O-01a


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-rc2-drm-intel-nightly+
commit 794e1cdfb84be003dbd287c69501c98ec280a89b
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Sep 28 17:28:29 2015 +0300

    drm-intel-nightly: 2015y-09m-28d-14h-28m-11s UTC integration manifest

cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from
git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.64, tag: 2.4.64)
ab2fadabde3829b1ec56bd4756165dd9bd281488 from
git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, origin/master, origin/HEAD, master)
2a72f99d24714f2a58f400ef63b913d4cf9080b3 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-10.6.7) 32efdc87cbf89cfe08ad9571cd756e27c803caa8 from
git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, origin/master, origin/HEAD, master)
f0fd4d500de03c30c7ce19915f85acadd1ca4e5d 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

intel-gpu-tools: (HEAD, tag: intel-gpu-tools-1.12)
1f9e0550455be4b219954a026407dd23ec21b299 from
git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 5 yann 2016-12-12 17:06:53 UTC
This test is passing on both BSW & SKL with

kernel:
commit 8f02d2103390e48e9e76c9e75d16dbb4396484c8
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Nov 28 14:38:48 2016 +0200

    drm-tip: 2016y-11m-28d-12h-38m-14s UTC integration manifest

intel-gpu-tools
	tag       : intel-gpu-tools-1.16-164-g7797517
	commit    : 7797517
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : 2 days ago
	comment   : igt/kms_setmode: Skip unconnected connectors


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.