[Bug 96828] Cannot set 4K screen to 60Hz on xf86-video-intel driver: CPU pipe B FIFO underrun

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 29 17:26:58 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96828

--- Comment #2 from GMas <gmasgras at gmail.com> ---
I can also reproduce following the same steps on a Dell XPS 13 9350 running
Ubuntu 16.04. 
Kernel 4.7.0 and xserver-xorg-video-intel 2.99.917+git20160325-1ubuntu1

 [   80.737970] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.737974] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.737987] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.740465] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.740467] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.740470] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.744270] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.744271] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.744276] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.749252] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.749255] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.749261] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.754259] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.754261] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.754267] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.759266] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.759269] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.759275] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.761162] [drm:drm_mode_setcrtc] [CRTC:30:crtc-1]
 [   80.761170] [drm:drm_mode_setcrtc] [CONNECTOR:46:DP-1]
 [   80.761179] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:28]
scaler_user index 1.3
 [   80.773741] [drm:skl_wm_flush_pipe] flush pipe A (pass 3)
 [   80.773746] [drm:skl_wm_flush_pipe] flush pipe B (pass 3)
 [   80.774791] [drm:skl_wm_flush_pipe] flush pipe A (pass 3)
 [   80.774795] [drm:skl_wm_flush_pipe] flush pipe B (pass 3)
 [   80.774803] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.774806] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.774815] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.779608] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.779612] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.779622] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.784606] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.784611] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.784622] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.789650] [drm:drm_mode_setcrtc] [CRTC:26:crtc-0]
 [   80.789663] [drm:drm_mode_setcrtc] [CONNECTOR:37:eDP-1]
 [   80.789688] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:23]
scaler_user index 0.0
 [   80.791728] [drm:skl_wm_flush_pipe] flush pipe A (pass 3)
 [   80.791739] [drm:skl_wm_flush_pipe] flush pipe B (pass 3)
 [   80.793880] [drm:drm_mode_setcrtc] [CRTC:30:crtc-1]
 [   80.793892] [drm:drm_mode_setcrtc] [CONNECTOR:46:DP-1]
 [   80.793915] [drm:connected_sink_compute_bpp] [CONNECTOR:46:DP-1] checking
for sink bpp constrains
 [   80.793919] [drm:connected_sink_compute_bpp] clamping display bpp (was 36)
to EDID reported max of 24
 [   80.793928] [drm:intel_dp_compute_config] DP link computation with max lane
count 4 max bw 540000 pixel clock 533250KHz
 [   80.793943] [drm:intel_dp_compute_config] DP link bw 14 rate select 00 lane
count 4 clock 540000 bpp 24
 [   80.793947] [drm:intel_dp_compute_config] DP link bw required 1279800
available 1728000
 [   80.793953] [drm:intel_modeset_pipe_config] hw max bpp: 36, pipe bpp: 24,
dithering: 0
 [   80.793960] [drm:intel_dump_pipe_config] [CRTC:30][modeset] config
ffff88046b3d9000 for pipe B
 [   80.793967] [drm:intel_dump_pipe_config] cpu_transcoder: B
 [   80.793970] [drm:intel_dump_pipe_config] pipe bpp: 24, dithering: 0
 [   80.793976] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_m: 0,
gmch_n: 0, link_m: 0, link_n: 0, tu: 0
 [   80.793981] [drm:intel_dump_pipe_config] dp: 1, lanes: 4, gmch_m: 6212812,
gmch_n: 8388608, link_m: 1035468, link_n: 1048576, tu: 64
 [   80.793986] [drm:intel_dump_pipe_config] dp: 1, lanes: 4, gmch_m2: 0,
gmch_n2: 0, link_m2: 0, link_n2: 0, tu2: 0
 [   80.793990] [drm:intel_dump_pipe_config] audio: 1, infoframes: 0
 [   80.793993] [drm:intel_dump_pipe_config] requested mode:
 [   80.794001] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 533250 3840
3888 3920 4000 2160 2163 2168 2222 0x0 0x9
 [   80.794004] [drm:intel_dump_pipe_config] adjusted mode:
 [   80.794010] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 533250 3840
3888 3920 4000 2160 2163 2168 2222 0x0 0x9
 [   80.794016] [drm:intel_dump_crtc_timings] crtc timings: 533250 3840 3888
