Bug 90239

Summary: [SKL desktop] DP hotplug cause " CPU pipe A FIFO underrun" ERROR
Product: DRI Reporter: liulei <lei.a.liu>
Component: DRM/IntelAssignee: cprigent <christophe.prigent>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: christophe.prigent, intel-gfx-bugs, james.ausmus, mika.kahola, q3aiml
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: display/DP
Attachments:
Description Flags
dmesg
none
DP sink power down test
none
DP sink power down test none

Description liulei 2015-04-29 14:08:12 UTC
Created attachment 115449 [details]
dmesg

==System Environment==
--------------------------
Regression: No. This is first time test on this machine.
Non-working platforms: SKL

==kernel==
--------------------------
-nightly: 9a4da5ec419897b78c1d4a3949c0c049db5402c5 (fails)
    drm-intel-nightly: 2015y-04m-28d-14h-41m-15s UTC integration manifest
-queued: de4de566f84b87f4d5f8265b11932088adb19896 (fails)
    drm/i915: Update DRIVER_DATE to 20150423
-fixes: a04f90a33fab74789b91fc9739999012f11022d1 (fails)
    drm/i915/chv: Implement WaDisableShadowRegForCpd
==Bug detailed description==
-----------------------------
Unplug DP monitor system output ERROR:
[drm:gen8_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun

==Reproduce steps==
---------------------------- 
1. unplug DP
2. check screen.
Comment 1 cprigent 2015-08-03 21:36:24 UTC
Bug scrub: Reassigned to submitter
Lei, do you still reproduce it?
Comment 2 cprigent 2015-08-05 08:13:17 UTC
Lei can't do the verification. Assigned to me.
Comment 3 Mika Kahola 2015-08-20 12:50:37 UTC
Created attachment 117809 [details] [review]
DP sink power down test

It seems that we are failing to disable sink power before we hit the fifo error. Could you give it a go for this patch if this would be helpful.
Comment 4 Mika Kahola 2015-08-20 12:55:12 UTC
Created attachment 117810 [details] [review]
DP sink power down test

Oops. Let's fix some compiler warnings..
Comment 5 Jani Nikula 2015-10-30 13:24:15 UTC
Please try Ville's FIFO underrun elimination series [1] on top of drm-intel-nightly, also available at [2], and report back.

[1] http://mid.gmane.org/1446146763-31821-1-git-send-email-ville.syrjala@linux.intel.com
[2] git://github.com/vsyrjala/linux.git pch_fifo_underrun_fix_4
Comment 6 Jani Nikula 2015-11-12 15:09:39 UTC
(In reply to Jani Nikula from comment #5)
> Please try Ville's FIFO underrun elimination series [1] on top of
> drm-intel-nightly, also available at [2], and report back.
> 
> [1]
> http://mid.gmane.org/1446146763-31821-1-git-send-email-ville.syrjala@linux.
> intel.com
> [2] git://github.com/vsyrjala/linux.git pch_fifo_underrun_fix_4

The series has been merged to drm-intel-nightly. Please retest that.
Comment 7 cprigent 2016-10-11 11:54:36 UTC
10 DP hotplug tested on SKL NUC6i3SYB and NUC6i7KYK, FIFO underrun is not reproduced.

Platform SKL: NUC6i3SYB
CPU: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHZ (family 6, model 78, stepping 3)
Motherboard version: H81132-502
GPU: Intel® HD Graphics 520 - Intel Corporation Sky Lake Integrated Graphics (rev 07)
Memory: one 8GB card Kingston KVR21S15D8/8
SSD: Samsung 850 EVO M.2 120 Go
Software
Bios: SYSKLi35.86A.0045.2016.0527.1055 from https://downloadcenter.intel.com/downloads/eula/26097/BIOS-Update-SYSKLi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26097%2Feng%2FSY0045.bio
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
External screens: Ctl IP2152 (HDMI) and LG 23MB35PYI (DP)

Platform SKL Skull Canyon: NUC6i7KYK
CPU: Intel® Core(TM) i7-6770HQ CPU @ 2.6GHz (family 6, model 94, stepping 3)
GPU: Intel® IrisTM Pro Graphics 580 - Intel Corporation Sky Lake Integrated Graphics (rev 09)
Motherboard version: H90766-405
Memory: 2 x 4GB card Kingston KVR21S15S8/4
Software
Bios: KYSKLi70.86A.0041.2016.0817.1130 from https://downloadcenter.intel.com/downloads/eula/26210/BIOS-Update-KYSKLi70-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26210%2Feng%2FKY0041.bio
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
External screens: ASUS PB287Q (DP), DELL P2715Qt (HDMI)

Kernel: 4.8.0 f35ed31 from http://cgit.freedesktop.org/drm-intel/
  commit f35ed31aea66b3230c366fcba5f3456ae2cb956e
  Author: Jani Nikula <jani.nikula@intel.com>
  Date:   Mon Oct 10 14:29:09 2016 +0300
  drm-intel-nightly: 2016y-10m-10d-11h-28m-51s UTC integration manifest
libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-76 97a8353 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-712 696f58f from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-133 dd73514 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-59 48a9e1e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 8 cprigent 2016-10-11 11:54:46 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.