FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-04-2012, 10:31 PM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

Package: linux-2.6
Version: 3.2.2-1
Severity: important
Tags: upstream

Dear Maintainer,

Since upgrading to linux-image-3.2.0-1-amd64, an external display
connected via DisplayPort to a Sandy Bridge onboard graphics card
stopped working, and instead turns off reporting “DP no signal”.

With linux-image-3.1.0-1-amd64, the same display connected via the
DisplayPort works fine. After powering both the display and the
machine, the display first turns on when the i915 kernel module is
loaded upon boot. It shows the console with boot messages at the
maximum display resolution (1920x1080). Then the X server starts, and
the external display switches to a lower resolution (1024x768), which
seems to be the default setting of the X server. After login, I
manually switch to the maximum resolution (1920x1080) using the
command “xrandr --output DP1 --auto”.

With linux-image-3.2.0-1-amd64, after powering both the display and
the machine, the display remains dark during boot, even when the
i915 kernel module is loaded. The display first turns on only when
the X server is loaded, with the default resolution 1024x768. After
login, I manually switch to 1920x1080, but then the display reports
“DP no signal” and turns *off*.

To summarize: The external display connected via DisplayPort works
fine with Linux 3.1, while, with Linux 3.2, it works with lower
(non-native) resolutions and fails with the maximum (native)
resolution.

I noticed one peculiarity: It is possible to have a working external
display by booting into Linux 3.1 first, and then rebooting into
Linux 3.2 *without interrupting the power supply of the display*.
However, as soon as I power-cycle the display while under Linux 3.2,
it stops working again.


There is a recent thread by Keith Packard with DisplayPort-related patches:

https://lkml.org/lkml/2012/1/25/204

I tested both a kernel with only patch 1/2, as well as a kernel with
both patches 1/2 and 2/2 applied, based on the Debian kernel source
and using the test-patches script. Both kernels showed the same faulty
behaviour, i.e. the external display remains dark at the native
resolution.

If there are other potential fixes I could test, please let me know.

Thanks,
Peter

-- xrandr:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.0*+
1680x1050 60.0
1600x900 60.0
1280x1024 60.0
1280x800 59.8
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

-- Package-specific info:
** Version:
Linux version 3.2.0-1-amd64 (Debian 3.2.2-1) (ben@decadent.org.uk) (gcc version 4.6.2 (Debian 4.6.2-12) ) #1 SMP Wed Feb 1 08:56:58 UTC 2012

** Command line:
BOOT_IMAGE=/vmlinuz-3.2.0-1-amd64 root=/dev/mapper/vg-root ro pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1

** Not tainted

** Kernel log:
[ 20.446802] [drm] Initialized drm 1.1.0 20060810
[ 20.910637] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[ 20.928577] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/input/input4
[ 20.948229] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5
[ 20.953169] HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0
[ 20.953416] HDMI status: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=0
[ 20.953667] HDMI status: Codec=3 Pin=7 Presence_Detect=0 ELD_Valid=0
[ 20.953878] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[ 20.954053] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[ 20.954225] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[ 20.955314] i915 0000:00:02.0: power state changed by ACPI to D0
[ 20.955380] i915 0000:00:02.0: power state changed by ACPI to D0
[ 20.955446] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 20.955510] i915 0000:00:02.0: setting latency timer to 64
[ 20.983994] mtrr: no more MTRRs available
[ 20.984054] [drm] MTRR allocation failed. Graphics performance may suffer.
[ 20.984497] i915 0000:00:02.0: irq 51 for MSI/MSI-X
[ 20.984501] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 20.984562] [drm] Driver supports precise vblank timestamp query.
[ 20.984650] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem: owns=io+mem
[ 21.992817] fbcon: inteldrmfb (fb0) is primary device
[ 22.346971] Console: switching to colour frame buffer device 170x48
[ 22.350019] fb0: inteldrmfb frame buffer device
[ 22.350020] drm: registered panic notifier
[ 22.352472] acpi device:01: registered as cooling_device4
[ 22.352618] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input9
[ 22.352713] ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
[ 22.352843] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 22.536616] EXT4-fs (dm-1): re-mounted. Opts: (null)
[ 22.552359] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro,discard
[ 22.598845] loop: module loaded
[ 22.739523] EXT4-fs (dm-4): mounted filesystem with ordered data mode. Opts: discard
[ 22.743977] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: discard
[ 22.748313] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: discard
[ 23.940637] fuse init (API version 7.17)
[ 23.964119] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 23.976705] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 23.985212] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 24.213703] lp: driver loaded but no devices found
[ 24.225401] ppdev: user-space parallel port driver
[ 24.321076] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[ 24.376920] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[ 24.378531] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 24.607437] Ebtables v2.0 registered
[ 25.971779] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[ 25.974988] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[ 25.978784] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 29.229816] [drm] Changing LVDS panel from (+hsync, -vsync) to (-hsync, -vsync)

** Loaded modules:
ebtable_nat
ebtables
snd_hrtimer
acpi_cpufreq
mperf
parport_pc
ppdev
lp
cpufreq_powersave
parport
cpufreq_conservative
cpufreq_userspace
cpufreq_stats
binfmt_misc
nf_conntrack_ipv6
nf_defrag_ipv6
ip6table_filter
ip6_tables
xt_tcpudp
nf_conntrack_ipv4
nf_defrag_ipv4
xt_state
nf_conntrack
iptable_filter
ip_tables
x_tables
fuse
loop
kvm_intel
kvm
snd_hda_codec_hdmi
snd_hda_codec_conexant
i915
drm_kms_helper
drm
i2c_algo_bit
snd_hda_intel
snd_hda_codec
snd_hwdep
arc4
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
snd_timer
iwlwifi
snd_seq_device
mac80211
evdev
snd
cfg80211
tpm_tis
psmouse
i2c_i801
tpm
iTCO_wdt
serio_raw
i2c_core
soundcore
iTCO_vendor_support
ac
rfkill
tpm_bios
battery
snd_page_alloc
power_supply
video
wmi
button
processor
ext4
mbcache
jbd2
crc16
sha256_generic
aesni_intel
cryptd
aes_x86_64
aes_generic
cbc
dm_crypt
dm_mod
sd_mod
crc_t10dif
ehci_hcd
ahci
libahci
libata
scsi_mod
sdhci_pci
sdhci
mmc_core
xhci_hcd
thermal
thermal_sys
e1000e
usbcore
usb_common

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:21da]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 51
Region 0: Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 5000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f2625000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>

00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
Subsystem: Lenovo Device [17aa:21ce]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 42
Region 0: Memory at f2600000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at f262b000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at 5080 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04) (prog-if 20 [EHCI])
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f262a000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 50
Region 0: Memory at f2620000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4) (prog-if 00 [Normal decode])
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: f2500000-f25fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=05, subordinate=0c, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f1d00000-f24fffff
Prefetchable memory behind bridge: 00000000f0400000-00000000f0bfffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=0d, subordinate=0d, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f1500000-f1cfffff
Prefetchable memory behind bridge: 00000000f0c00000-00000000f13fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b4) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Bus: primary=00, secondary=0e, subordinate=0e, sec-latency=0
Memory behind bridge: f1400000-f14fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04) (prog-if 20 [EHCI])
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 0: Memory at f2629000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge [0601]: Intel Corporation QM67 Express Chipset Family LPC Controller [8086:1c4f] (rev 04)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>

00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo Device [17aa:21da]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 48
Region 0: I/O ports at 50a8 [size=8]
Region 1: I/O ports at 50b4 [size=4]
Region 2: I/O ports at 50a0 [size=8]
Region 3: I/O ports at 50b0 [size=4]
Region 4: I/O ports at 5060 [size=32]
Region 5: Memory at f2628000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin C routed to IRQ 18
Region 0: Memory at f2624000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus

03:00.0 Network controller [0280]: Intel Corporation Centrino Ultimate-N 6300 [8086:4238] (rev 3e)
Subsystem: Intel Corporation Centrino Ultimate-N 6300 3x3 AGN [8086:1111]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 49
Region 0: Memory at f2500000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

0d:00.0 System peripheral [0880]: Ricoh Co Ltd MMC/SD Host Controller [1180:e822] (rev 07) (prog-if 01)
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f1500000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci

0e:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04) (prog-if 30 [XHCI])
Subsystem: Lenovo Device [17aa:21da]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at f1400000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub


-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.0-1-amd64 depends on:
ii debconf [debconf-2.0] 1.5.41
ii initramfs-tools [linux-initramfs-tool] 0.99
ii linux-base 3.4
ii module-init-tools 3.16-1

Versions of packages linux-image-3.2.0-1-amd64 recommends:
ii firmware-linux-free 3

Versions of packages linux-image-3.2.0-1-amd64 suggests:
pn grub-pc 1.99-14
pn linux-doc-3.2 <none>

Versions of packages linux-image-3.2.0-1-amd64 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi 0.35
pn firmware-libertas <none>
pn firmware-linux <none>
pn firmware-linux-nonfree <none>
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn firmware-realtek <none>
pn xen-hypervisor <none>

-- debconf information:
linux-image-3.2.0-1-amd64/postinst/depmod-error-initrd-3.2.0-1-amd64: false
linux-image-3.2.0-1-amd64/postinst/missing-firmware-3.2.0-1-amd64:
linux-image-3.2.0-1-amd64/postinst/ignoring-ramdisk:
linux-image-3.2.0-1-amd64/prerm/removing-running-kernel-3.2.0-1-amd64: true



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120204233113.GA4041@alcyone">http://lists.debian.org/20120204233113.GA4041@alcyone
 
Old 02-05-2012, 07:44 AM
Jonathan Nieder
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

Hi Peter,

Peter Colberg wrote:

> Package: linux-2.6
> Version: 3.2.2-1
> Severity: important
> Tags: upstream

Which upstream version did you test?

Thanks,
Jonathan



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120205084453.GC1870@burratino">http://lists.debian.org/20120205084453.GC1870@burratino
 
Old 02-05-2012, 03:35 PM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

On Sun, Feb 05, 2012 at 02:44:53AM -0600, Jonathan Nieder wrote:
> Hi Peter,
>
> Peter Colberg wrote:
>
> > Package: linux-2.6
> > Version: 3.2.2-1
> > Severity: important
> > Tags: upstream
>
> Which upstream version did you test?

Sorry, I must have misinterpreted the upstream tag.

I tested the Debian package only, i.e. linux-image-3.2.0-1-amd64=3.2.2-1.

Peter



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120205163503.GA9675@alcyone">http://lists.debian.org/20120205163503.GA9675@alcyone
 
Old 02-06-2012, 01:11 AM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

found 658662 3.2.4-1
thanks

Since the changelog of Linux 3.2.3 contains drm/i915-related fixes,
I tested the newest Debian kernel: No change, the external display
remains dark.

Peter



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120206021121.GA3606@alcyone">http://lists.debian.org/20120206021121.GA3606@alcyone
 
Old 02-06-2012, 06:15 AM
Jonathan Nieder
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

Hi,

Peter Colberg wrote:

> To summarize: The external display connected via DisplayPort works
> fine with Linux 3.1, while, with Linux 3.2, it works with lower
> (non-native) resolutions and fails with the maximum (native)
> resolution.

Please report this upstream, following instructions from [1], and let
us know the bug number so we can track it.

The upstream developers may ask you to bisect to find the specific
patch that introduced the problem. It works like this:

0. Prerequisites:

apt-get install git build-essential

1. Get a copy of the kernel source repository:

git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
cd linux

Or if you already have a copy, update it:

cd linux
git fetch origin

2. Test v3.2:

git checkout v3.2
cp /boot/config-$(uname -r) .config; # current configuration
make localmodconfig; # optional: minimize configuration
make deb-pkg; # optionally with -j<n> for parallel build
dpkg -i ../<name of package>
reboot
... test test test ...

If it doesn't exhibit the problem, declare victory and we can
try to figure out what Debian-specific patch (unlikely) or
configuration change (more likely) caused it. Otherwise:

3. Test v3.1:

git checkout v3.1
make silentoldconfig; # reuse configuration
make deb-pkg; # maybe with -j4
dpkg -i ../<name of package>
reboot
... test test test ...

Hopefully it does not exhibit the problem.

4. Test a version halfway between:

git bisect start v3.2 v3.1; # checks out a version halfway between to test
make silentoldconfig; # reuse configuration
make deb-pkg; # maybe with -j4
dpkg -i ../<name of package>
reboot
... test test test ...

