Bug 103459 - Testdislay -a doesn't work on multiple displays
Summary: Testdislay -a doesn't work on multiple displays
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: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-25 22:48 UTC by Armando Antonio
Modified: 2018-02-20 18:07 UTC (History)
1 user (show)

See Also:
i915 platform: CNL
i915 features:


Attachments
kernel log (224.06 KB, text/plain)
2017-10-25 22:48 UTC, Armando Antonio
no flags Details
dmesg (73.77 KB, text/plain)
2017-10-25 22:50 UTC, Armando Antonio
no flags Details
kernel (1.39 MB, text/plain)
2017-10-26 17:06 UTC, Armando Antonio
no flags Details
dmesg (255.16 KB, text/plain)
2017-10-26 17:07 UTC, Armando Antonio
no flags Details

Description Armando Antonio 2017-10-25 22:48:59 UTC
Created attachment 135046 [details]
kernel log

After trying to run testdisplay -a on CNL using multiple displays, I found that when test start on eDP and finish testdisplay -a hangs the platform and the other monitors never shows any activity.

=========================
Steps
=========================
1.Connect eDP, HDMI and DP
2.Run testdisplay -a 
3.Check that no all resolutions are supporten on eDP, and after finish with eDP 
hdmi and dp never start the excecution of testdisplay
Comment 1 Armando Antonio 2017-10-25 22:49:44 UTC
Attached platform configuration.

======================================
Configuration
======================================
kernel version              : 4.14.0-rc5-drm-tip-ww42-commit-920fa32+
hostname                    : gfx-CannonLake-Client-Platform
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 100.1
bios release date           : 08/15/2017
ksc                         : 1.28
hardware acceleration       : only available on X
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
	Graphic drivers
======================================
xf86-video-intel (tag)      : 2.99.917
xf86-video-intel (commit)   : 2.99.917-796-g04b4f3b
modesetting                 : enabled
modesetting compiled for    : 1.19.99.1 X.Org Video Driver
libdrm                      : 2.4.84
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.20-29-gd4d976de
intel-gpu-tools (commit)    : d4d976de

======================================
	     Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
memory ram                 : 7.62 GB
max memory ram             : 8 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 2
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1

======================================
	     Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.6
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
	     kernel parameters
======================================
quiet splash i915.enable_guc_submission=2 i915.enable_guc_loading=2 i915.alpha_support=1
Comment 2 Armando Antonio 2017-10-25 22:50:00 UTC
Created attachment 135047 [details]
dmesg
Comment 3 Ville Syrjala 2017-10-26 09:59:55 UTC
drm.debug=0xe missing from the logs. Also please re-test with latest drm-tip since we now have the DVFS and pixel rate stuff merged.
Comment 4 Armando Antonio 2017-10-26 17:06:09 UTC
Created attachment 135077 [details]
kernel
Comment 5 Armando Antonio 2017-10-26 17:07:05 UTC
Created attachment 135078 [details]
dmesg
Comment 6 Armando Antonio 2017-10-27 19:24:54 UTC
The following message appear frequently on dmesg

[    4.078911] [drm:drm_atomic_set_crtc_for_plane [drm]] Link plane state ffff941cdf33c400 to [NOCRTC]
[    4.078918] [drm:drm_atomic_set_fb_for_plane [drm]] Set [NOFB] for plane state ffff941cdf33c400
Comment 7 Armando Antonio 2018-02-20 18:06:00 UTC
I could not reproduce this issue. this test is working good with the following configurations, closing as fixed.

======================================
             Software
======================================
kernel version              : 4.16.0-rc1-drm-tip-ww8-commit-337c900+
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
bios revision               : 124.2
bios release date           : 02/05/2018
ksc                         : 1.36

======================================
        Graphic drivers
======================================
libdrm                      : 2.4.90
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-112-gdd61508a
intel-gpu-tools (commit)    : dd61508a

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.00GHz
gpu card                   : Intel Corporation Device 5a49 (rev 03) (prog-if 00 [VGA controller])
cpu model                  : 102
cpu stepping               : 2
displays connected         : eDP-1 HDMI-A-1

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


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.