3920 4000 2160 2163 2168 2222, type: 0x0 flags: 0x9
 [   80.794020] [drm:intel_dump_pipe_config] port clock: 540000
 [   80.794023] [drm:intel_dump_pipe_config] pipe src size: 3840x2160
 [   80.794027] [drm:intel_dump_pipe_config] num_scalers: 2, scaler_users: 0x0,
scaler_id: -1
 [   80.794032] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000,
ratios: 0x00000000, lvds border: 0x00000000
 [   80.794036] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, size:
0x00000000, disabled
 [   80.794039] [drm:intel_dump_pipe_config] ips: 0
 [   80.794043] [drm:intel_dump_pipe_config] double wide: 0
 [   80.794047] [drm:intel_dump_pipe_config] ddi_pll_sel: 1; dpll_hw_state:
ctrl1: 0x3, cfgcr1: 0x0, cfgcr2: 0x0
 [   80.794050] [drm:intel_dump_pipe_config] planes on this crtc
 [   80.794056] [drm:intel_dump_pipe_config] STANDARD PLANE:28 plane: 1.0 idx:
3 enabled
 [   80.794061] [drm:intel_dump_pipe_config]    FB:63, fb = 6400x3039 format =
0x34325258<7>[   80.794068] [drm:intel_dump_pipe_config]         scaler:-1 src
(2560, 0) 3840x2160 dst (0, 0) 3840x2160
 [   80.794074] [drm:intel_dump_pipe_config] CURSOR PLANE:29 plane: 1.2 idx: 4
disabled, scaler_id = -1
 [   80.794079] [drm:intel_dump_pipe_config] STANDARD PLANE:31 plane: 1.1 idx:
5 disabled, scaler_id = -1
 [   80.794086] ------------[ cut here ]------------
 [   80.794173] WARNING: CPU: 3 PID: 3139 at
drivers/gpu/drm/i915/intel_display.c:13963 skl_max_scale.part.108+0x6d/0x80
[i915]
 [   80.794177] WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)
 [   80.794181] Modules linked in: ccm rfcomm nvram msr asix usbnet mii
snd_usb_audio snd_usbmidi_lib cmac uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_v4l2 videobuf2_core videodev media bnep dell_laptop
snd_hda_codec_hdmi dell_led dell_smbios dcdbas snd_soc_skl snd_soc_skl_ipc
snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core
snd_hda_codec_realtek snd_hda_codec_generic snd_compress ac97_bus
snd_pcm_dmaengine dw_dmac_core arc4 snd_hda_intel snd_hda_codec snd_hda_core
snd_hwdep snd_pcm intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp
kvm_intel kvm irqbypass crct10dif_pclmul nls_iso8859_1 crc32_pclmul
ghash_clmulni_intel aesni_intel snd_seq_midi aes_x86_64 snd_seq_midi_event lrw
snd_rawmidi glue_helper ablk_helper cryptd joydev iwlmvm mac80211 snd_seq
serio_raw snd_seq_device snd_timer iwlwifi snd cfg80211 rtsx_pci_ms soundcore
memstick shpchp mei_me mei processor_thermal_device intel_pch_thermal
intel_soc_dts_iosf wmi hci_uart btqca int3403_thermal int340x_thermal_zone
int3400_thermal intel_hid(OE) acpi_thermal_rel mac_hid acpi_pad acpi_als
kfifo_buf industrialio sunrpc parport_pc ppdev lp parport autofs4 btrfs xor
raid6_pq btusb btrtl btbcm btintel bluetooth hid_generic usbhid rtsx_pci_sdmmc
psmouse i915 ahci i2c_algo_bit libahci drm_kms_helper nvme syscopyarea rtsx_pci
sysfillrect nvme_core sysimgblt fb_sys_fops drm i2c_hid hid video
pinctrl_sunrisepoint pinctrl_intel
 [   80.794380] CPU: 3 PID: 3139 Comm: Xorg Tainted: G        W  OE  
4.7.0-custom #1
 [   80.794384] Hardware name: Dell Inc. XPS 13 9350/09JHRY, BIOS 1.4.4
06/14/2016
 [   80.794389]  0000000000000000 ffff88006296fa20 ffffffff813c56e3
ffff88006296fa70
 [   80.794397]  0000000000000000 ffff88006296fa60 ffffffff81073c5b
