Bug 93917 - [BXT-P /APL] Corruption is seen on eDP with 2/3 pipes
Summary: [BXT-P /APL] Corruption is seen on eDP with 2/3 pipes
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: Humberto Israel Perez Rodriguez
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 02:07 UTC by Humberto Israel Perez Rodriguez
Modified: 2016-04-18 18:14 UTC (History)
1 user (show)

See Also:
i915 platform: BXT
i915 features: display/eDP


Attachments
dmesg.log (3.91 MB, text/plain)
2016-01-29 02:07 UTC, Humberto Israel Perez Rodriguez
no flags Details
dmesg_patches.log (288.33 KB, text/plain)
2016-04-06 19:26 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2016-01-29 02:07:46 UTC
Created attachment 121378 [details]
dmesg.log

System environment
---------------------------
BXT-P : CPU QDF QKG2
KSC : 1.06
BIOS : APLK_IFWI_X64_R_2016_02_4_00 (119.10)
Cores : 4
Microcode Revision : 9002100A
Processor : Intel (R) Genuine processor
Speed : 1200 Mhz
BXT SOC : A0
GOP : 10.0.1022
CPU Flavor : APL RVP 1A (01)
FAB ID : FAB1
BOAD ID : APL RVP 1A (01)
Total Memory : 8GB


Software configuration
-----------------------------
OS : Ubuntu 15.10 x86_64
kernel : drm-intel-nightly

commit 8fe9e785ae04fa7c37f7935cff12d62e38054b60
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Thu Jan 21 11:03:06 2016 +0000
drm-intel-nightly: 2016y-01m-21d-11h-02m-42s UTC integration manifest


--> Component : drm 
url : http://cgit.freedesktop.org/mesa/drm 
tag : libdrm-2.4.66-2-ge342c0f 
commit : e342c0f 
author : Ville Syrjälä <ville.syrjala@linux.intel.com> 
age : 6 weeks ago 
--> Component : mesa 
url : http://cgit.freedesktop.org/mesa/mesa 
tag : mesa-11.0.8 
commit : 261daab 
author : Emil Velikov <emil.velikov@collabora.com> 
age : 5 weeks ago 
--> Component : xf86-video-intel 
url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
tag : 2.99.917 
commit : baec802 
author : Chris Wilson <chris@chris-wilson.co.uk> 
age : 1 year 1 month ago 
--> Component : libva 
url : http://cgit.freedesktop.org/libva/ 
tag : libva-1.6.1-34-gcb418f6 
commit : cb418f6 
author : Lim Siew Hoon <siew.hoon.lim@intel.com> 
age : 3 weeks ago 
--> Component : vaapi (intel-driver) 
url : http://cgit.freedesktop.org/vaapi/intel-driver 
tag : 1.6.1-88-g2110b3a 
commit : 2110b3a 
author : peng.chen <peng.c.chen@intel.com> 
age : 13 days ago 
--> Component : cairo 
url : http://cgit.freedesktop.org/cairo 
tag : 1.15.2 
commit : db8a7f1 
author : Bryce Harrington <bryce@osg.samsung.com> 
age : 7 weeks ago 
--> Component : xserver 
url : http://cgit.freedesktop.org/xorg/xserver 
tag : xorg-server-1.18.0 
commit : 43fb888 
author : Adam Jackson <ajax@redhat.com> 
age : 3 months ago

Regresion
--------------
not sure

Bug detailed description
-------------------------------
After boot Ubuntu and connect DP + HDMI corruption is seen on eDP panel most of time with only move the mouse or do any action like open a terminal.

Steps to reproduce
-------------------------
1-Boot ubuntu on X window
2-Connect DP + HDMI
3-Do any action like moving the mouse or open a terminal

Corruption is seen on step 3

Expected result
--------------------
no issues will be seen after connect 3 pipes

Actual result
---------------------
Corruption is seen after connect DP + HDMI and do any action like moving the mouse or open a terminal

Additional info
------------------
grub options :
 
acpi_enforce_resources=lax initcall_debug maxcpus=1 no_console_suspend log_buf_len=4M ignore_loglevel i915.enable_rc6=0 drm.debug=0x1e

Bios options :

