<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - external display stops working with error: pipe state doesn't match!"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107625">107625</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>external display stops working with error: pipe state doesn't match!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jekader@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I've got a ThinkPad w541 attached to a docking station that sometimes fails to
activate external displays (after unlocking the station while it stayed
docked).

The following pops up in dmesg:

[267945.537623] [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR*
uncleared fifo underrun on pipe C
[267945.537659] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU
pipe C FIFO underrun
[267945.562674] [drm:pipe_config_err [i915]] *ERROR* mismatch in pixel_rate
(expected 148500, found 296999)
[267945.562709] [drm:pipe_config_err [i915]] *ERROR* mismatch in shared_dpll
(expected 00000000ce43ecf6, found 000000004d1cde9a)
[267945.562762] [drm:pipe_config_err [i915]] *ERROR* mismatch in
base.adjusted_mode.crtc_clock (expected 148500, found 296999)
[267945.562785] [drm:pipe_config_err [i915]] *ERROR* mismatch in port_clock
(expected 270000, found 540000)
[267945.562788] ------------[ cut here ]------------
[267945.562789] pipe state doesn't match!
[267945.562838] WARNING: CPU: 6 PID: 1590 at
/build/linux-eHSiSv/linux-4.17.14/drivers/gpu/drm/i915/intel_display.c:11614
intel_atomic_commit_tail+0xc55/0xcc0 [i915]
[267945.562839] Modules linked in: fuse tun devlink ebtable_filter ebtables
ip6table_filter ip6_tables iptable_filter ipmi_devintf ipmi_msghandler bridge
stp llc bnep openvswitch nsh nf_conntrack_ipv6 nf_nat_ipv6 nf_conntrac
k_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_defrag_ipv6 nf_nat nf_conntrack
binfmt_misc intel_rapl arc4 x86_pkg_temp_thermal intel_powerclamp coretemp
snd_hda_codec_hdmi iwlmvm btusb btrtl btbcm kvm_intel btintel wmi_bmof mac80211 
uvcvideo nouveau bluetooth snd_hda_codec_realtek videobuf2_vmalloc kvm
videobuf2_memops snd_hda_codec_generic videobuf2_v4l2 i915 videobuf2_common
irqbypass iwlwifi mxm_wmi videodev drbg intel_cstate ansi_cprng joydev ttm sn
d_hda_intel intel_uncore media serio_raw pcspkr drm_kms_helper iTCO_wdt evdev
sg snd_hda_codec ecdh_generic iTCO_vendor_support intel_rapl_perf
[267945.562882]  cfg80211 snd_hda_core drm snd_hwdep snd_pcm mei_me
i2c_algo_bit snd_timer shpchp mei ie31200_edac thinkpad_acpi nvram wmi tpm_tis
snd soundcore tpm_tis_core rfkill battery tpm ac rng_core video pcc_cpufreq b
utton nfsd auth_rpcgss nfs_acl lockd grace parport_pc ppdev lp sunrpc parport
ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb btrfs
zstd_decompress zstd_compress xxhash algif_skcipher af_alg hid_generic usbhi
d hid dm_crypt dm_mod raid10 raid456 async_raid6_recov async_memcpy async_pq
async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath
linear md_mod sr_mod cdrom sd_mod crct10dif_pclmul crc32_pclmul crc3
2c_intel ghash_clmulni_intel pcbc ahci libahci xhci_pci aesni_intel sdhci_pci
ehci_pci aes_x86_64 libata cqhci crypto_simd xhci_hcd ehci_hcd
[267945.562941]  cryptd glue_helper sdhci lpc_ich psmouse scsi_mod i2c_i801
usbcore mmc_core e1000e usb_common thermal
[267945.562952] CPU: 6 PID: 1590 Comm: Xorg Not tainted 4.17.0-2-amd64 #1
Debian 4.17.14-1
[267945.562953] Hardware name: LENOVO 20EGS0R60R/20EGS0R60R, BIOS GNET85WW
(2.33 ) 12/07/2017
[267945.562977] RIP: 0010:intel_atomic_commit_tail+0xc55/0xcc0 [i915]
[267945.562978] RSP: 0018:ffffbaa882a0fb90 EFLAGS: 00010282
[267945.562979] RAX: 0000000000000000 RBX: 0000000000000002 RCX:
0000000000000006
[267945.562980] RDX: 0000000000000007 RSI: 0000000000000096 RDI:
ffff95123e396730
[267945.562982] RBP: ffff95122abe0330 R08: 00000000000003dd R09:
0000000000000004
[267945.562983] R10: ffffbaa882a0f9b8 R11: 0000000000000001 R12:
ffff95122abe8000
[267945.562984] R13: ffff951117f09800 R14: ffff9511f4902800 R15:
ffff95122abe0000
[267945.562985] FS:  00007f1fe17a2a40(0000) GS:ffff95123e380000(0000)
knlGS:0000000000000000
[267945.562987] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[267945.562988] CR2: 00007f2c5d4c8084 CR3: 000000044c5de004 CR4:
00000000001606e0
[267945.562989] Call Trace:
[267945.563014]  intel_atomic_commit+0x29a/0x2d0 [i915]
[267945.563033]  drm_mode_atomic_ioctl+0x822/0x9a0 [drm]
[267945.563046]  ? drm_atomic_set_property+0x4f0/0x4f0 [drm]
[267945.563057]  drm_ioctl_kernel+0x5b/0xb0 [drm]
[267945.563067]  drm_ioctl+0x2c3/0x360 [drm]
[267945.563078]  ? drm_atomic_set_property+0x4f0/0x4f0 [drm]
[267945.563082]  do_vfs_ioctl+0xa4/0x630
[267945.563085]  ? __schedule+0x299/0x860
[267945.563087]  ksys_ioctl+0x70/0x80
[267945.563089]  __x64_sys_ioctl+0x16/0x20
[267945.563092]  do_syscall_64+0x55/0x110
[267945.563097]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[267945.563099] RIP: 0033:0x7f1fe26a8067
[267945.563100] RSP: 002b:00007ffcd0d89ee8 EFLAGS: 00003246 ORIG_RAX:
0000000000000010
[267945.563101] RAX: ffffffffffffffda RBX: 000055c94463d860 RCX:
00007f1fe26a8067
[267945.563102] RDX: 00007ffcd0d89f30 RSI: 00000000c03864bc RDI:
000000000000000e
[267945.563103] RBP: 00007ffcd0d89f30 R08: 000055c944c03610 R09:
0000000000000002
[267945.563104] R10: 0000000000000002 R11: 0000000000003246 R12:
00000000c03864bc
[267945.563105] R13: 000000000000000e R14: 0000000000000000 R15:
000055c94463d880
[267945.563107] Code: e9 da f8 ff ff e8 9c 7a ed c8 0f 0b 0f b6 44 24 18 e9 9b
f8 ff ff e8 8b 7a ed c8 0f 0b 0f b6 14 24 e9 8f fd ff ff e8 7b 7a ed c8 <0f> 0b
e9 32 f9 ff ff e8 6f 7a ed c8 0f 0b 49 8b 46 50 e9 f9 fd 
[267945.563139] ---[ end trace 72b891b331e25ab9 ]---


This looks somewhat similar to #105455 but opening a new bug as suggested in
the bug report instructions.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>