I tried applying the two patches which you posted on intel-gfx[1], ported to 3.13.
[1] http://article.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/33737 Using a T540p and an Ultradock, connected to a Dell U2410 via a DisplayPort cable --- and it worked! Not only were there no hangs, but in fact I could enable and disable the external display. The "too many retries" did indeed trigger: [ 4.152360] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5 ... [ 4.245174] fbcon: inteldrmfb (fb0) is primary device ... [ 5.952436] [drm:intel_dp_aux_native_write] *ERROR* too many retries, giving up [ 6.004766] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off [ 6.129836] Console: switching to colour frame buffer device 240x75 [ 6.134854] i915 0000:00:02.0: fb0: inteldrmfb frame buffer [ 6.134856] i915 0000:00:02.0: registered panic notifier [ 6.275753] ACPI: Video Device [VID] (multi-head: yes rom: no post: no) [ 6.276089] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11 [ 6.276620] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [ 6.277149] snd_hda_intel 0000:00:03.0: irq 46 for MSI/MSI-Xdevice When I tried disabling the external monitor, undocking, and redocking, and then tried enabled the external monitor again, the too many retries did trigger again: [ 1066.879571] drm: not enough stolen space for compressed buffer (need 33554432 more bytes), disabling. Hint: you may be able to increase stolen memory size in the BIOS to avoid this. [ 1070.884851] [drm:intel_dp_aux_native_write] *ERROR* too many retries, giving up -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1275794 Title: Lenovo T440s freezes when connected to docking station Status in The Linux Kernel: Fix Released Status in “linux” package in Ubuntu: Triaged Bug description: This bug report looks to be for the same issue: https://bugs.freedesktop.org/show_bug.cgi?id=71267 I came across the above bug report here: https://bbs.archlinux.org/viewtopic.php?pid=1374408 I'm running with a Thinkpad T440s and ultra dock with hdmi<->hdmi. In my case if I dock when hdmi is connected to the dock, the mouse and keyboard freeze once connected. When I undock they unfreeze. If I dock when hdmi is not connected to the dock, the mouse and keyboard don't freeze. Ubuntu release: 14.04 Trusty Tahr (development branch) --- ApportVersion: 2.13.2-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: corey 2385 F.... pulseaudio /dev/snd/controlC0: corey 2385 F.... pulseaudio CurrentDesktop: Unity DistroRelease: Ubuntu 14.04 EcryptfsInUse: Yes HibernationDevice: RESUME=UUID=12d1435c-d652-4aab-8da6-3b043f3da722 InstallationDate: Installed on 2014-01-31 (3 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140130) MachineType: LENOVO 20AQCTO1WW Package: linux (not installed) ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-5-generic.efi.signed root=UUID=d17999de-2672-48e5-b628-403d311d3251 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0 RelatedPackageVersions: linux-restricted-modules-3.13.0-5-generic N/A linux-backports-modules-3.13.0-5-generic N/A linux-firmware 1.123 Tags: trusty Uname: Linux 3.13.0-5-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip kvm libvirtd lpadmin plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 12/10/2013 dmi.bios.vendor: LENOVO dmi.bios.version: GJET67WW (2.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20AQCTO1WW dmi.board.vendor: LENOVO dmi.board.version: 0B98405 STD dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGJET67WW(2.17):bd12/10/2013:svnLENOVO:pn20AQCTO1WW:pvrThinkPadT440s:rvnLENOVO:rn20AQCTO1WW:rvr0B98405STD:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20AQCTO1WW dmi.product.version: ThinkPad T440s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1275794/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp