Bug 99651 - [SKL][IGT] kms_flip test assertion failure calibrate_ts
Summary: [SKL][IGT] kms_flip test assertion failure calibrate_ts
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: 2017-02-02 15:57 UTC by Rami
Modified: 2017-02-15 13:19 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: display/atomic


Attachments
dmesg (213.12 KB, text/x-log)
2017-02-02 15:57 UTC, Rami
no flags Details

Description Rami 2017-02-02 15:57:46 UTC
Created attachment 129299 [details]
dmesg

Some kms_flip subtests fail:
kms_flip@2x-flip-vs-wf_vblank-interruptible
kms_flip@2x-flip-vs-wf_vblank-interruptible
kms_flip@flip-vs-wf_vblank-interruptible
kms_flip@2x-plain-flip-fb-recreate-interruptible
kms_flip@2x-plain-flip-ts-check-interruptible
kms_flip@2x-wf_vblank-ts-check-interruptible
kms_flip@flip-vs-absolute-wf_vblank-interruptible
kms_flip@plain-flip-fb-recreate-interruptible
kms_flip@plain-flip-ts-check-interruptible
kms_flip@wf_vblank-ts-check-interruptible

Actual results:
 sudo ./kms_flip --r 2x-plain-flip-ts-check-interruptible
IGT-Version: 1.17-g7b9499f (x86_64) (Linux: 4.10.0-rc6-tip-201702020159+ x86_64)
Using monotonic timestamps
Beginning 2x-plain-flip-ts-check-interruptible on pipe A:B, connector HDMI-A-1:DP-2
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
(kms_flip:12099) CRITICAL: Test assertion failure function calibrate_ts, file kms_flip.c:1190:
(kms_flip:12099) CRITICAL: Failed assertion: poll(&(struct pollfd){drm_fd, POLLIN}, 1, -1) == 1
(kms_flip:12099) CRITICAL: Last errno: 4, Interrupted system call
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [run_test_on_crtc_set.constprop.13+0x18f3]
  #2 [run_pair+0x31f]
  #3 [main+0x463]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest 2x-plain-flip-ts-check-interruptible failed.
**** DEBUG ****
(kms_flip:12099) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:12099) DEBUG: Test requirement passed: modes
(kms_flip:12099) INFO: Beginning 2x-plain-flip-ts-check-interruptible on pipe A:B, connector HDMI-A-1:DP-2
(kms_flip:12099) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:12099) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:12099) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:12099) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:12099) igt-kms-INFO:   1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
(kms_flip:12099) igt-kms-INFO:   1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
(kms_flip:12099) CRITICAL: Test assertion failure function calibrate_ts, file kms_flip.c:1190:
(kms_flip:12099) CRITICAL: Failed assertion: poll(&(struct pollfd){drm_fd, POLLIN}, 1, -1) == 1
(kms_flip:12099) CRITICAL: Last errno: 4, Interrupted system call
****  END  ****
Subtest 2x-plain-flip-ts-check-interruptible: FAIL (0.235s)

setup:
=========
SKLS1:
------
Platform SKL Gigabyte
CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (family 6, model 94, stepping 3)
GPU: Intel® HD Graphics 530 - Intel Corporation Sky Lake Integrated Graphics
(rev 06)
Motherboard version: H170N-WIFI-CF
Memory: 2x 4GB Kingston 9905622-055.A00G

Software
===========
Bios: F3
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
Kernel: drm-tip: 2017y-01m-30d-21h-14m-37s UTC integration manifest
commit 123d798c350471aba7e0625c154c6d9e395756c8
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:  Mon Jan 30 21:15:12 2017 +0000
drm:libdrm-2.4.75-3-gd4b8344 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.3-bec04114 from git://anongit.freedesktop.org/mesa/mesa
cairo:1.15.4-68bbb693 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.19.0-66-ga6fcb15 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-750-g2d6f2e8 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva:  libva-1.7.3.pre1-48-ge677ad9 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.3-287-g05d2d25 from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tool:intel-gpu-tools-1.17-162-g7b9499f
Comment 1 Maarten Lankhorst 2017-02-08 08:03:47 UTC
commit 164051347421710b8fa7fe79afec2ef1ffd97d30
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Feb 8 09:00:23 2017 +0100

    kms_flip: Handle EINTR in poll call for -interruptible tests.
    
    This fixes the following failure in kms_flip:
    (kms_flip:12099) CRITICAL: Test assertion failure function calibrate_ts, file kms_flip.c:1190:
    (kms_flip:12099) CRITICAL: Failed assertion: poll(&(struct pollfd){drm_fd, POLLIN}, 1, -1) == 1
    (kms_flip:12099) CRITICAL: Last errno: 4, Interrupted system call
    Stack trace:
      #0 [__igt_fail_assert+0xf1]
      #1 [run_test_on_crtc_set.constprop.13+0x18f3]
      #2 [run_pair+0x31f]
      #3 [main+0x463]
      #4 [__libc_start_main+0xf0]
      #5 [_start+0x29]
      #6 [<unknown>+0x29]
    Subtest 2x-plain-flip-ts-check-interruptible failed.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99651
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Comment 2 Rami 2017-02-15 13:19:33 UTC
Not reproduced with last setup:

Software
===========
Bios: F3
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
Kernel: drm-tip: 2017y-02m-12d-11h-10m-28s UTC integration manifest
commit : f48164e93e75dbbe0bb9dac254779eeea08c0657
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date: Sun Feb 12 11:11:21 2017 +0000
drm: libdrm-2.4.75-9-gec80fd3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.3-bec04114 from git://anongit.freedesktop.org/mesa/mesa
cairo:1.15.4-68bbb693 from git://anongit.freedesktop.org/cairo
xserver: xorg-server-1.19.0-66-ga6fcb15 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-750-g2d6f2e8 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva:  libva-1.7.3.pre1-48-ge677ad9 from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.3-287-g05d2d25 from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tool: intel-gpu-tools-1.17-240-gca2ba47


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.