Bug 92241 - [SKL] igt/gem_ctx_exec/reset-pin-leak fail
Summary: [SKL] igt/gem_ctx_exec/reset-pin-leak fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) 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-10-02 12:26 UTC by Olivier Berthier
Modified: 2016-12-12 17:18 UTC (History)
1 user (show)

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


Attachments
dmesg log file (364.00 KB, text/plain)
2015-10-02 12:26 UTC, Olivier Berthier
no flags Details

Description Olivier Berthier 2015-10-02 12:26:28 UTC
Created attachment 118595 [details]
dmesg log file

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  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, O-06

Software
BIOS : SKLSE2R1.R00.X097.B02.1509020030
ME FW : 11.0.0.1173
Ksc (EC FW): 1.19

kernel 4.3.0-rc2-drm-intel-testing-2015-09-28
From bf2dbbc32aae7e5d9dd955fef23f98995987d924 Mon Sep 17 00:00:00 2001
From: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Fri, 25 Sep 2015 14:29:34 +0200
Subject: drm-intel-nightly: 2015y-09m-25d-12h-28m-49s 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

Steps:
------
run the command :
#  ./gem_ctx_exec --run-subtest reset-pin-leak

Actual result:
---------------
The result of the test is fail.

Expected result:
----------------
The result is pass or skip.

Output:
--------
IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64)
Test assertion failure function __real_main158, file gem_ctx_exec.c:208:
Failed assertion: exec(fd, handle, I915_EXEC_RENDER, 0) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main158+0x65c]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest reset-pin-leak failed.
**** DEBUG ****
Test requirement passed: ret == 0 || (errno != ENODEV && errno != EINVAL)
Test assertion failure function __real_main158, file gem_ctx_exec.c:208:
Failed assertion: exec(fd, handle, I915_EXEC_RENDER, 0) == 0
Last errno: 5, Input/output error
****  END  ****
Subtest reset-pin-leak: FAIL (65.748s)
Warning on condition flags != 0 in fucntion check_stop_rings, file drmtest.c:128
i915_ring_stop flags on exit 0x1, can't quiescent gpu cleanly
Test assertion failure function gem_quiescent_gpu, file drmtest.c:180:
Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_quiescent_gpu+0x208]
  #2 [quiescent_gpu_at_exit_render+0x1e]
  #3 [igt_atexit_handler+0x49]
  #4 [__libc_secure_getenv+0xf9]
  #5 [exit+0x15]
  #6 [igt_exit+0xde]
  #7 [_start+0x0]
  #8 [__libc_start_main+0xf5]
  #9 [_start+0x29]
  #10 [<unknown>+0x29]
Comment 1 cprigent 2015-10-20 09:47:23 UTC
Reproduced with last setup:

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
Comment 2 Olivier Berthier 2015-11-06 16:57:12 UTC
Not reproduced on SKLY with 4.3.0-rc7-nightly kernel.

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
Linux : Ubuntu 15.04 64 bits
BIOS : SKLSE2R1.R00.X100.B01.1509220551
ME FW : 11.0.0.1179
Ksc (EC FW): 1.19

kernel 4.3.0-rc7-nightly+
commit 86ba603f327626055fe1436112b3786eaaaf7fb1
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sat Oct 31 09:27:21 2015 +0100

    drm-intel-nightly: 2015y-10m-31d-08h-26m-39s UTC integration manifest

cairo: 1.14.2
drm: libdrm-2.4.65
intel-driver: 1.6.1
libva: libva-1.6.1
mesa: mesa-11.0.4
xf86-video-intel: 2.99.917
xserver: xorg-server-1.17.2
intel-gpu-tools: master, bfea74a9f64a900bcb90f946b38746781017449f
Comment 3 yann 2016-12-12 17:18:41 UTC
(In reply to Olivier Berthier from comment #2)
> Not reproduced on SKLY with 4.3.0-rc7-nightly kernel.
> 
> 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
> Linux : Ubuntu 15.04 64 bits
> BIOS : SKLSE2R1.R00.X100.B01.1509220551
> ME FW : 11.0.0.1179
> Ksc (EC FW): 1.19
> 
> kernel 4.3.0-rc7-nightly+
> commit 86ba603f327626055fe1436112b3786eaaaf7fb1
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Sat Oct 31 09:27:21 2015 +0100
> 
>     drm-intel-nightly: 2015y-10m-31d-08h-26m-39s UTC integration manifest
> 
> cairo: 1.14.2
> drm: libdrm-2.4.65
> intel-driver: 1.6.1
> libva: libva-1.6.1
> mesa: mesa-11.0.4
> xf86-video-intel: 2.99.917
> xserver: xorg-server-1.17.2
> intel-gpu-tools: master, bfea74a9f64a900bcb90f946b38746781017449f

Then closing as fixed


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.