Bug 99909 - [KBL] [IGT] drv_missed_irq assertion failure check_rings != expect_rings
Summary: [KBL] [IGT] drv_missed_irq assertion failure check_rings != expect_rings
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
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-22 18:33 UTC by Luis Botello
Modified: 2017-04-11 13:12 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features: power/Other


Attachments

Description Luis Botello 2017-02-22 18:33:43 UTC
HW config
===============================
Processor Number				i7-7500U
Processor Graphics 				Intel® HD Graphics 620
Graphics Base Frequency				300.00 MHz
Graphics Max Dynamic Frequency			1.05 GHz
Graphics Video Max Memory			32 GB
Graphics Output					eDP/DP/HDMI/DVI

SW config
=================================
Kernel version : 4.10.0-rc8-e80b772
commit e80b772bf85da72c46b582e7c4f7b0d861cb4669
    drm-tip: 2017y-02m-14d-22h-44m-17s UTC integration manifest
Component         : drm
	tag       : libdrm-2.4.75-6-gec80fd3
	commit    : ec80fd3
 Component         : cairo
	tag       : 1.15.4-6-g5854dd9
	commit    : 5854dd9
Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.17-240-gca2ba47
	commit    : ca2ba47

Steps
====================================
./kms_busy --run-subtest extended-modeset-hang-newfb-blt-a

Program output
=====================================
(drv_missed_irq:1523) CRITICAL: Test assertion failure function __real_main115, file drv_missed_irq.c:178:
(drv_missed_irq:1523) CRITICAL: Failed assertion: check_rings == expect_rings
(drv_missed_irq:1523) CRITICAL: error: 0 != 0x17
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x38e]
  #2 [__libc_csu_init+0x0]
Test drv_missed_irq failed.
**** DEBUG ****
(drv_missed_irq:1523) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(drv_missed_irq:1523) drmtest-DEBUG: Test requirement passed: !(fd<0)
(drv_missed_irq:1523) DEBUG: Test requirement passed: gem_mmap__has_wc(fd)
(drv_missed_irq:1523) DEBUG: Clearing rings 17
(drv_missed_irq:1523) DEBUG: Clearing ring render [1]
(drv_missed_irq:1523) DEBUG: Clearing ring bsd [2]
(drv_missed_irq:1523) DEBUG: Clearing ring bsd1 [2002]
(drv_missed_irq:1523) DEBUG: Clearing ring bsd2 [4002]
(drv_missed_irq:1523) DEBUG: Clearing ring blt [3]
(drv_missed_irq:1523) DEBUG: Clearing ring vebox [4]
(drv_missed_irq:1523) DEBUG: Testing rings 17
(drv_missed_irq:1523) DEBUG: Executing on ring render [1]
(drv_missed_irq:1523) DEBUG: Executing on ring bsd [2]
(drv_missed_irq:1523) DEBUG: Executing on ring bsd1 [2002]
(drv_missed_irq:1523) DEBUG: Executing on ring bsd2 [4002]
(drv_missed_irq:1523) DEBUG: Executing on ring blt [3]
(drv_missed_irq:1523) DEBUG: Executing on ring vebox [4]
(drv_missed_irq:1523) CRITICAL: Test assertion failure function __real_main115, file drv_missed_irq.c:178:
(drv_missed_irq:1523) CRITICAL: Failed assertion: check_rings == expect_rings
(drv_missed_irq:1523) CRITICAL: error: 0 != 0x17
****  END  ****
FAIL (12.334s)

dmesg
=============================================
[   74.580070] Console: switching to colour dummy device 80x25
[   74.580172] [IGT] drv_missed_irq: executing
[   74.580806] [drm:intel_ring_workarounds_emit [i915]] Number of Workarounds emitted: 17
[   74.617781] [drm:i915_ring_test_irq_set [i915]] Masking interrupts on rings 0x00000017
[   74.617881] [drm:i915_ring_test_irq_set [i915]] Masking interrupts on rings 0x00000000
[   86.914017] [IGT] drv_missed_irq: exiting, ret=99
[   86.914756] [drm:intel_ring_workarounds_emit [i915]] Number of Workarounds emitted: 17
[   86.977398] Console: switching to colour frame buffer device 240x67
Comment 1 Luis Botello 2017-02-22 18:49:53 UTC
Please ignore the section Steps in the previous comment, this is the correct:
Steps:
========================================
./drv_missed_irq assertion
Comment 2 Chris Wilson 2017-02-22 21:19:42 UTC
commit ee4e38f9350fd8c69a3b228b8caff329fcfd87be
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Feb 22 21:17:12 2017 +0000

    igt/drv_missed_irq: Enable fault injection!
    
    Fixes: 4c5ed71fa743 ("igt/drv_missed_irq: Clear pending IRQs before testing")
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99909
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.