Bug 95387 - [APL] igt / kms_flip / bo-too-big and bo-too-big-interruptible fail
Summary: [APL] igt / kms_flip / bo-too-big and bo-too-big-interruptible fail
Status: CLOSED WORKSFORME
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-05-13 16:59 UTC by cprigent
Modified: 2016-07-06 12:30 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features: display/Other


Attachments
kbl_output_bo-too-big (3.56 KB, text/plain)
2016-05-13 16:59 UTC, cprigent
no flags Details
kbl_bo-too-big_dmesg (242.31 KB, text/plain)
2016-05-13 17:00 UTC, cprigent
no flags Details
apl_output_kms-flip_bo-too-big (3.50 KB, text/plain)
2016-05-19 09:13 UTC, cprigent
no flags Details
apl_output_kms-flip_bo-too-big (293.11 KB, text/plain)
2016-05-19 09:14 UTC, cprigent
no flags Details

Description cprigent 2016-05-13 16:59:47 UTC
Created attachment 123709 [details]
kbl_output_bo-too-big

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/
  commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date:   Mon May 9 19:24:21 2016 +0300
  drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest
libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
Execute commands:
cd <...>/intel-gpu-tools/tests
# ./kms_flip --run-subtest bo-too-big
# ./kms_flip --run-subtest bo-too-big-interruptible

Actual result:
--------------
Tests are fail

Expected result:
----------------
Tests are Pass
Comment 1 cprigent 2016-05-13 17:00:19 UTC
Created attachment 123710 [details]
kbl_bo-too-big_dmesg
Comment 2 cprigent 2016-05-19 09:13:24 UTC
Created attachment 123902 [details]
apl_output_kms-flip_bo-too-big

Also fail on APL:

Platform: Broxton P A0 Platform 
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
QDF : QYE2
CRB : Apollo Lake RVPC1 Fab1
Software 
Bios: APLKRVPA.X64.0116.R20.1512211905
KSC: 1.05
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.6.0 d381724 from http://cgit.freedesktop.org/drm-intel/
	commit d3817246ca053dd3e7ea8017db4a74707f8195a2
	Author: Jani Nikula <jani.nikula@intel.com>
	Date:   Mon May 16 15:14:24 2016 +0300
	drm-intel-nightly: 2016y-05m-16d-12h-14m-04s UTC integration manifest
drm: libdrm-2.4.68 7aab852 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
DMC 1.07
intel-gpu-tools 1.14 b88bce4 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 3 cprigent 2016-05-19 09:14:23 UTC
Created attachment 123903 [details]
apl_output_kms-flip_bo-too-big
Comment 4 Humberto Israel Perez Rodriguez 2016-05-26 19:50:24 UTC
looks like that these two test are looking for some kind of file in order to run the test but this file is not in tests folder


test output
===================================================
(kms_flip:1693) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(kms_flip:1693) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_flip:1693) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_flip:1693) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_flip:1693) drmtest-DEBUG: Test requirement passed: fd >= 0
(kms_flip:1693) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
Using monotonic timestamps
(kms_flip:1693) igt-core-DEBUG: Starting subtest: bo-too-big-interruptible
(kms_flip:1693) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:1693) DEBUG: Test requirement passed: modes
Beginning bo-too-big-interruptible on pipe A, connector eDP-1
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=1073741824)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
  1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120
(kms_flip:1693) CRITICAL: Test assertion failure function run_test_on_crtc_set, file kms_flip.c:1396:
(kms_flip:1693) CRITICAL: Failed assertion: do_page_flip(o, o->fb_ids[1], 1) == -7
(kms_flip:1693) CRITICAL: Last errno: 2, No such file or directory
(kms_flip:1693) CRITICAL: error: 0 != -7
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [run_test_on_crtc_set.constprop.13+0x925]
  #2 [run_test+0x26a]
  #3 [main+0x4e1]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest bo-too-big-interruptible failed.
**** DEBUG ****
(kms_flip:1693) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd)
(kms_flip:1693) DEBUG: Test requirement passed: modes
(kms_flip:1693) INFO: Beginning bo-too-big-interruptible on pipe A, connector eDP-1
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=1073741824)
(kms_flip:1693) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680)
(kms_flip:1693) igt-kms-INFO:   1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120
(kms_flip:1693) CRITICAL: Test assertion failure function run_test_on_crtc_set, file kms_flip.c:1396:
(kms_flip:1693) CRITICAL: Failed assertion: do_page_flip(o, o->fb_ids[1], 1) == -7
(kms_flip:1693) CRITICAL: Last errno: 2, No such file or directory
(kms_flip:1693) CRITICAL: error: 0 != -7
****  END  ****
Subtest bo-too-big-interruptible: FAIL (1.141s)
(kms_flip:1693) igt-core-DEBUG: Exiting with status code 99
(kms_flip:1693) igt-kms-DEBUG: VT: original mode 0x0 restored



