Bug 87220 - [BDW-H]VGA port unable to work
Summary: [BDW-H]VGA port unable to work
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high critical
Assignee: Rodrigo Vivi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 07:01 UTC by Guo Jinxian
Modified: 2017-10-06 14:33 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
snapshot (1.50 MB, image/jpeg)
2014-12-11 07:01 UTC, Guo Jinxian
no flags Details
Dmesg from drm-intel-nightly branch (24.31 KB, text/plain)
2014-12-18 01:59 UTC, XiongZhang
no flags Details
Fix Halo x ULT (1.22 KB, text/plain)
2015-01-19 22:05 UTC, Rodrigo Vivi
no flags Details
Fix Halo x ULT (1.37 KB, patch)
2015-01-20 00:18 UTC, Rodrigo Vivi
no flags Details | Splinter Review

Description Guo Jinxian 2014-12-11 07:01:02 UTC
Created attachment 110715 [details]
snapshot

==System Environment==
--------------------------
Regression: No
It's first time to test on BDW-H

Non-working platforms: BDW-H

==kernel==
--------------------------
origin/drm-intel-nightly: 2014_12_11(fails)
origin/drm-intel-next-queued: 5cb7179b428cf00dd96e74ed4f37efb19ba05e14(fails)
    drm/i915: Forcewake Register Range changes for CHV
origin/drm-intel-fixes: b0616c5306b342ceca07044dbc4f917d95c4f825(fails)
    drm/i915: Unlock panel even when LVDS is disabled

==Bug detailed description==
-----------------------------
VGA port unable to work. If boot system with VGA monitor, the system stopped at "Starting new kernel"(please refer to snapshot in attachment.); If boot system with DP monitor then plug in VGA, VGA monitor unable to detected.


Reproduce steps:
-------------------------
1. Boot the system with VGA monitor
Comment 1 XiongZhang 2014-12-18 01:59:11 UTC
Created attachment 110972 [details]
Dmesg from drm-intel-nightly branch

I used latest drm-intel-nightly branch
8b7ac3d drm-intel-nightly: 2014y-12m-16d-17h-44m-52s UTC integration manifest

Through the following steps, I get the dmesg:
1. Only connect vga screen to BDW-H
2. Boot drm-intel-nightly kernel with drm.debug=0xe and i915.modeset=0
3. rmmod snd-hda-intel and rmmod i915
4. dmesg -c
5. modprobe i915 modeset=1
6. the vga screen flicker then become blackscreen
Comment 2 Rodrigo Vivi 2015-01-19 22:05:06 UTC
Created attachment 112501 [details]
Fix Halo x ULT

ULT doesn't have VGA, so VGA aren't being initialized in this case.
This unit is actually a Halo, not a ULT, but the pci definitions was wrong.

So please test attached patch.
Comment 3 Rodrigo Vivi 2015-01-20 00:18:32 UTC
Created attachment 112505 [details] [review]
Fix Halo x ULT
Comment 4 Li Xu 2015-01-20 02:49:24 UTC
Yes ,this patch works well ,and VGA can work as normal.
Comment 5 XiongZhang 2015-01-20 09:59:03 UTC
(In reply to Rodrigo Vivi from comment #3)
> Created attachment 112505 [details] [review] [review]
> Fix Halo x ULT

With this patch, VGA works fine on BDW-H platform.

But I think one more patch is needed to clear call trace in intel_detect_pch().
Comment 6 Rodrigo Vivi 2015-01-20 16:54:43 UTC
I'm also working on that. I've submitted one patch for that yesterday but I failed on the logic of WARN. I'm going to submit a v2 soon.
Comment 7 Jani Nikula 2015-01-21 19:14:33 UTC
commit 78f4e4767cdde8b50aae44642458fe02c631811d
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Mon Jan 19 16:16:15 2015 -0800

    drm/i915: BDW Fix Halo PCI IDs marked as ULT.

commit 17cc7cc887a8c52d024c1bb2d0e7f82999445a49
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Wed Jan 21 10:33:53 2015 -0800

    drm/i915: Fix and clean BDW PCH identification

both in drm-intel-fixes
Comment 8 Elizabeth 2017-10-06 14:33:09 UTC
Closing old verified.


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.