Bug 95500 - [BXT-P/APL] Broken screen appeared when change pipeline for DP or HDMI under 4K resolution
Summary: [BXT-P/APL] Broken screen appeared when change pipeline for DP or HDMI under ...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Jim Bride
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-20 05:21 UTC by Lu, Han
Modified: 2016-06-07 08:01 UTC (History)
1 user (show)

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


Attachments
dmesg log (182.19 KB, text/plain)
2016-05-20 05:21 UTC, Lu, Han
no flags Details
Dmesg success (473.49 KB, text/plain)
2016-05-31 20:11 UTC, Elio
no flags Details

Description Lu, Han 2016-05-20 05:21:37 UTC
Created attachment 123935 [details]
dmesg log

Pre-condition: DP under 4K resolution + off eDP + HDMI(1080P), then change DP pipeline
Result: DP goes blank and HDMI display blurred screen(after change DP back to 1080P, then both DP and HDMI display normally)

System Environment:
Platform: Apollo lake RVP1a FabA
BIOS: APLKRVPA.X64.0126.B51.1602260229
KSC FW:1.10
BXT SOC : B0
GOP : 10.0.1025
Board ID: APL RVP 1A (01)
CPU Flavor: BXT Tablet (0)
FAB ID: FAB1
Total Memory : 8GB
Kernel:4.6.0-rc6
Tree: git://anongit.freedesktop.org/drm-intel
Branch:drm-intel-testing
Commit: drm-intel-testing-2016-05-08
HW-rework: F-28C, F-27, F20
Comment 1 Jim Bride 2016-05-25 14:47:10 UTC
Has this issue been reproduced on more than one platform?  Could you also please verify that you are running the BKC as far as the BIOS version goes?  There is a lot of complaining about the BIOS in the attached dmesg file.  Also, the dmesg reports that this is a BXT-P but the system info below says this is BXT-T.
Comment 2 Jim Bride 2016-05-25 17:45:03 UTC
Also, have you been able to reproduce this on the 5/20 dam-intel-testing branch?
Comment 3 Elio 2016-05-31 20:11:06 UTC
Im not able to reproduce the issue following the next steps, please claryfy if some step is missing since original steps are not clear enough.

1.Boot normally with 3 pipes (eDP, DP connected to 4k monitor, HDMI to 1080).
2.Turn off eDP (xrandr --output eDP1 --off)
3.Check remaining displays (DP to 4k and HDMI to 1080)
4.Play with different values over DP. No blurred screen on HDMI and DP never went to black.

Please check the following configuration:


 |=== Software information ===|

 ++ Kernel version                      : 4.6.0-drm-intel-nightly-ww21-commit-d381724+
 ++ Linux distribution                  : Ubuntu 16.04 LTS
 ++ Architecture                        : 64-bit
 ++ Mesa version                        : 11.2.2 (git-3a9f628
 ++ xf86-video-intel version            : 2.99.917
 ++ Xorg-Xserver version                : 1.18.3
 ++ DRM version                         : 2.4.68
 ++ VAAPI version                       : Intel i965 driver for Intel(R) Broxton - 1.7.0
 ++ Cairo version                       : 1.15.2
 ++ Intel GPU Tools version             : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
 ++ Kernel driver in use                : i915
 ++ Hardware acceleration               : Enabled
 ++ Bios revision                       : 138.25
 ++ 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 0a) (prog-if 00 [VGA controller])
 ++ Memory ram                          : 8 GB
 ++ Maximum memory ram allowed          : 16 GB
 ++ Display resolution                  : 3840x1080
 ++ CPU's number                        : 4
 ++ Hard drive capacity                 : 120 GB

With this configuration we are avoiding messages that are indicating that you Kernel is showing such as:

[   73.691242] WARNING: CPU: 0 PID: 1530 at drivers/gpu/drm/i915/intel_pm.c:3647 skl_update_other_pipe_wm+0x172/0x180 [i915]
[   73.691243] WARN_ON(!wm_changed)
[   73.691244] Modules linked in:
[   73.691250]  ax88179_178a usbnet mii xhci_plat_hcd dwc3 udc_core x86_pkg_temp_thermal coretemp nls_iso8859_1 kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw shpchp dwc3_pci mei_me mei rfkill_gpio tpm_crb intel_pmc_ipc mac_hid sunrpc parport_pc ppdev lp parport autofs4 hid_generic usbhid i915 psmouse xhci_pci xhci_hcd drm_kms_helper sdhci_pci syscopyarea igb sdhci sysfillrect sysimgblt fb_sys_fops dca ptp drm ahci pps_core i2c_algo_bit libahci i2c_hid hid video
[   73.691295] CPU: 0 PID: 1530 Comm: Xorg Tainted: G     U  W I     4.6.0-rc6-nightly+ #37
[   73.691296] Hardware name: Intel Corp. Broxton P/NOTEBOOK, BIOS APLKRVPA.X64.0126.B51.1602260229 02/26/2016
[   73.691297]  0000000000000000 ffff880273f4b930 ffffffff813b325c ffff880273f4b980
[   73.691299]  0000000000000000 ffff880273f4b970 ffffffff81079ec1 00000e3f00000000
[   73.691302]  ffff8802714b2000 ffff8802714b0000 0000000000000004 ffff8802763de3d0
[   73.691304] Call Trace:
[   73.691307]  [<ffffffff813b325c>] dump_stack+0x63/0x87
[   73.691308]  [<ffffffff81079ec1>] __warn+0xd1/0xf0
[   73.691310]  [<ffffffff81079f2f>] warn_slowpath_fmt+0x4f/0x60
[   73.691326]  [<ffffffffa0230000>] ? gen6_pm_rps_work+0x30/0x300 [i915]
[   73.691343]  [<ffffffffa023d182>] skl_update_other_pipe_wm+0x172/0x180 [i915]
[   73.691360]  [<ffffffffa023d32a>] skl_update_wm+0x19a/0x6f0 [i915]
[   73.691381]  [<ffffffffa02b33de>] ? bxt_ddi_pll_disable+0x4e/0x60 [i915]
[   73.691397]  [<ffffffffa023e8ce>] intel_update_watermarks+0x1e/0x30 [i915]
[   73.691417]  [<ffffffffa02a5225>] intel_atomic_commit+0x435/0x1fc0 [i915]
[   73.691421]  [<ffffffff811d9967>] ? kmem_cache_alloc_trace+0x187/0x210
[   73.691426]  [<ffffffffa0187045>] ? drm_atomic_helper_connector_duplicate_state+0x35/0x80 [drm_kms_helper]



As reference please check attached dmesg.
Comment 4 Elio 2016-05-31 20:11:56 UTC
Created attachment 124220 [details]
Dmesg success
Comment 5 Elio 2016-05-31 20:32:04 UTC
Same result with following commit (drm-intel-testing www 20):

commit f1eaed1d4ceeb3c26ed975b0e7eabe95a95b22c7
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri May 20 17:35:54 2016 +0300

    drm-intel-nightly: 2016y-05m-20d-14h-35m-29s UTC integration manifest


Kernel version : 4.6.0
Architecture : source amd64 all
Homepage : http://www.kernel.org/
Kernel build hour : 12:45:01
Comment 6 Lu, Han 2016-06-07 08:01:10 UTC
The issue seems to be a gfx user space issue in our side. Since GFX cannot reproduce this issue and it doesn't block audio pipeline test anymore, The issue can be closed to us. If the issue is reproduced in the future, we can reopen it.

Our steps to test the pipeline switch for audio:
1. stop lightdm //lightdm is a display manager
# sudo /etc/init.d/lightdm stop
2. start xinit
# xinit
3. in xinit, test the pipeline switch
# xrandr --output HDMIn/DPn --crtc m
4. do the audio test.


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.