i've tried with the following configuration

Gfx stack information
===============================================
 --> Component : drm 
	 tag : libdrm-2.4.68-4-g7aab852 
	 commit : 7aab852 
 --> Component : mesa 
	 tag : mesa-11.1.2 
	 commit : 7bcd827 
 --> Component : cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
 --> Component : intel-gpu-tools
	 tag : intel-gpu-tools-1.14-346-gcce2ff0
	 commit : cce2ff0


Software information
===============================================
Kernel version                      : 4.6.0-rc7-drm-intel-nightly-ww20-commit-5528ede+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 138.22
KSC revision                        : 1.12
DMC revision                        : 1.07
GUC revision                        : 8.7


Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])


kernel
===============================================
commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200

    drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest
Comment 5 maria guadalupe 2016-05-27 20:29:19 UTC
the same thing with KBL and the following kernel

|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200
Comment 6 Humberto Israel Perez Rodriguez 2016-06-03 17:26:16 UTC
The following tests cases are fail with the following configuration :


Tests cases
===============================================
igt@kms_flip@bo-too-big-interruptible
igt@kms_flip@bo-too-big


Gfx stack information
===============================================
--> Component : drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
--> Component : cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
--> Component : intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-348-g303b380 
	 commit : 303b380 
 
Software information
===============================================
Kernel version                      : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution                  : Ubuntu 16.04
Architecture                        : 64-bit
Bios revision                       : 138.25
KSC revision                        : 1.12
DMC revision                        : 1.07

Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])

kernel
===============================================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

    drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest
Comment 7 maria guadalupe 2016-06-06 16:40:24 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                        : Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest


Kernel version : 4.6.0

========== test cases failed ===============

igt@kms_flip@bo-too-big
igt@kms_flip@bo-too-big-interruptible
Comment 8 cprigent 2016-06-17 15:47:32 UTC
Tests are Pass on KBL-U.
Let's confirm on APL before closing it.

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
kernel drm-intel-nightly 4.7.0-rc2 94fd582 from http://cgit.freedesktop.org/drm-intel/
	commit 94fd58280a304907ee69d03a96e65d3692cee897
	Author: Daniel Vetter <daniel.vetter@ffwll.ch>
	Date:   Fri Jun 10 18:42:58 2016 +0200
	drm-intel-nightly: 2016y-06m-10d-16h-42m-36s UTC integration manifest
drm: libdrm-2.4.68 625d181 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
intel-gpu-tools-1.15 bc570aa from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 9 cprigent 2016-07-06 12:30:41 UTC
Tests are Pass on APL.

Platform: APL system
CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12, stepping: 9) 4 cores
QDF : Q6HE
SoC : B1
CRB : Apollo Lake DDR3L RVP1A FAB2
Reworks : R19, R20

Software 
Bios: 144_B10 APLK_B0_IFWI_X64_R_2016_06_27_0956_SPI_RVP1.bin from \\gar\ec\proj\ba\CCG\APL BIOS\External\BIOS_Release\Daily\v144_10_2016_WW27.1\IFWI\IFWI_RVP1_Release\IFWI
KSC: 1.15
Linux distribution: Ubuntu 16.04 64 bits
Kernel: drm-intel-nightly 4.7.0-rc5 2fe5da8 from http://cgit.freedesktop.org/drm-intel/
   commit 2fe5da8adcbe5a34830b98c63878eea756e977a2
   Author: Chris Wilson <chris@chris-wilson.co.uk>
   Date:   Sat Jul 2 19:32:50 2016 +0100
   drm-intel-nightly: 2016y-07m-02d-18h-31m-39s UTC integration manifest
drm: libdrm-2.4.68-11 7996a87 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
server: xorg-server-1.18.0-443 3762edd from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-674 9154dff from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-53 bcde10d from git://git.freedesktop.org/git/vaapi/intel-driver
GuC 8.7
DMC 1.07 from https://01.org/linuxgraphics/downloads/broxton-dmc-1.07
Intel-Gpu-Tools 1.15-87 376b813 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 10 cprigent 2016-07-06 12:30:56 UTC
So closed


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.