Bug 97885 - [BDW HSW SKL] prime_vgem basic-fence-flip fails -> flip not completed / requirement not met?
Summary: [BDW HSW SKL] prime_vgem basic-fence-flip fails -> flip not completed / requi...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 08:48 UTC by cprigent
Modified: 2017-07-24 22:40 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, HSW, SKL
i915 features: GEM/Other


Attachments
BDW__prime_vgem__basic-fence-flip__output (1.29 KB, text/plain)
2016-09-21 08:48 UTC, cprigent
no flags Details
BDW__prime_vgem__basic-fence-flip__kern.log (278.76 KB, text/plain)
2016-09-21 08:48 UTC, cprigent
no flags Details
HSW__prime_vgem__basic-fence-flip__kern.log (263.02 KB, text/plain)
2016-09-21 09:12 UTC, cprigent
no flags Details
HSW__prime_vgem__basic-fence-flip__output (1.28 KB, text/plain)
2016-09-21 09:12 UTC, cprigent
no flags Details

Description cprigent 2016-09-21 08:48:33 UTC
Created attachment 126693 [details]
BDW__prime_vgem__basic-fence-flip__output

Platform: NUC5i3RYB
CPU: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (family 6, model 61, stepping 4)
Motherboard version: H41000-503
GPU: Intel® HD Graphics 5500 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Crucial CT51264BF160B.C16F
SSD: INTEL SSDSC2BW48 480 Go

Software
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc7 0e34cb5 from http://cgit.freedesktop.org/drm-intel/
commit 0e34cb5b35f0f837219495c402073141481b1b90
  Author: Jani Nikula <jani.nikula@intel.com>
  Date:   Mon Sep 19 18:39:27 2016 +0300
  drm-intel-nightly: 2016y-09m-19d-15h-38m-53s UTC integration manifest
libdrm-2.4.70-14 0659558 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99-2 3ef51c5 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-703 15c5ff1 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-50 7aa2dd9 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-136 36fbd81 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-22 200237a from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

External screen: DELL U2311Hb

Steps:
------
1. Execute IGT test:
# ./prime_vgem --r basic-fence-flip

Actaul result:
--------------
1. Test fails

Expected result:
----------------
1. Test Pass
Comment 1 cprigent 2016-09-21 08:48:57 UTC
Created attachment 126694 [details]
BDW__prime_vgem__basic-fence-flip__kern.log
Comment 2 cprigent 2016-09-21 09:12:29 UTC
Created attachment 126695 [details]
HSW__prime_vgem__basic-fence-flip__kern.log

Same on HSW with same SW version:
Platform: Dell Inc. OptiPlex 9020
CPU: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz (Family 6, Model 60, Stepping 3)
Motherboard: 0DNKMN
GPU: Intel® HD Graphics 4600 / Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
External screen: DELL E1912Hf
Comment 3 cprigent 2016-09-21 09:12:49 UTC
Created attachment 126696 [details]
HSW__prime_vgem__basic-fence-flip__output
Comment 4 cprigent 2016-09-21 09:19:12 UTC
Same on SKL:
Platform SKL Skull Canyon: NUC6i7KYK
CPU: Intel® Core(TM) i7-6770HQ CPU @ 2.6GHz (family 6, model 94, stepping 3)
GPU: Intel® IrisTM Pro Graphics 580 - Intel Corporation Sky Lake Integrated Graphics (rev 09)
Motherboard version: H90766-405
Memory: 2 x 4GB card Kingston KVR21S15S8/4

Software
Bios: KYSKLi70.86A.0041.2016.0817.1130 from https://downloadcenter.intel.com/downloads/eula/26210/BIOS-Update-KYSKLi70-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26210%2Feng%2FKY0041.bio
Linux distribution: Ubuntu 16.04 64 bits
DMC 1.26 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/skldmcver126.tar_1.bz2
GUC 6.1 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/sklgucver61.tar.bz2

External screens: ASUS PB287Q, DELL P2715Qt
Comment 5 Chris Wilson 2016-09-21 11:50:40 UTC
commit 8ad24eeacb56dbbe1948c41250d03cfcd7383ca8
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Sep 21 12:48:14 2016 +0100

    igt/prime_vgem: Initialise pfd for both parent/child
    
    commit 4337091f6af6 moved the initialisation of the pollfd into the
    child, forgetting that it was also used in the parent as a sanity check.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97885
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.


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.