Bug 98462 - [KBL] [IGT] [regression] kms_3d [drm:drm_dp_dpcd_access] Too many retries, giving up
Summary: [KBL] [IGT] [regression] kms_3d [drm:drm_dp_dpcd_access] Too many retries, gi...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: highest blocker
Assignee: Luis Botello
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords: bisect_pending, regression
Depends on:
Blocks:
 
Reported: 2016-10-27 23:26 UTC by Luis Botello
Modified: 2017-02-14 15:45 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features: display/DP


Attachments
dmesg (28.43 KB, text/plain)
2016-10-27 23:26 UTC, Luis Botello
no flags Details
dmesg_kms_rotation_crc (39.78 KB, text/plain)
2016-10-28 00:09 UTC, Luis Botello
no flags Details
IGToutput_kms_rotation_crc (4.74 KB, text/plain)
2016-10-28 00:10 UTC, Luis Botello
no flags Details

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

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

Steps to reproduce:
==========================================
./kms_3d

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-1.18.99.901-80 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)

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

igt@kms_rotation_crc@cursor-rotation-180
igt@kms_rotation_crc@primary-rotation-180
igt@kms_rotation_crc@sprite-rotation-180

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

tests failed
===========================================
igt@kms_rotation_crc@cursor-rotation-180
igt@kms_rotation_crc@primary-rotation-180
igt@kms_rotation_crc@sprite-rotation-180

 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.