Bug 99903 - [KBL][IGT]kms_busy@flip-bsd-b test cause error hw_done timed out
Summary: [KBL][IGT]kms_busy@flip-bsd-b test cause error hw_done timed out
Status: CLOSED DUPLICATE of bug 99093
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other 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-22 16:22 UTC by Rami
Modified: 2017-07-24 22:39 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features:


Attachments

Description Rami 2017-02-22 16:22:29 UTC
Test fail on KBL and cause error hw_done timed out:

Setup
======

Kernel: drm-tip: 2017y-02m-14d-22h-44m-17s UTC integration manifest
commit e80b772bf85da72c46b582e7c4f7b0d861cb4669
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Feb 14 23:45:02 2017 +0100

intel-gpu-tools: intel-gpu-tools-1.17-240-gca2ba47 
drm:libdrm-2.4.75-6-gec80fd3
cairo:1.15.4-6-g5854dd9

Actual result:
==============
./kms_busy --r flip-bsd-b

IGT-Version: 1.17-gca2ba47 (x86_64) (Linux: 4.10.0-rc8-drm-tip-qa-ww7-commit-e80b772+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [flip_to_fb+0xc2]
  #2 [<unknown>+0xc2]
Subtest flip-bsd-B: FAIL (226.326s)

Stderr 	

(kms_busy:10817) CRITICAL: Test assertion failure function flip_to_fb, file kms_busy.c:131:
(kms_busy:10817) CRITICAL: Failed assertion: nanosleep(&tv, NULL) == -1
(kms_busy:10817) CRITICAL: flip to fb[0] blocked waiting for busy fbSubtest flip-bsd-B failed.
**** DEBUG ****
(kms_busy:10817) DEBUG: Test requirement passed: gem_has_ring(display.drm_fd, e->exec_id | e->flags)
(kms_busy:10817) igt-kms-DEBUG: display: HDMI-A-2: set_pipe(B)
(kms_busy:10817) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe B
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_busy:10817) igt-kms-DEBUG: display: B.0: plane_set_fb(83)
(kms_busy:10817) DEBUG: Test requirement passed: (output = set_fb_on_crtc(dpy, pipe, &fb[0]))
(kms_busy:10817) igt-kms-DEBUG: display: commit {
(kms_busy:10817) igt-kms-DEBUG: display:     HDMI-A-2: Selecting pipe B
(kms_busy:10817) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     HDMI-A-2: SetCrtc pipe B, fb 83, src (0, 0), mode 1920x1080
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_busy:10817) igt-kms-DEBUG: display: }
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_busy:10817) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(kms_busy:10817) igt-dummyload-DEBUG: Test requirement passed: nengine
(kms_busy:10817) CRITICAL: Test assertion failure function flip_to_fb, file kms_busy.c:131:
(kms_busy:10817) CRITICAL: Failed assertion: nanosleep(&tv, NULL) == -1
(kms_busy:10817) CRITICAL: flip to fb[0] blocked waiting for busy fb****  END  ****

Dmesg:
=======[ 5165.022890] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5175.262899] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5185.502910] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5195.742880] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5205.983066] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5216.223056] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5226.462893] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5236.706914] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5246.943073] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5257.182951] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5267.423031] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5277.662876] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5287.902946] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5298.142913] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5308.382916] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5318.622939] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5328.862893] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5339.102922] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5349.343122] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5359.583044] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5369.823133] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5380.062916] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5390.302952] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5390.303296] drm/i915: Resetting chip after gpu hang
[ 5400.542921] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5400.542925] [drm:drm_atomic_helper_setup_commit [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] cleanup_done timed out
[ 5410.783033] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5421.023057] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5431.263087] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5441.502929] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5451.742940] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5461.982929] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5472.222905] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5482.466959] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5492.702910] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5502.942932] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5513.182899] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5523.423061] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5533.662934] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5543.902954] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:45:pipe C] hw_done timed out
Comment 1 Maarten Lankhorst 2017-03-15 11:54:04 UTC

*** This bug has been marked as a duplicate of bug 99093 ***


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.