git bisect bad; # if it exhibits the problem
git bisect good; # if the external display works fine, after a
# power-cycle and with the right resolution
git bisect skip; # if some other problem makes it hard to test

5. Another version to test will be automatically checked out. So:

make silentoldconfig
make deb-pkg; # maybe with -j4
dpkg -i ../<name of package>
reboot
... test ...
git bisect good/bad/skip

6. Rinse and repeat until bored.

7. After sufficiently many iterations, git will indicate the "first
bad commit" --- hoorah! If bored before then, you can run "git
bisect log" to print information about the versions tested in a
form that will allow someone else to pick up where you left off.
At any step if the gitk package is installed, you can run "git
bisect visualize" to watch the regression range narrowing.

Hope that helps,
Jonathan

[1] http://intellinuxgraphics.org/how_to_report_bug.html



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120206071544.GA7087@burratino">http://lists.debian.org/20120206071544.GA7087@burratino
 
Old 02-07-2012, 02:32 AM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

Hi Jonathan,

On Mon, Feb 06, 2012 at 01:15:44AM -0600, Jonathan Nieder wrote:
> Please report this upstream, following instructions from [1], and let
> us know the bug number so we can track it.
>
> The upstream developers may ask you to bisect to find the specific
> patch that introduced the problem. It works like this:
> …

Thanks for the detailed walk-through. So far I tested vanilla Linux
v3.2 as bad, v3.1 as good, and started the bisect (with the first
half-way commit tested as bad). That means “roughly 12 steps” to go.

I will report back when the upstream bug report is filed.

Regards,
Peter



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120207033230.GA3846@alcyone">http://lists.debian.org/20120207033230.GA3846@alcyone
 
Old 02-08-2012, 05:54 PM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

On Sat, Feb 04, 2012 at 06:31:13PM -0500, Peter Colberg wrote:
> Since upgrading to linux-image-3.2.0-1-amd64, an external display
> connected via DisplayPort to a Sandy Bridge onboard graphics card
> stopped working, and instead turns off reporting “DP no signal”.

Ok, I have finished the bisect, compiling and testing 17 kernels.

It seems the math in the i915 DisplayPort code got worse… ;-)

Peter

cd9dde44f47501394b9f0715b6a36a92aa74c0d0 is the first bad commit
commit cd9dde44f47501394b9f0715b6a36a92aa74c0d0
Author: Adam Jackson <ajax@redhat.com>
Date: Fri Oct 14 12:43:49 2011 -0400

drm/i915/dp: Fix the math in intel_dp_link_required

The previous code was confused about units, which is pretty reasonable
given that the units themselves are confusing.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>

:040000 040000 3c0a0f38fc6482a401340e03fa3fbd687d11eda4 294673b782b3ecc93540f46f7721d385bd30cfac M drivers