0000368b6582a000
 [   80.794405]  ffff88041c4953c0 ffff880076ed2c00 ffff88046582a000
ffff880076ed2c00
 [   80.794413] Call Trace:
 [   80.794439]  [<ffffffff813c56e3>] dump_stack+0x63/0x90
 [   80.794450]  [<ffffffff81073c5b>] __warn+0xcb/0xf0
 [   80.794460]  [<ffffffff81073ccf>] warn_slowpath_fmt+0x4f/0x60
 [   80.794534]  [<ffffffffc01dab3d>] skl_max_scale.part.108+0x6d/0x80 [i915]
 [   80.794598]  [<ffffffffc01dac10>] intel_check_primary_plane+0xc0/0xe0
[i915]
 [   80.794664]  [<ffffffffc01ccc0e>] intel_plane_atomic_check+0x12e/0x1f0
[i915]
 [   80.794688]  [<ffffffffc0115a68>] drm_atomic_helper_check_planes+0x48/0x1d0
[drm_kms_helper]
 [   80.794760]  [<ffffffffc01e7701>] intel_atomic_check+0x281/0x11a0 [i915]
 [   80.794814]  [<ffffffffc00bbf98>] drm_atomic_check_only+0x188/0x610 [drm]
 [   80.794858]  [<ffffffffc00bbb16>] ?
drm_atomic_set_crtc_for_connector+0x96/0x100 [drm]
 [   80.794897]  [<ffffffffc00bc437>] drm_atomic_commit+0x17/0x60 [drm]
 [   80.794919]  [<ffffffffc0117aa1>] drm_atomic_helper_set_config+0x81/0xc0
[drm_kms_helper]
 [   80.794959]  [<ffffffffc00ab3e5>] drm_mode_set_config_internal+0x65/0x110
[drm]
 [   80.795001]  [<ffffffffc00afbf8>] drm_mode_setcrtc+0x418/0x530 [drm]
 [   80.795030]  [<ffffffffc00a17c2>] drm_ioctl+0x152/0x540 [drm]
 [   80.795067]  [<ffffffffc00af7e0>] ? drm_mode_setplane+0x1c0/0x1c0 [drm]
 [   80.795098]  [<ffffffffc06864a2>] ? iwl_dbgfs_interrupt_read+0x62/0x220
[iwlwifi]
 [   80.795108]  [<ffffffff8121920f>] ? dput+0x2f/0x240
 [   80.795115]  [<ffffffff81214fa2>] do_vfs_ioctl+0x92/0x580
 [   80.795124]  [<ffffffff8100322b>] ? do_audit_syscall_entry+0x4b/0x70
 [   80.795131]  [<ffffffff8100388c>] ? syscall_trace_enter_phase1+0xfc/0x120
 [   80.795138]  [<ffffffff81117d30>] ? __audit_syscall_exit+0x230/0x2c0
 [   80.795144]  [<ffffffff81215509>] SyS_ioctl+0x79/0x90
 [   80.795151]  [<ffffffff81003bce>] do_syscall_64+0x5e/0xc0
 [   80.795159]  [<ffffffff817f1a65>] entry_SYSCALL64_slow_path+0x25/0x25
 [   80.795165] ---[ end trace d26be72208153b8f ]---
 [   80.795172] [drm:skl_update_scaler_plane] Updating scaler for [PLANE:28]
scaler_user index 1.3
 [   80.795182] [drm:intel_find_shared_dpll] CRTC:30 allocated DPLL 1
 [   80.795186] [drm:intel_reference_shared_dpll] using DPLL 1 for pipe B
 [   80.795191] [drm:skl_update_scaler_crtc] Updating scaler for [CRTC:30]
scaler_user index 1.31
 [   80.805551] [drm:hsw_audio_codec_disable] Disable audio codec on pipe B
 [   80.805604] [drm:intel_disable_pipe] disabling pipe B
 [   80.840108] [drm:intel_get_hpd_pins] hotplug event received, stat
