Created attachment 122319 [details] bsw-kms_universal_plane-kern.log 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 tests: # ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A # ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-B Actual result: --------------- 1. Tests are Fail, output: # ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-A IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64) (kms_universal_plane:2107) CRITICAL: Test assertion failure function pageflip_test_pipe, file kms_universal_plane.c:501: (kms_universal_plane:2107) CRITICAL: Failed assertion: drmModePageFlip(data->drm_fd, output->config.crtc->crtc_id, test.red_fb.fb_id, 0, NULL) == -EBUSY (kms_universal_plane:2107) CRITICAL: Last errno: 2, No such file or directory Stack trace: #0 [__igt_fail_assert+0xf1] #1 [run_tests_for_pipe.constprop.2+0x1ab9] #2 [__real_main774+0x8d] #3 [main+0x29] #4 [__libc_start_main+0xf5] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest disable-primary-vs-flip-pipe-A failed. **** DEBUG **** (kms_universal_plane:2107) DEBUG: Test requirement passed: !(pipe >= data->display.n_pipes) (kms_universal_plane:2107) igt-kms-DEBUG: display: HDMI-A-3: set_pipe(A) (kms_universal_plane:2107) igt-kms-DEBUG: display: HDMI-A-3: set_pipe(A) (kms_universal_plane:2107) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_universal_plane:2107) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680) (kms_universal_plane:2107) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_universal_plane:2107) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_universal_plane:2107) igt-kms-DEBUG: display: A.0: plane_set_fb(78) (kms_universal_plane:2107) igt-kms-DEBUG: display: commit { (kms_universal_plane:2107) igt-kms-DEBUG: display: } (kms_universal_plane:2107) igt-kms-DEBUG: display: A.0: plane_set_fb(0) (kms_universal_plane:2107) igt-kms-DEBUG: display: commit { (kms_universal_plane:2107) igt-kms-DEBUG: display: } (kms_universal_plane:2107) CRITICAL: Test assertion failure function pageflip_test_pipe, file kms_universal_plane.c:501: (kms_universal_plane:2107) CRITICAL: Failed assertion: drmModePageFlip(data->drm_fd, output->config.crtc->crtc_id, test.red_fb.fb_id, 0, NULL) == -EBUSY (kms_universal_plane:2107) CRITICAL: Last errno: 2, No such file or directory **** END **** Subtest disable-primary-vs-flip-pipe-A: FAIL (0.032s) # # # # ./kms_universal_plane --run-subtest disable-primary-vs-flip-pipe-B IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64) (kms_universal_plane:2117) CRITICAL: Test assertion failure function pageflip_test_pipe, file kms_universal_plane.c:501: (kms_universal_plane:2117) CRITICAL: Failed assertion: drmModePageFlip(data->drm_fd, output->config.crtc->crtc_id, test.red_fb.fb_id, 0, NULL) == -EBUSY (kms_universal_plane:2117) CRITICAL: Last errno: 2, No such file or directory Stack trace: #0 [__igt_fail_assert+0xf1] #1 [run_tests_for_pipe.constprop.2+0x1ab9] #2 [__real_main774+0x97] #3 [main+0x29] #4 [__libc_start_main+0xf5] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest disable-primary-vs-flip-pipe-B failed. **** DEBUG **** (kms_universal_plane:2117) DEBUG: Test requirement passed: !(pipe >= data->display.n_pipes) (kms_universal_plane:2117) igt-kms-DEBUG: display: HDMI-A-3: set_pipe(B) (kms_universal_plane:2117) igt-kms-DEBUG: display: HDMI-A-3: set_pipe(B) (kms_universal_plane:2117) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_universal_plane:2117) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680) (kms_universal_plane:2117) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_universal_plane:2117) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_universal_plane:2117) igt-kms-DEBUG: display: B.0: plane_set_fb(78) (kms_universal_plane:2117) igt-kms-DEBUG: display: commit { (kms_universal_plane:2117) igt-kms-DEBUG: display: } (kms_universal_plane:2117) igt-kms-DEBUG: display: B.0: plane_set_fb(0) (kms_universal_plane:2117) igt-kms-DEBUG: display: commit { (kms_universal_plane:2117) igt-kms-DEBUG: display: } (kms_universal_plane:2117) CRITICAL: Test assertion failure function pageflip_test_pipe, file kms_universal_plane.c:501: (kms_universal_plane:2117) CRITICAL: Failed assertion: drmModePageFlip(data->drm_fd, output->config.crtc->crtc_id, test.red_fb.fb_id, 0, NULL) == -EBUSY (kms_universal_plane:2117) CRITICAL: Last errno: 2, No such file or directory **** END **** Subtest disable-primary-vs-flip-pipe-B: FAIL (0.028s) Expected result: ----------------- 1. Tests are Pass
This is also reproduced on KBL with the next 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-nightly+ Linux distribution : Ubuntu 15.10 Architecture : 64-bit 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]) |=== kernel information ===| commit 2ec823981d62c56d1511bda42b8295e31ece800f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Sun May 22 18:23:13 2016 +0200 ========== test cases failed =============== igt@kms_universal_plane@universal-plane-pipe-a-functional igt@kms_universal_plane@universal-plane-pipe-b-functional
The mentioned tests are passing on BSW with the following configuration: Deleting BSW from header. Software information ============================================ Kernel version : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.3 DRM version : 2.4.68 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 : 0.33 KSC revision : 0.16 Hardware information ============================================ Platform : Motherboard model : 10G9000NUS Motherboard type : BRASWELL Desktop Motherboard manufacturer : LENOVO CPU family : Pentium CPU information : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz GPU Card : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller]) Memory ram : 8 GB Maximum memory ram allowed : 8 GB Display resolution : CPU's number : 4 Hard drive Capacity : 120 GB
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_universal_plane@universal-plane-pipe-a-functional igt@kms_universal_plane@universal-plane-pipe-b-functional
Closing since we have diverged from original bug that was fixed. Current issue is already followed in bug 94555
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.