Bug 100233 - [SKL] [drm:intel_cpu_fifo_underrun_irq_handler [i915]]*ERROR* CPU pipe x FIFO underrun
Summary: [SKL] [drm:intel_cpu_fifo_underrun_irq_handler [i915]]*ERROR* CPU pipe x FIFO...
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: maria guadalupe
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: PatchSubmitted
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-16 16:19 UTC by Rami
Modified: 2017-06-12 22:53 UTC (History)
1 user (show)

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


Attachments
dmesg (251.69 KB, text/x-log)
2017-03-16 16:19 UTC, Rami
no flags Details

Description Rami 2017-03-16 16:19:03 UTC
Created attachment 130266 [details]
dmesg

we have FIFO underrun error when making some rotation with 3 monitor connected

Setup:
setup:
=========
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-03m-15d-21h-47m-56s UTC integration manifest
  commit: d7cb114e1327b50c609ee6e67122cc0293ea515f
  author: Chris Wilson <chris@chris-wilson.co.uk>
  authored_date: Wed Mar 15 21:48:18 2017 +0000
drm:libdrm-2.4.75-14-g19c4cfc from  git://git.freedesktop.org/git/mesa/drm=
mesa:mesa-17.0.0 from git://git.freedesktop.org/git/mesa/mesa
cairo:1.15.4 from  git://anongit.freedesktop.org/cairo
xorg-server-macros:util-macros-1.19.1-2-g39f07f7 from   git://git.freedesktop.org/git/xorg/util/macros
xserver:xorg-server-1.19.0-133-g386fbbe from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-766-gbe913a3 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.3.pre1-85-gefc164d
vaapi-intel-driver:1.7.3-343-gef83d40 
waffle:debian/1.5.2-3-202-g03d5566


Steps:
===== 
xrandr --output <output> --rotate normal,inverted,left,right

dmesg:
======
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Comment 1 Jari Tahvanainen 2017-03-22 15:57:04 UTC
For my dev-SKL I'm getting the same dmesg ERROR with only one display connected
connector 48: type HDMI-A-1, status: disconnected
connector 53: type HDMI-A-2, status: disconnected
connector 55: type DP-1, status: connected
while executing kms_cursor_crc suite:
dmesg-fail: igt/kms_cursor_crc/cursor-256x256-suspend
dmesg-fail: igt/kms_cursor_crc/cursor-256x256-random
4.11.0-rc3-ezbench_2382ab6 (drm-tip: 2017y-03m-21d-22h-25m-56s UTC integration manifest)
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

This might be duplicate to some bug...
Comment 2 Jani Saarinen 2017-03-28 15:50:57 UTC
How about eg. https://bugs.freedesktop.org/show_bug.cgi?id=99322 as dup?
Comment 3 Ville Syrjala 2017-03-28 16:26:58 UTC
90/270 degree rotation via the display engine is a bit broken. There's one patch on the list that we'd need to fix scaling vs. rotation, but at least the watermarks need further fixing which I've not done.

Whether this case is actually rotating via the display engine or not I can't say with any degree of certainty. I do see the kernel complaining about tiling vs. rotation on the dmesg so at least userspace was attempting it, but whether it eventually succeeded I can't say for sure.
Comment 4 Jani Saarinen 2017-05-24 06:26:46 UTC
reference to patches: https://patchwork.freedesktop.org/series/22295/
Comment 5 Ville Syrjala 2017-06-07 15:13:16 UTC
Presuming to be fixed by
73714c05df97 ("drm/i915: Fix 90/270 rotated coordinates for FBC")
fce5adf568ab ("drm/i915: Fix SKL+ watermarks for 90/270 rotation")
d96a7d2adb04 ("drm/i915: Fix scaling check for 90/270 degree plane rotation")

Please reopen if it still happens.
Comment 6 Ricardo 2017-06-09 18:36:37 UTC
can you retest and confirm Lupita... if the issue is resolve please close
Comment 7 maria guadalupe 2017-06-12 22:51:24 UTC
this test is passing with the next configuration

Steps:
===== 
xrandr --output <output> --rotate normal,inverted,left,right

Software
======================================
kernel version              : 4.12.0-rc4-drm-tip-ww24-commit-4f89fbd+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 1.0

======================================
        Graphic drivers
======================================
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
vaapi (intel-driver)        : Intel i965 driver for Intel(R) Skylake - 1.7.3
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : SKL
motherboard model          : Inspiron15-7568
motherboard id             : 02HK88
form factor                : Laptop
manufacturer               : DellInc.
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
gpu card                   : Intel Corporation HD Graphics 520 (rev 07) (prog-if 00 [VGA controller])
memory ram                 : 7.71 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 78
cpu stepping               : 3
signature                  : Type 0, Family 6, Model 78, Stepping 3
hard drive                 : 931GiB (1TB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 HDMI-A-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.26

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe


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.