0x00200000, dig 0x10101011, pins 0x00000020
 [   80.840113] [drm:intel_hpd_irq_handler] digital hpd port B - short
 [   80.840122] [drm:intel_dp_hpd_pulse] got hpd irq on port B - short
 [   80.842236] [drm:intel_disable_shared_dpll] disable DPLL 1 (active 2, on?
1) for crtc 30
 [   80.842241] [drm:intel_disable_shared_dpll] disabling DPLL 1
 [   80.842247] [drm:verify_encoder_state] [ENCODER:36:TMDS-36]
 [   80.842250] [drm:verify_encoder_state] [ENCODER:45:TMDS-45]
 [   80.842251] [drm:verify_encoder_state] [ENCODER:47:DP MST-47]
 [   80.842253] [drm:verify_encoder_state] [ENCODER:48:DP MST-48]
 [   80.842254] [drm:verify_encoder_state] [ENCODER:49:DP MST-49]
 [   80.842256] [drm:verify_encoder_state] [ENCODER:52:TMDS-52]
 [   80.842258] [drm:verify_encoder_state] [ENCODER:54:DP MST-54]
 [   80.842260] [drm:verify_encoder_state] [ENCODER:55:DP MST-55]
 [   80.842261] [drm:verify_encoder_state] [ENCODER:56:DP MST-56]
 [   80.842263] [drm:intel_connector_verify_state] [CONNECTOR:50:HDMI-A-1]
 [   80.842266] [drm:intel_connector_verify_state] [CONNECTOR:53:DP-2]
 [   80.842268] [drm:intel_connector_verify_state] [CONNECTOR:57:HDMI-A-2]
 [   80.842270] [drm:verify_single_dpll_state] DPLL 0
 [   80.842272] [drm:verify_single_dpll_state] DPLL 1
 [   80.842274] [drm:verify_single_dpll_state] DPLL 2
 [   80.842275] [drm:verify_single_dpll_state] DPLL 3
 [   80.842278] [drm:intel_enable_shared_dpll] enable DPLL 1 (active 2, on? 0)
for crtc 30
 [   80.842280] [drm:intel_enable_shared_dpll] enabling DPLL 1
 [   80.843184] [drm:intel_dp_get_dpcd] DPCD: 12 14 c4 01 01 01 01 81 02 02 06
00 00 00 02
 [   80.843997] [drm:intel_dp_get_dpcd] Display Port TPS3 support: source yes,
sink yes
 [   80.844000] [drm:intel_dp_print_rates] source rates: 162000, 216000,
270000, 324000, 432000, 540000
 [   80.844002] [drm:intel_dp_print_rates] sink rates: 162000, 270000, 540000
 [   80.844004] [drm:intel_dp_print_rates] common rates: 162000, 270000, 540000
 [   80.847987] [drm:intel_dp_set_signal_levels] Using signal levels 00000000
 [   80.847989] [drm:intel_dp_set_signal_levels] Using vswing level 0
 [   80.847990] [drm:intel_dp_set_signal_levels] Using pre-emphasis level 0
 [   80.857109] [drm:intel_dp_set_signal_levels] Using signal levels 07000000
 [   80.857111] [drm:intel_dp_set_signal_levels] Using vswing level 2
 [   80.857112] [drm:intel_dp_set_signal_levels] Using pre-emphasis level 0
 [   80.866208] [drm:intel_dp_link_training_clock_recovery] clock recovery OK
 [   80.877318] [drm:intel_dp_link_training_channel_equalization] Channel EQ
done. DP Training successful
 [   80.877538] [drm:skylake_pfit_enable] for crtc_state = ffff88046b3d9000
 [   80.877611] [drm:skl_wm_flush_pipe] flush pipe A (pass 3)
 [   80.877613] [drm:skl_wm_flush_pipe] flush pipe B (pass 3)
 [   80.877616] [drm:intel_enable_pipe] enabling pipe B
 [   80.877623] [drm:intel_audio_codec_enable] ELD on [CONNECTOR:46:DP-1],
[ENCODER:45:TMDS-45]
 [   80.877625] [drm:hsw_audio_codec_enable] Enable audio codec on pipe B, 36
bytes ELD
 [   80.878119] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU
pipe B FIFO underrun
 [   80.894329] [drm:intel_connector_verify_state] [CONNECTOR:46:DP-1]
 [   80.894336] [drm:verify_crtc_state] [CRTC:30]
 [   80.894349] [drm:verify_single_dpll_state] DPLL 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160729/8410df83/attachment-0001.html>


More information about the intel-gfx-bugs mailing list