# git bisect log
# bad: [805a6af8dba5dfdd35ec35dc52ec0122400b2610] Linux 3.2
# good: [c3b92c8787367a8bb53d57d9789b558f1295cc96] Linux 3.1
git bisect start 'v3.2' 'v3.1'
# bad: [68d99b2c8efcb6ed3807a55569300c53b5f88be5] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect bad 68d99b2c8efcb6ed3807a55569300c53b5f88be5
# good: [efb8d21b2c6db3497655cc6a033ae8a9883e4063] Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
git bisect good efb8d21b2c6db3497655cc6a033ae8a9883e4063
# good: [8686a0e200419322654a75155e2e6f80346a1297] Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 8686a0e200419322654a75155e2e6f80346a1297
# bad: [f362f98e7c445643d27c610bb7a86b79727b592e] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/vfs-queue
git bisect bad f362f98e7c445643d27c610bb7a86b79727b592e
# good: [ca836a25435ef1b9914840ed0a310c9b6ac261d1] Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good ca836a25435ef1b9914840ed0a310c9b6ac261d1
# good: [c5c42360bc1cb14c7da3186683e9525b33b72656] vmwgfx: Don't pass unused arguments to do_dirty functions
git bisect good c5c42360bc1cb14c7da3186683e9525b33b72656
# bad: [5619a693965b291315685bdfe01a0246ebd7e41e] Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs
git bisect bad 5619a693965b291315685bdfe01a0246ebd7e41e
# bad: [82d165557ef094d4b4dfc05871aee618ec7102b0] drm/i915/dp: Fix eDP on PCH DP on CPT/PPT
git bisect bad 82d165557ef094d4b4dfc05871aee618ec7102b0
# good: [a9e2641dee52cae2db7688a749344365642a5e79] drm/i915: close PM interrupt masking races in the rps work func
git bisect good a9e2641dee52cae2db7688a749344365642a5e79
# good: [75770564c90c45618003267f4cdde4bbc090f1bd] drm/i915: use transcoder select bits on VGA and HDMI on CPT
git bisect good 75770564c90c45618003267f4cdde4bbc090f1bd
# good: [a487928908226df493a3ce145ecf4bb39296714e] drm/i915: remove transcoder PLL mashing from mode_set per specs
git bisect good a487928908226df493a3ce145ecf4bb39296714e
# bad: [a2006cf5a7ad3463e7c1e9da2c4bc90499427558] drm/i915: read full receiver capability field during DP hot plug
git bisect bad a2006cf5a7ad3463e7c1e9da2c4bc90499427558
# good: [f52c619a590fa75276c07dfcaf380dee53e4ea4c] drm/i915/panel: Always record the backlight level again (but cleverly)
git bisect good f52c619a590fa75276c07dfcaf380dee53e4ea4c
# bad: [dc22ee6fc18ce0f15424e753e8473c306ece95c1] drm/i915/dp: Remove eDP special cases from bandwidth checks
git bisect bad dc22ee6fc18ce0f15424e753e8473c306ece95c1
# bad: [cd9dde44f47501394b9f0715b6a36a92aa74c0d0] drm/i915/dp: Fix the math in intel_dp_link_required
git bisect bad cd9dde44f47501394b9f0715b6a36a92aa74c0d0



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120208185414.GA3816@alcyone">http://lists.debian.org/20120208185414.GA3816@alcyone
 
Old 02-08-2012, 09:42 PM
Jonathan Nieder
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

tags 658662 + upstream patch moreinfo
quit

Peter Colberg wrote:

> cd9dde44f47501394b9f0715b6a36a92aa74c0d0 is the first bad commit

Yay, thanks much for this.

Please test the attached patch against the linux-3.2.y branch.

git remote add -f stable
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git checkout stable/linux-3.2.y

git am -3sc thepatch
make silentoldconfig; # reuse configuration
make deb-pkg; # optionally with -j<num>
dpkg -i ../<name of package>
reboot
From: Keith Packard <keithp@keithp.com>
Date: Wed, 25 Jan 2012 08:16:25 -0800
Subject: drm/i915: Force explicit bpp selection for intel_dp_link_required

commit c898261c0dad617f0f1080bedc02d507a2fcfb92 upstream.

It is never correct to use intel_crtc->bpp in intel_dp_link_required,
so instead pass an explicit bpp in to this function. This patch
only supports 18bpp and 24bpp modes, which means that 10bpc modes will
be computed incorrectly. Fixing that will require more extensive
changes, and so must be addressed separately from this bugfix.

intel_dp_link_required is called from intel_dp_mode_valid and
intel_dp_mode_fixup.

* intel_dp_mode_valid is called to list supported modes; in this case,
the current crtc values cannot be relevant as the modes in question
may never be selected. Thus, using intel_crtc->bpp is never right.

* intel_dp_mode_fixup is called during mode setting, but it is run
well before ironlake_crtc_mode_set is called to set intel_crtc->bpp,
so using intel_crtc-bpp in this path can only ever get a stale
value.

Cc: Lubos Kolouch <lubos.kolouch@gmail.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42263
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44881
Tested-by: Dave Airlie <airlied@redhat.com>
Tested-by: camalot@picnicpark.org (Dell Latitude 6510)
Tested-by: Roland Dreier <roland@digitalvampire.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
drivers/gpu/drm/i915/intel_dp.c | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 92b041b66e49..ac600910ffc6 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -208,17 +208,8 @@ intel_dp_link_clock(uint8_t link_bw)
*/

