Bug 96675 - [Regression][BISECT]After commit f21a21983ef13a, the i915 display is turned off
Summary: [Regression][BISECT]After commit f21a21983ef13a, the i915 display is turned off
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-25 16:10 UTC by Larry Finger
Modified: 2016-08-01 14:24 UTC (History)
1 user (show)

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


Attachments
Output of dmesg with drm.debug=3 taken AFTER the faulty commit (972.14 KB, text/plain)
2016-06-25 16:10 UTC, Larry Finger
no flags Details
Output of dmesg with drm.debug=3 taken before the faulty commit (101.25 KB, text/plain)
2016-06-25 16:12 UTC, Larry Finger
no flags Details
Output of dmesg with drm.debug=0xe taken AFTER the faulty commit (95.74 KB, text/plain)
2016-07-14 21:15 UTC, Larry Finger
no flags Details
Output of dmesg with drm.debug=0xe taken before the faulty commit (107.85 KB, text/plain)
2016-07-14 23:43 UTC, Larry Finger
no flags Details
[PATCH] drm/i915: Treat eDP as always connected, again (1.79 KB, patch)
2016-07-15 10:16 UTC, Ville Syrjala
no flags Details | Splinter Review

Description Larry Finger 2016-06-25 16:10:33 UTC
Created attachment 124717 [details]
Output of dmesg with drm.debug=3 taken AFTER the faulty commit

As soon as kernel 4.7-rcX is started, the display is blanked, and it is never turned on again. This problem was bisected to commit f21a21983ef13a031250c4c3f6018e29a549d0f1
("drm/i915: Splitting intel_dp_detect"). The adapter in question is the integrated graphics controller on a Toshiba Tecra A50 laptop. The output of "lspci -nnv" for that controller is as follows: 

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
        Subsystem: Toshiba America Info Systems Device [1179:0002]
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Memory at e0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

Disabling i915 with a "nomodeset" on the kernel command line allows the system to boot normally.
Comment 1 Larry Finger 2016-06-25 16:12:06 UTC
Created attachment 124718 [details]
Output of dmesg with drm.debug=3 taken before the faulty commit
Comment 2 Larry Finger 2016-07-14 19:14:38 UTC
This bug, which has been present since the 4.7 merge, is still present!!!! As kernel 4.7 will soon be released. what is happening to fix it? Sureley, I cannot be the only i915 user with the problem.
Comment 3 Ville Syrjala 2016-07-14 19:29:21 UTC
Unfortunately your logs don't have enough useful content. Please try again with drm.debug=0xe
Comment 4 Larry Finger 2016-07-14 21:15:40 UTC
Created attachment 125079 [details]
Output of dmesg with drm.debug=0xe taken AFTER the faulty commit
Comment 5 Larry Finger 2016-07-14 21:17:10 UTC
The dmesg output for faulty case is posted. Do you need with drm.debug=0xe for the good case as well?
Comment 6 Larry Finger 2016-07-14 23:43:41 UTC
Created attachment 125081 [details]
Output of dmesg with drm.debug=0xe taken before the faulty commit
Comment 7 Ville Syrjala 2016-07-15 10:16:18 UTC
Created attachment 125085 [details] [review]
[PATCH] drm/i915: Treat eDP as always connected, again

I think I found the problem. Please test.
Comment 8 Larry Finger 2016-07-15 14:55:02 UTC
Unfortunately, that patch does not help.

I am willing to test any other patches.

Larry
Comment 9 Ville Syrjala 2016-07-15 15:04:38 UTC
(In reply to Larry Finger from comment #8)
> Unfortunately, that patch does not help.
> 
> I am willing to test any other patches.
> 
> Larry

Hmm. That's weird. Can you attach a new log with the patch applied?
Comment 10 Larry Finger 2016-07-15 15:26:27 UTC
Actually, the patch did fix the problem with commit f21a21983ef13a, and you are on the right track; however, there seems to be another bug introduced later.

I am in the process of bisecting to find where the second problem happens. At least, I should be able to restrict the amount of material that needs reverting.
Comment 11 Larry Finger 2016-07-15 17:24:04 UTC
I am losing my mind. When I retested mainline, the one-liner posted here does fix my system. Once that is pushed, 4.7 will be OK. I am closing this bug.

Sorry for the grief. Thanks for your help.

Larry


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.