[Intel-gfx] eDP is black after screen rotate in kernel 3.19
Zhang, Xiong Y
xiong.y.zhang at intel.com
Tue Apr 14 00:39:31 PDT 2015
On one Broadwell machine with Ubuntu 15.04, eDP is black after running "xrandr -output eDP1 -rotate inverted".
Only 3.19 kernel has such issue, 4.0 kernel doesn't have such issue.
When this issue happens, I see the following call trace in dmesg:
[ 108.777612] [drm:drm_mode_setcrtc] [CRTC:9]
[ 108.777621] [drm:drm_mode_setcrtc] [CONNECTOR:20:eDP-1]
[ 108.777627] [drm:intel_crtc_set_config] [CRTC:9] [FB:42] #connectors=1 (x y) (0 0)
[ 108.777634] [drm:intel_set_config_compute_mode_changes] computed changes for [CRTC:9], mode_changed=0, fb_changed=0
[ 108.777639] [drm:intel_modeset_stage_output_state] [CONNECTOR:20:eDP-1] to [CRTC:9]
[ 108.777659] [drm:intel_modeset_affected_pipes] set mode pipe masks: modeset: 1, prepare: 1, disable: 0
[ 108.777667] [drm:connected_sink_compute_bpp] [CONNECTOR:20:eDP-1] checking for sink bpp constrains
[ 108.777675] [drm:intel_dp_compute_config] DP link computation with max lane count 4 max bw 14 pixel clock 361310KHz
[ 108.777679] [drm:intel_dp_compute_config] clamping bpp for eDP panel to BIOS-provided 18
[ 108.777684] [drm:intel_dp_compute_config] DP link bw 14 lane count 4 clock 540000 bpp 18
[ 108.777687] [drm:intel_dp_compute_config] DP link bw required 650358 available 1728000
[ 108.777694] [drm:intel_modeset_pipe_config] plane bpp: 24, pipe bpp: 18, dithering: 1
[ 108.777698] [drm:intel_dump_pipe_config] [CRTC:9][modeset] config for pipe A
[ 108.777702] [drm:intel_dump_pipe_config] cpu_transcoder: D
[ 108.777705] [drm:intel_dump_pipe_config] pipe bpp: 18, dithering: 1
[ 108.777710] [drm:intel_dump_pipe_config] fdi/pch: 0, lanes: 0, gmch_m: 0, gmch_n: 0, link_m: 0, link_n: 0, tu: 0
[ 108.777715] [drm:intel_dump_pipe_config] dp: 1, gmch_m: 3157174, gmch_n: 8388608, link_m: 701594, link_n: 1048576, tu: 64
[ 108.777719] [drm:intel_dump_pipe_config] dp: 1, gmch_m2: 0, gmch_n2: 0, link_m2: 0, link_n2: 0, tu2: 0
[ 108.777723] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[ 108.777726] [drm:intel_dump_pipe_config] requested mode:
[ 108.777733] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 361310 3200 3248 3280 3316 1800 1802 1807 1816 0x0 0xa
[ 108.777736] [drm:intel_dump_pipe_config] adjusted mode:
[ 108.777742] [drm:drm_mode_debug_printmodeline] Modeline 0:"3200x1800" 60 361310 3200 3248 3280 3316 1800 1802 1807 1816 0x48 0xa
[ 108.777748] [drm:intel_dump_crtc_timings] crtc timings: 361310 3200 3248 3280 3316 1800 1802 1807 1816, type: 0x48 flags: 0xa
[ 108.777752] [drm:intel_dump_pipe_config] port clock: 540000
[ 108.777755] [drm:intel_dump_pipe_config] pipe src size: 3200x1800
[ 108.777759] [drm:intel_dump_pipe_config] gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
[ 108.777763] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000, size: 0x00000000, disabled
[ 108.777767] [drm:intel_dump_pipe_config] ips: 1
[ 108.777770] [drm:intel_dump_pipe_config] double wide: 0
[ 108.877697] ------------[ cut here ]------------
[ 108.877749] WARNING: CPU: 0 PID: 0 at /home/kernel/COD/linux/drivers/gpu/drm/i915/intel_display.c:9713 intel_check_page_flip+0xe6/0xf0 [i915]()
[ 108.877751] Kicking stuck page flip: queued at 6212, now 6217
[ 108.877753] Modules linked in: binfmt_misc rfcomm bnep nls_iso8859_1 ax88179_178a usbnet mii hid_sensor_press hid_sensor_prox hid_sensor_als joydev hid_sensor_magn_3d hid_sensor_accel_3d hid_sensor_rotation hid_sensor_gyro_3d hid_sensor_incl_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common snd_soc_sst_broadwell snd_soc_sst_haswell_pcm hid_sensor_hub hid_multitouch snd_soc_sst_dsp btusb intel_rapl bluetooth iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel iwlmvm aes_x86_64 lrw gf128mul glue_helper ablk_helper mac80211 cryptd serio_raw snd_hda_codec_hdmi iwlwifi uvcvideo videobuf2_vmalloc videobuf2_memops cfg80211 videobuf2_core v4l2_common videodev media snd_hda_intel
[ 108.877791] snd_hda_controller lpc_ich shpchp snd_hda_codec mei_me mei snd_hwdep processor_thermal_device i915 drm_kms_helper drm i2c_algo_bit mac_hid int3403_thermal soc_button_array winbond_cir rc_core 8250_fintek snd_soc_rt286 snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer i2c_hid snd hid soundcore snd_soc_sst_acpi video acpi_pad rfkill_gpio int3402_thermal i2c_designware_platform int3400_thermal i2c_designware_core dw_dmac spi_pxa2xx_platform 8250_dw dw_dmac_core acpi_thermal_rel parport_pc ppdev lp parport autofs4 e1000e ahci libahci ptp sdhci_pci pps_core sdhci_acpi sdhci
[ 108.877837] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.4-031904-generic #201504131440
[ 108.877839] Hardware name: Intel Corporation Broadwell Client platform/Wilson Beach SDS, BIOS BDW-E2R1.86C.0080.R00.1406082006 06/08/2014
[ 108.877841] 00000000000025f1 ffff88024e403d78 ffffffff817c6cd7 0000000000000007
[ 108.877845] ffff88024e403dc8 ffff88024e403db8 ffffffff81076e17 0000000007dbc000
[ 108.877848] ffff880243b60000 ffff8802412cf1a8 ffff8802412cf000 0000000000000000
[ 108.877852] Call Trace:
[ 108.877854] <IRQ> [<ffffffff817c6cd7>] dump_stack+0x45/0x57
[ 108.877866] [<ffffffff81076e17>] warn_slowpath_common+0x97/0xe0
[ 108.877870] [<ffffffff81076f16>] warn_slowpath_fmt+0x46/0x50
[ 108.877901] [<ffffffffc065db26>] intel_check_page_flip+0xe6/0xf0 [i915]
[ 108.877925] [<ffffffffc0628c3c>] gen8_irq_handler+0x37c/0x460 [i915]
[ 108.877931] [<ffffffff810ce52d>] handle_irq_event_percpu+0x5d/0x1e0
[ 108.877935] [<ffffffff810ce6f8>] handle_irq_event+0x48/0x70
[ 108.877938] [<ffffffff810d177f>] handle_edge_irq+0x7f/0x120
[ 108.877942] [<ffffffff81017892>] handle_irq+0x22/0x40
[ 108.877945] [<ffffffff817d670c>] do_IRQ+0x5c/0x110
[ 108.877950] [<ffffffff817d456d>] common_interrupt+0x6d/0x6d
[ 108.877952] <EOI> [<ffffffff8165cad4>] ? cpuidle_enter_state+0x74/0x190
[ 108.877960] [<ffffffff8165cabf>] ? cpuidle_enter_state+0x5f/0x190
[ 108.877963] [<ffffffff8165ccb7>] cpuidle_enter+0x17/0x20
[ 108.877968] [<ffffffff810b7941>] cpuidle_idle_call+0x101/0x1c0
[ 108.877971] [<ffffffff810b7bd5>] cpu_idle_loop+0x1d5/0x1f0
[ 108.877978] [<ffffffff81d3b120>] ? early_idt_handlers+0x120/0x120
[ 108.877981] [<ffffffff810b7c4a>] cpu_startup_entry+0x5a/0x60
[ 108.877985] [<ffffffff817af5e7>] rest_init+0x77/0x80
[ 108.877988] [<ffffffff81d3c124>] start_kernel+0x3e9/0x3f0
[ 108.877991] [<ffffffff81d3bbcd>] ? set_init_arg+0x56/0x56
[ 108.877996] [<ffffffff817b6136>] ? memblock_reserve+0x4c/0x51
[ 108.878001] [<ffffffff81d3b5f8>] x86_64_start_reservations+0x2a/0x2c
[ 108.878005] [<ffffffff81d3b73e>] x86_64_start_kernel+0x144/0x153
[ 108.878008] ---[ end trace 1a2f73828ecd9b68 ]---
[ 111.773308] [drm:edp_panel_vdd_off_sync] Turning eDP port A VDD off
[ 111.773326] [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x80000008 PP_CONTROL: 0xabcd0007
Does anybody remember which commit in kernel 4.0 fixes this issue ?
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150414/e47e9d2c/attachment.html>
More information about the Intel-gfx
mailing list