Bug 94538 - [BSW] igt / gem_ctx_bad_destroy / invalid-pad fails
Summary: [BSW] igt / gem_ctx_bad_destroy / invalid-pad fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
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: 2016-03-14 17:51 UTC by cprigent
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: GEM/Other


Attachments
dmesg (117.36 KB, text/plain)
2016-03-14 17:51 UTC, cprigent
no flags Details

Description cprigent 2016-03-14 17:51:51 UTC
Created attachment 122282 [details]
dmesg

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

Steps:
-------
1. Execute IGT test:
# ./gem_ctx_bad_destroy --run-subtest invalid-pad

Actual result:
---------------
1. Test is Fail, output:
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_ctx_bad_destroy:1699) CRITICAL: Test assertion failure function __real_main43, file gem_ctx_bad_destroy.c:76:
(gem_ctx_bad_destroy:1699) CRITICAL: Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_DESTROY, &destroy) < 0 && errno == EINVAL
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main43+0x21b]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest invalid-pad failed.
**** DEBUG ****
(gem_ctx_bad_destroy:1699) CRITICAL: Test assertion failure function __real_main43, file gem_ctx_bad_destroy.c:76:
(gem_ctx_bad_destroy:1699) CRITICAL: Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_DESTROY, &destroy) < 0 && errno == EINVAL
****  END  ****
Subtest invalid-pad: FAIL (0.004s)

Expected result:
-----------------
1. Test is Pass
Comment 1 Chris Wilson 2016-03-14 20:53:43 UTC
Kernel mainline 4.4.0

Why?


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.