Bug 98462

Summary: [KBL] [IGT] [regression] kms_3d [drm:drm_dp_dpcd_access] Too many retries, giving up
Product: DRI Reporter: Luis Botello <luis.botello.ortega>
Component: DRM/IntelAssignee: Luis Botello <luis.botello.ortega>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: blocker    
Priority: highest CC: intel-gfx-bugs
Version: XOrg gitKeywords: bisect_pending, regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: KBL i915 features: display/DP
Description Flags
IGToutput_kms_rotation_crc none

Description Luis Botello 2016-10-27 23:26:26 UTC
Created attachment 127573 [details]

kms_3d test causes the follwing dmesg error 
[drm:drm_dp_dpcd_access] Too many retries, giving up

Steps to reproduce:

Software Configuration:
Kernel: 4.9.0-rc1 17dc529  from http://cgit.freedesktop.org/drm-intel/
  commit 17dc529acb9a6a4328b419048e32df586b90646b
  Author: Chris Wilson <chris@chris-wilson.co.uk>
  Date:   Mon Oct 24 14:24:26 2016 +0100
  drm-intel-nightly: 2016y-10m-24d-13h-22m-52s UTC integration manifest
libdrm-2.4.71 9e24d0c 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- 5dcb066 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-720 388fd4a 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-140 852cea1 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-96 93437cb from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Hardware Configurration:
Platform                        : KBL (RVP7)
Motherboard model               : KabylakeClientplatform
Motherboard type                : SkylakeUDDR3LRVP7 Laptop
Motherboard manufacturer        : IntelCorporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 2.60GHz
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
Memory ram                      : 4 GB

IGT output:
IGT-Version: 1.16-g93437cb (x86_64) (Linux: 4.9.0-rc1-nightly+ x86_64)
(kms_3d:1665) CRITICAL: Test assertion failure function __real_main29, file kms_3d.c:75:
(kms_3d:1665) CRITICAL: Failed assertion: mode_count == 13
(kms_3d:1665) CRITICAL: Last errno: 2, No such file or directory
(kms_3d:1665) CRITICAL: error: 15 != 13
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [main+0x310]
  #2 [<unknown>+0x310]
Test kms_3d failed.
**** DEBUG ****
(kms_3d:1665) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_3d:1665) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_3d:1665) DEBUG: Test requirement passed: connector
(kms_3d:1665) igt-kms-DEBUG: Connector card0-HDMI-A-2/status is now forced on
(kms_3d:1665) igt-kms-DEBUG: Current forced connectors:
(kms_3d:1665) igt-kms-DEBUG:    card0-HDMI-A-2/status
(kms_3d:1665) CRITICAL: Test assertion failure function __real_main29, file kms_3d.c:75:
(kms_3d:1665) CRITICAL: Failed assertion: mode_count == 13
(kms_3d:1665) CRITICAL: Last errno: 2, No such file or directory
(kms_3d:1665) CRITICAL: error: 15 != 13
****  END  ****
FAIL (0.007s)

Comment 1 Luis Botello 2016-10-28 00:08:50 UTC
It seems to be the same root cause for the following failed tests:


Comment 2 Luis Botello 2016-10-28 00:09:11 UTC
Created attachment 127575 [details]
Comment 3 Luis Botello 2016-10-28 00:10:55 UTC
Created attachment 127576 [details]
Comment 4 maria guadalupe 2016-11-24 20:03:51 UTC
Issue still present over BSW with the following config:

tests failed

 Software information
Kernel version                  : 4.9.0-rc6-nightly+
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
Gfx stack code                  : 2141224538
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.4
DRM version                     : 2.4.73
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.16-156-gcddf996] / Commit [cddf996]
Kernel driver in use            : i915
Bios revision                   : 0.33
Bios release date               : 08/12/2015
KSC revision                    : 0.16

 Hardware information
Platform                        : BSW
Motherboard model               : 10G9000NUS
Motherboard type                : BRASWELL Desktop
Motherboard manufacturer        : LENOVO
CPU family                      : Pentium
CPU information                 : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
GPU Card                        : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 8 GB
CPU thread                      : 4
CPU core                        : 4
Hard drive capacity             : 476GiB (512GB)
Comment 5 Jari Tahvanainen 2016-12-19 10:31:26 UTC
Highest+Blocker as being regression w/o workaround
Comment 6 Jari Tahvanainen 2017-01-31 10:29:23 UTC
Please retest on latest drm-tip and attach the latest dmesg if problem persists - on latest reports from WW03 kms_3d is not fail anymore. Let's follow kms_rotation_crc case failures on bug 86767.
Comment 7 Luis Botello 2017-02-14 15:43:45 UTC
Issue is not seen anymore on KBL on top of drm-tip branch. This is the working commit:

commit 6f8a1e0f2ca1011aa723712ca059b0b3432c3a88
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Feb 13 21:03:50 2017 +0000

    drm-tip: 2017y-02m-13d-21h-03m-32s UTC integration manifest

Kernel version : 4.10.0-rc8-6f8a1e0
Architecture : source amd64 all

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.