static int
-intel_dp_link_required(struct intel_dp *intel_dp, int pixel_clock, int check_bpp)
+intel_dp_link_required(int pixel_clock, int bpp)
{
- struct drm_crtc *crtc = intel_dp->base.base.crtc;
- struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
- int bpp = 24;
-
- if (check_bpp)
- bpp = check_bpp;
- else if (intel_crtc)
- bpp = intel_crtc->bpp;
-
return (pixel_clock * bpp + 9) / 10;
}

@@ -245,12 +236,11 @@ intel_dp_mode_valid(struct drm_connector *connector,
return MODE_PANEL;
}

- mode_rate = intel_dp_link_required(intel_dp, mode->clock, 0);
+ mode_rate = intel_dp_link_required(mode->clock, 24);
max_rate = intel_dp_max_data_rate(max_link_clock, max_lanes);

if (mode_rate > max_rate) {
- mode_rate = intel_dp_link_required(intel_dp,
- mode->clock, 18);
+ mode_rate = intel_dp_link_required(mode->clock, 18);
if (mode_rate > max_rate)
return MODE_CLOCK_HIGH;
else
@@ -683,7 +673,7 @@ intel_dp_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
int lane_count, clock;
int max_lane_count = intel_dp_max_lane_count(intel_dp);
int max_clock = intel_dp_max_link_bw(intel_dp) == DP_LINK_BW_2_7 ? 1 : 0;
- int bpp = mode->private_flags & INTEL_MODE_DP_FORCE_6BPC ? 18 : 0;
+ int bpp = mode->private_flags & INTEL_MODE_DP_FORCE_6BPC ? 18 : 24;
static int bws[2] = { DP_LINK_BW_1_62, DP_LINK_BW_2_7 };

if (is_edp(intel_dp) && intel_dp->panel_fixed_mode) {
@@ -701,7 +691,7 @@ intel_dp_mode_fixup(struct drm_encoder *encoder, struct drm_display_mode *mode,
for (clock = 0; clock <= max_clock; clock++) {
int link_avail = intel_dp_max_data_rate(intel_dp_link_clock(bws[clock]), lane_count);

- if (intel_dp_link_required(intel_dp, mode->clock, bpp)
+ if (intel_dp_link_required(mode->clock, bpp)
<= link_avail) {
intel_dp->link_bw = bws[clock];
intel_dp->lane_count = lane_count;
--
1.7.9
 
Old 02-08-2012, 09:58 PM
Peter Colberg
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

On Wed, Feb 08, 2012 at 04:42:01PM -0600, Jonathan Nieder wrote:
> tags 658662 + upstream patch moreinfo
> quit
>
> Peter Colberg wrote:
>
> > cd9dde44f47501394b9f0715b6a36a92aa74c0d0 is the first bad commit
>
> Yay, thanks much for this.
>
> Please test the attached patch against the linux-3.2.y branch.
>
> git remote add -f stable
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> git checkout stable/linux-3.2.y
>
> git am -3sc thepatch
> make silentoldconfig; # reuse configuration
> make deb-pkg; # optionally with -j<num>
> dpkg -i ../<name of package>
> reboot

> From: Keith Packard <keithp@keithp.com>
> Date: Wed, 25 Jan 2012 08:16:25 -0800
> Subject: drm/i915: Force explicit bpp selection for intel_dp_link_required
>
> commit c898261c0dad617f0f1080bedc02d507a2fcfb92 upstream.
>

Thanks, but I just tested this patch (again).

It is included in drm-intel-fixes, and it does not fix the regression:

https://bugs.freedesktop.org/show_bug.cgi?id=45801#c5

Given that the problem persists, at least my bisect was not in vain ;-).

Peter



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120208225821.GA4814@alcyone">http://lists.debian.org/20120208225821.GA4814@alcyone
 
Old 02-08-2012, 09:58 PM
Jonathan Nieder
 
Default Bug#658662: drm/i915: no signal via DisplayPort on Sandy Bridge since Linux 3.2

tags 658662 - patch moreinfo
quit

Jonathan Nieder wrote:

> Please test the attached patch against the linux-3.2.y branch.

Never mind --- I see you've confirmed upstream it doesn't fix things.

Sorry for the noise. If I have further questions, I'll ask them
on the upstream bugtracker.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120208225838.GB10075@burratino">http://lists.debian.org/20120208225838.GB10075@burratino
 

Thread Tools




All times are GMT. The time now is 07:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org