1- Device Manager > System Setup > CPU Configuration > CPU Power Management > Max Package C State "S0ix default" to "C0"
2- Device Manager > System Setup > CPU Configuration > CPU Power Management > Max Core C State "Fused value default" to "Core C6"

Attachment
---------------
dmesg.log
Comment 1 cprigent 2016-02-02 17:17:16 UTC
Bug scrub:
----------
Assigned to Jim Bride
Comment 2 Humberto Israel Perez Rodriguez 2016-03-15 17:22:30 UTC
This issue can be observed with only HDMI and the latest configuration :

 --- Software information ---	
 Kernel version	4.5.0-rc5-drm-intel-testing-ww10-commit-a27657a+
 Linux distribution	Ubuntu 15.10
 Architecture	64-bit
 Mesa version	11.1.2
 xf86-video-intel version	2.99.917
 Xorg-Xserver version	1.18.1
 DRM version	2.4.67
 Cairo version	1.15.2
 Kernel driver in use	i915
 Bios revision	123.16
 KSC revision	1.6
	
 --- Hardware information ---	
 Platform	BXT-P
 Motherboard model	Broxton P
 Motherboard type	NOTEBOOK Hand Held
 Motherboard manufacturer	Intel Corp.
 CPU family	Other
 CPU information	06/5c
 GPU Card	Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])
 Memory ram	8 GB
 Maximum memory ram allowed	16 GB



Kernel : drm-intel-testing / commit = a27657a
==================================================

commit a27657a39741599ce9feef1ef39ae6654e9e6768
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Feb 29 09:42:22 2016 +0100

    drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest
Comment 3 Jim Bride 2016-03-15 17:34:46 UTC
[ 2767.011766] [drm:intel_update_cdclk] Current CD clock rate: 288000 kHz

I wonder if we're running into the following (from the B-Spec SKL+ CDCLK_CTL register description):

Do not use DisplayPort with CDCLK less than 432 MHz, audio enabled, port width x4, and link rate HBR2 (5.4 GHz), or else there may be audio corruption or screen corruption.
Comment 4 Jim Bride 2016-03-15 17:39:22 UTC
(In reply to Jim Bride from comment #3)
> [ 2767.011766] [drm:intel_update_cdclk] Current CD clock rate: 288000 kHz
> 
> I wonder if we're running into the following (from the B-Spec SKL+ CDCLK_CTL
> register description):
> 
> Do not use DisplayPort with CDCLK less than 432 MHz, audio enabled, port
> width x4, and link rate HBR2 (5.4 GHz), or else there may be audio
> corruption or screen corruption.

Additionally, it's worth noting that on BXT A the only operation external port, Port B (ddi0), has LSPCON in front of it and there is not currently support in the kernel to configure LSPCON.  The CDCLK issue is still pertinent perhaps (likely, in fact) but any other behavior on Port B with BXT A is certainly suspect until we have LSPCON configuration support in the kernel.
Comment 6 cprigent 2016-04-06 15:23:36 UTC
Assigned to Humberto to check the patches. Thanks
Comment 7 Humberto Israel Perez Rodriguez 2016-04-06 19:26:10 UTC
(In reply to Imre Deak from comment #5)
> Could you try the following two patches:
> https://lists.freedesktop.org/archives/intel-gfx/2016-April/091296.html
> https://lists.freedesktop.org/archives/intel-gfx/2016-April/091309.html

this issue is gone with the patches , the flickering / corruption is not seen anymore with 2/3 pipes (edp + hdmi +dp )

kernel
==================================================
commit ab13a48af1102b84bdb8dcdfbef1b5b44fab8d3d
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Apr 6 14:24:06 2016 +0300

    drm-intel-nightly: 2016y-04m-06d-11h-23m-30s UTC integration manifest


Architecture: any all
Version: 4.6.0-rc2
Homepage: http://www.kernel.org/

i have to comment that even with with DP 4K this patches works

attachment
=================
dmesg_patches.log
Comment 8 Humberto Israel Perez Rodriguez 2016-04-06 19:26:34 UTC
Created attachment 122777 [details]
dmesg_patches.log
Comment 9 Imre Deak 2016-04-11 13:12:58 UTC
The fix is merged now, so closing this.


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.