[Intel-gfx] question about i915 GPU driver in VM

Micah Morton mortonm at chromium.org
Fri May 31 19:43:01 UTC 2019


Hi,

I'm trying to get iGPU passthrough working in a VM running on a Chrome
OS "7th Generation (Kaby Lake) Intel Core i5-7Y57 with HD Graphics
615" device. I'm able to pass the iGPU through to the VM and execute
the i915 driver, but the driver doesn't succeed in getting the system
to the point where the screen works.

With physical access to the iGPU from inside the guest, is it
reasonable to just run the same kernel/driver that works on the host
and expect it to work? Or are there often extra hoops to jump through
even with physical/unemulated access to the host GPU and CPU?

On a higher level, it would help if anyone had an idea from the logs
below if I'm "close" to getting this to work? Or maybe its hard to
say?

NOTE: I totally avoid touching the GPU in the host, and have verified
that the i915 driver in the guest should have all the info (e.g.
OpRegion tables) it needs to drive the GPU. Interestingly, running
i915 in the VM causes the VM kernel to crash at random code paths
unless I wait until after system startup to modprobe i915. The VM
doesn't crash at all if I disable i915. These crashes happen well
after i915 is done trying to initialize the GPU, so not sure if i915
is touching memory it shouldn't be or what..

Thanks,
Micah

KERNEL CONSOLE (modified for brevity):
localhost ~ # qemu-system-x86_64 -serial mon:stdio -m 2G -smp 2 -M pc
-vga none -usbdevice tablet -cpu host,-invpcid,-tsc-deadline,check
-drive 'file=/mnt/stateful_partition/chromiumos_test_image.bin,index=0,media=disk,cache=unsafe,format=raw'
-enable-kvm -device
vfio-pci,x-igd-opregion=on,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2,rombar=0
-device 'virtio-net,netdev=eth0' -netdev
'user,id=eth0,net=10.0.2.0/27,hostfwd=tcp:127.0.0.1:9222-:22'
qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated,
please use '-device usb-...' instead
qemu-system-x86_64: -device
vfio-pci,x-igd-opregion=on,host=00:02.0,id=hostdev0,bus=pci.0,addr=0x2,rombar=0:
IGD device 0000:00:02.0 has no ROM, legacy mode disabled
VNC server running on 127.0.0.1:5900
[    0.000000] Linux version 4.14.114
(mortonm at mortonm2.mtv.corp.google.com) (Chromium OS
9.0_pre353983_p20190325-r11 clang version 9.0.0
(/var/cache/chromeos-cache/distfiles/host/egit-src/clang.git
171531e31716e2db2c372cf8b57220ddf9e721d8)
(/var/cache/chromeos-cache/distfiles/host/egit-src/llvm.git
5077597e0d5b86d9f9c27286d8b28f8b3645a74c) (based on LLVM 9.0.0svn))
#14 SMP PREEMPT Fri May 31 09:50:35 PDT 2019
[    0.000000] Command line: BOOT_IMAGE=vmlinuz.A init=/sbin/init
boot=local rootwait ro noresume noswap loglevel=7 noinitrd
console=ttyS0 disablevmx=off
root=PARTUUID=60B83A78-8581-014B-8942-6128789234C3 i915.modeset=1
cros_legacy cros_debug

[snip]

[    0.000000] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff]

[snip]

[    0.415534] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    0.416418] [drm:i915_driver_load] Assuming SunrisePoint PCH
[    0.417296] [drm:intel_power_domains_init] Allowed DC state mask 03
[    0.418290] [drm:intel_device_info_dump] i915 device info:
platform=KABYLAKE gen=9 pciid=0x591e rev=0x02
[    0.418292] [drm:intel_device_info_dump] i915 device info: is_mobile: no
[    0.419684] [drm:intel_device_info_dump] i915 device info: is_lp: no
[    0.420740] [drm:intel_device_info_dump] i915 device info:
is_alpha_support: no
[    0.421712] [drm:intel_device_info_dump] i915 device info:
has_64bit_reloc: yes
[    0.422806] [drm:intel_device_info_dump] i915 device info:
has_aliasing_ppgtt: yes
[    0.423900] [drm:intel_device_info_dump] i915 device info: has_csr: yes
[    0.425036] [drm:intel_device_info_dump] i915 device info: has_ddi: yes
[    0.426033] [drm:intel_device_info_dump] i915 device info: has_dp_mst: yes
[    0.427040] [drm:intel_device_info_dump] i915 device info:
has_reset_engine: yes
[    0.428076] [drm:intel_device_info_dump] i915 device info: has_fbc: yes
[    0.429180] [drm:intel_device_info_dump] i915 device info: has_fpga_dbg: yes
[    0.430181] [drm:intel_device_info_dump] i915 device info:
has_full_ppgtt: yes
[    0.431726] [drm:intel_device_info_dump] i915 device info:
has_full_48bit_ppgtt: yes
[    0.432810] [drm:intel_device_info_dump] i915 device info:
has_gmch_display: no
[    0.433963] [drm:intel_device_info_dump] i915 device info: has_guc: yes
[    0.435059] [drm:intel_device_info_dump] i915 device info: has_guc_ct: no
[    0.436061] [drm:intel_device_info_dump] i915 device info: has_hotplug: yes
[    0.437087] [drm:intel_device_info_dump] i915 device info: has_l3_dpf: no
[    0.438136] [drm:intel_device_info_dump] i915 device info: has_llc: yes
[    0.439159] [drm:intel_device_info_dump] i915 device info:
has_logical_ring_contexts: yes
[    0.440158] [drm:intel_device_info_dump] i915 device info:
has_logical_ring_preemption: yes
[    0.441370] [drm:intel_device_info_dump] i915 device info: has_overlay: no
[    0.442604] [drm:intel_device_info_dump] i915 device info: has_pipe_cxsr: no
[    0.443636] [drm:intel_device_info_dump] i915 device info: has_pooled_eu: no
[    0.444696] [drm:intel_device_info_dump] i915 device info: has_psr: yes
[    0.445753] [drm:intel_device_info_dump] i915 device info: has_rc6: yes
[    0.446770] [drm:intel_device_info_dump] i915 device info: has_rc6p: no
[    0.447770] [drm:intel_device_info_dump] i915 device info:
has_resource_streamer: yes
[    0.448766] [drm:intel_device_info_dump] i915 device info:
has_runtime_pm: yes
[    0.449926] [drm:intel_device_info_dump] i915 device info: has_snoop: no
[    0.451003] [drm:intel_device_info_dump] i915 device info:
unfenced_needs_alignment: no
[    0.452011] [drm:intel_device_info_dump] i915 device info:
cursor_needs_physical: no
[    0.453196] [drm:intel_device_info_dump] i915 device info:
hws_needs_physical: no
[    0.454350] [drm:intel_device_info_dump] i915 device info:
overlay_needs_physical: no
[    0.455476] [drm:intel_device_info_dump] i915 device info: supports_tv: no
[    0.456641] [drm:i915_driver_load] i915 device info: has_ipc: no
[    0.460042] in i915_driver_init_hw
[    0.461608] [drm:intel_device_info_runtime_init] slice mask: 0001
[    0.462544] [drm:intel_device_info_runtime_init] slice total: 1
[    0.463449] [drm:intel_device_info_runtime_init] subslice total: 3
[    0.464387] [drm:intel_device_info_runtime_init] subslice mask 0007
[    0.465339] [drm:intel_device_info_runtime_init] subslice per slice: 3
[    0.466326] [drm:intel_device_info_runtime_init] EU total: 24
[    0.467207] [drm:intel_device_info_runtime_init] EU per subslice: 8
[    0.468422] [drm:intel_device_info_runtime_init] has slice power gating: n
[    0.469753] [drm:intel_device_info_runtime_init] has subslice power gating: n
[    0.471034] [drm:intel_device_info_runtime_init] has EU power gating: y
[    0.472158] [drm:i915_driver_load] ppgtt mode: 3
[    0.472967] [drm:i915_driver_load] use GPU semaphores? no
[    0.474174] [drm] Memory usable by graphics device = 4096M
[    0.475074] [drm:i915_ggtt_probe_hw] GMADR size = 256M
[    0.475961] [drm:i915_ggtt_probe_hw] GTT stolen size = 64M
[    0.476927] [drm:i915_gem_init_stolen] Memory reserved for graphics
device: 65536K, usable: 64512K
[    0.478883] in intel_opregion_setup
[    0.479556] graphic opregion physical addr: 0x7fffe000
[    0.480450] [drm:intel_opregion_setup] Public ACPI methods supported
[    0.481521] [drm:intel_opregion_setup] SWSCI supported
[    0.534179] [drm:swsci] SWSCI request timed out
[    0.535022] [drm:swsci] SWSCI request already in progress
[    0.535958] [drm:intel_opregion_setup] SWSCI GBDA callbacks
00000001, SBCB callbacks 00000001
[    0.537371] [drm:intel_opregion_setup] ASLE supported
[    0.538251] [drm:intel_opregion_setup] ASLE extension supported
[    0.539722] [drm:intel_opregion_setup] Found valid VBT in ACPI
OpRegion (Mailbox #4)
[    0.544375] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.545459] [drm] Driver supports precise vblank timestamp query.
[    0.546403] [drm:intel_bios_init] Set default to SSC at 120000 kHz
[    0.547453] [drm:intel_bios_init] VBT signature "$VBT SKYLAKE
 ", BDB version 209
[    0.548775] [drm:intel_bios_init] BDB_GENERAL_FEATURES
int_tv_support 0 int_crt_support 0 lvds_use_ssc 0 lvds_ssc_freq 120000
display_clock_mode 1 fdi_rx_polarity_inverted 0
[    0.551232] [drm:intel_bios_init] crt_ddc_bus_pin: 2
[    0.552092] [drm:intel_opregion_get_panel_type] Failed to get panel
details from OpRegion (-22)
[    0.553529] [drm:intel_bios_init] Panel type: 15 (VBT)
[    0.554422] [drm:intel_bios_init] DRRS supported mode is static
[    0.555429] [drm:intel_bios_init] Found panel mode in BIOS VBT tables:
[    0.556530] [drm:drm_mode_debug_printmodeline] Modeline
0:"2400x1600" 0 252750 2400 2448 2480 2560 1600 1603 1613 1646 0x8 0xa
[    0.558362] [drm:intel_bios_init] VBT initial LVDS value 33c
[    0.559333] [drm:intel_bios_init] VBT backlight PWM modulation
frequency 1000 Hz, active high, min brightness 0, level 180,
controller 0
[    0.561297] [drm:intel_bios_init] DRRS State Enabled:1
[    0.562182] [drm:intel_bios_init] Skipping SDVO device mapping
[    0.563178] [drm:intel_bios_init] Port A VBT info: DP:1 HDMI:0
DVI:0 EDP:1 CRT:0
[    0.564413] [drm:intel_bios_init] VBT HDMI level shift for port A: 0
[    0.565482] [drm:intel_bios_init] Port B VBT info: DP:1 HDMI:0
DVI:0 EDP:0 CRT:0
[    0.566710] [drm:intel_bios_init] VBT HDMI level shift for port B: 8
[    0.567781] [drm:intel_bios_init] Port C VBT info: DP:1 HDMI:0
DVI:0 EDP:0 CRT:0
[    0.569006] [drm:intel_bios_init] VBT HDMI level shift for port C: 8
[    0.570084] [drm:intel_register_dsm_handler] no _DSM method for intel device
[    0.571283] [drm:i915_driver_load] rawclk rate: 24000 kHz
[    0.572215] [drm:gen9_set_dc_state] Setting DC state from 00 to 00
[    0.573265] [drm:intel_power_domains_init_hw] enabling power well 1
[    0.574327] [drm:intel_power_domains_init_hw] enabling MISC IO power well
[    0.575465] [drm:skl_init_cdclk] Sanitizing cdclk programmed by pre-os
[    0.579046] [drm:intel_update_max_cdclk] Max CD clock rate: 675000 kHz
[    0.580161] [drm:skl_set_cdclk] Max dotclock rate: 675000 kHz
[    0.581161] [drm:__intel_display_power_get_domain] enabling always-on
[    0.582294] [drm:__intel_display_power_get_domain] enabling DC off
[    0.583343] [drm:gen9_set_dc_state] Setting DC state from 00 to 00
[    0.584394] [drm:__intel_display_power_get_domain] enabling power well 2
[    0.585531] [drm:__intel_display_power_get_domain] enabling DDI A/E
IO power well
[    0.586774] [drm:__intel_display_power_get_domain] enabling DDI B
IO power well
[    0.587991] [drm:__intel_display_power_get_domain] enabling DDI C
IO power well
[    0.589212] [drm:__intel_display_power_get_domain] enabling DDI D
IO power well
[    0.590434] [drm:intel_csr_ucode_init] Loading i915/kbl_dmc_ver1_01.bin
[    0.591927] [drm:intel_fbc_init] Sanitized enable_fbc value: 0
[    0.592949] [drm:intel_print_wm_latency] Gen9 Plane WM0 latency 2 (2.0 usec)
[    0.594133] [drm:intel_print_wm_latency] Gen9 Plane WM1 latency 19
(19.0 usec)
[    0.595339] [drm:intel_print_wm_latency] Gen9 Plane WM2 latency 28
(28.0 usec)
[    0.596542] [drm:intel_print_wm_latency] Gen9 Plane WM3 latency 32
(32.0 usec)
[    0.597743] [drm:intel_print_wm_latency] Gen9 Plane WM4 latency 63
(63.0 usec)
[    0.598944] [drm:intel_print_wm_latency] Gen9 Plane WM5 latency 77
(77.0 usec)
[    0.600147] [drm:intel_print_wm_latency] Gen9 Plane WM6 latency 83
(83.0 usec)
[    0.601351] [drm:intel_print_wm_latency] Gen9 Plane WM7 latency 99
(99.0 usec)
[    0.602552] [drm:intel_modeset_init] 3 display pipes available.
[    0.603591] [drm:intel_dump_cdclk_state] Current CDCLK 337500 kHz,
VCO 8100000 kHz, ref 24000 kHz, voltage level 0
[    0.605588] [drm:intel_dp_init_connector] Adding eDP connector on port A
[    0.606731] [drm:intel_dp_init_connector] using AUX A for port A (VBT)
[    0.607892] [drm:intel_dp_init_panel_power_sequencer] cur t1_t3 0
t8 0 t9 0 t10 0 t11_t12 0
[    0.609294] [drm:intel_dp_init_panel_power_sequencer] vbt t1_t3
1000 t8 10 t9 2000 t10 5000 t11_t12 6000
[    0.610835] [drm:intel_dp_init_panel_power_sequencer] panel power
up delay 100, power down delay 500, power cycle delay 600
[    0.612627] [drm:intel_dp_init_panel_power_sequencer] backlight on
delay 1, off delay 200
[    0.614037] [drm:intel_dp_init_panel_power_sequencer_registers]
panel power sequencer register settings: PP_ON 0x3e80001, PP_OFF
0x13880001, PP_DIV 0x4af06
[    0.616280] [drm:edp_panel_vdd_on] Turning eDP port A VDD on
[    0.617263] [drm:wait_panel_power_cycle] Wait for panel power cycle
[    1.184412] [drm:wait_panel_status] mask b800000f value 00000000
status 00000000 control 00000000
[    1.186192] [drm:wait_panel_status] Wait complete
[    1.187078] [drm:edp_panel_vdd_on] PP_STATUS: 0x00000000
PP_CONTROL: 0x00000008
[    1.188359] [drm:edp_panel_vdd_on] eDP port A panel power wasn't enabled
[    1.298464] [drm:intel_dp_read_dpcd] DPCD: 13 00 84 41 00 00 01 c0
02 03 00 00 00 09 00
[    1.300858] [drm:drm_dp_read_desc] DP sink: OUI 00-60-ad dev-ID
HW-rev 0.0 SW-rev 0.0 quirks 0x0000
[    1.302830] [drm:intel_dp_init_connector] Detected EDP PSR Panel.
[    1.304356] [drm:intel_dp_init_connector] PSR2 supported on sink
[    1.306141] [drm:intel_dp_init_connector] EDP DPCD : 04 bb ff
[    1.316397] [drm:drm_add_edid_modes] ELD: no CEA Extension found
[    1.317327] [drm:drm_add_display_info] non_desktop set to 0
[    1.318171] [drm:drm_add_display_info] non_desktop set to 0
[    1.319013] [drm:intel_dp_init_connector] VBT doesn't support DRRS
[    1.319994] [drm:get_backlight_max_vbt] VBT defined backlight
frequency 1000 Hz
[    1.321101] [drm:intel_panel_setup_backlight] Connector eDP-1
backlight initialized, disabled, brightness 0/1500
[    1.322608] [drm:intel_dp_init_connector] Adding DP connector on port B
[    1.323617] [drm:intel_dp_init_connector] using AUX B for port B (VBT)
[    1.324618] [drm:intel_dp_init_connector] Adding DP connector on port C
[    1.325615] [drm:intel_dp_init_connector] using AUX C for port C (VBT)
[    1.326604] [drm:intel_modeset_setup_hw_state] pipe A active planes 0x0
[    1.327612] [drm:intel_modeset_setup_hw_state] pipe A active planes 0x0
[    1.328607] [drm:intel_modeset_setup_hw_state] pipe A active planes 0x0
[    1.329604] [drm:intel_modeset_setup_hw_state] [CRTC:37:pipe A] hw
state readout: disabled
[    1.330825] [drm:intel_modeset_setup_hw_state] pipe B active planes 0x0
[    1.331817] [drm:intel_modeset_setup_hw_state] pipe B active planes 0x0
[    1.332812] [drm:intel_modeset_setup_hw_state] pipe B active planes 0x0
[    1.333806] [drm:intel_modeset_setup_hw_state] [CRTC:47:pipe B] hw
state readout: disabled
[    1.335038] [drm:intel_modeset_setup_hw_state] pipe C active planes 0x0
[    1.336034] [drm:intel_modeset_setup_hw_state] pipe C active planes 0x0
[    1.337038] [drm:intel_modeset_setup_hw_state] pipe C active planes 0x0
[    1.338031] [drm:intel_modeset_setup_hw_state] [CRTC:57:pipe C] hw
state readout: disabled
[    1.339254] [drm:intel_modeset_setup_hw_state] DPLL 0 hw state
readout: crtc_mask 0x00000000, on 1
[    1.340565] [drm:intel_modeset_setup_hw_state] DPLL 1 hw state
readout: crtc_mask 0x00000000, on 0
[    1.341881] [drm:intel_modeset_setup_hw_state] DPLL 2 hw state
readout: crtc_mask 0x00000000, on 0
[    1.343182] [drm:intel_modeset_setup_hw_state] DPLL 3 hw state
readout: crtc_mask 0x00000000, on 0
[    1.344511] [drm:intel_modeset_setup_hw_state] [ENCODER:58:DDI A]
hw state readout: disabled, pipe A
[    1.345836] [drm:intel_modeset_setup_hw_state] [ENCODER:66:DDI B]
hw state readout: disabled, pipe A
[    1.347160] [drm:intel_modeset_setup_hw_state] [ENCODER:68:DP-MST
A] hw state readout: disabled, pipe A
[    1.348532] [drm:intel_modeset_setup_hw_state] [ENCODER:69:DP-MST
B] hw state readout: disabled, pipe B
[    1.349890] [drm:intel_modeset_setup_hw_state] [ENCODER:70:DP-MST
C] hw state readout: disabled, pipe C
[    1.351264] [drm:intel_modeset_setup_hw_state] [ENCODER:71:DDI C]
hw state readout: disabled, pipe A
[    1.352596] [drm:intel_modeset_setup_hw_state] [ENCODER:73:DP-MST
A] hw state readout: disabled, pipe A
[    1.353977] [drm:intel_modeset_setup_hw_state] [ENCODER:74:DP-MST
B] hw state readout: disabled, pipe B
[    1.355354] [drm:intel_modeset_setup_hw_state] [ENCODER:75:DP-MST
C] hw state readout: disabled, pipe C
[    1.356722] [drm:intel_modeset_setup_hw_state] [CONNECTOR:59:eDP-1]
hw state readout: disabled
[    1.357969] [drm:intel_modeset_setup_hw_state] [CONNECTOR:67:DP-1]
hw state readout: disabled
[    1.359213] [drm:intel_modeset_setup_hw_state] [CONNECTOR:72:DP-2]
hw state readout: disabled
[    1.360485] [drm:intel_dump_pipe_config] [CRTC:37:pipe A][setup_hw_state]
[    1.361506] [drm:intel_dump_pipe_config] cpu_transcoder: A, pipe
bpp: 0, dithering: 0
[    1.362676] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[    1.363591] [drm:intel_dump_pipe_config] requested mode:
[    1.364426] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.365625] [drm:intel_dump_pipe_config] adjusted mode:
[    1.366440] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.367629] [drm:intel_dump_pipe_config] crtc timings: 0 0 0 0 0 0
0 0 0, type: 0x0 flags: 0x0
[    1.368889] [drm:intel_dump_pipe_config] port clock: 0, pipe src
size: 0x0, pixel rate 0
[    1.370084] [drm:intel_dump_pipe_config] num_scalers: 2,
scaler_users: 0x0, scaler_id: -1
[    1.372428] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000,
size: 0x00000000, disabled
[    1.373686] [drm:intel_dump_pipe_config] ips: 0, double wide: 0
[    1.374599] [drm:intel_dump_pipe_config] dpll_hw_state: ctrl1: 0x0,
cfgcr1: 0x0, cfgcr2: 0x0
[    1.375828] [drm:intel_dump_pipe_config] planes on this crtc
[    1.376686] [drm:intel_dump_pipe_config] [PLANE:28:plane 1A]
disabled, scaler_id = -1
[    1.378013] [drm:intel_dump_pipe_config] [PLANE:31:plane 2A]
disabled, scaler_id = -1
[    1.379486] [drm:intel_dump_pipe_config] [PLANE:34:cursor A]
disabled, scaler_id = -1
[    1.380958] [drm:intel_dump_pipe_config] [CRTC:47:pipe B][setup_hw_state]
[    1.382272] [drm:intel_dump_pipe_config] cpu_transcoder: B, pipe
bpp: 0, dithering: 0
[    1.383747] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[    1.384920] [drm:intel_dump_pipe_config] requested mode:
[    1.385971] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.387507] [drm:intel_dump_pipe_config] adjusted mode:
[    1.388554] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.390091] [drm:intel_dump_pipe_config] crtc timings: 0 0 0 0 0 0
0 0 0, type: 0x0 flags: 0x0
[    1.391682] [drm:intel_dump_pipe_config] port clock: 0, pipe src
size: 0x0, pixel rate 0
[    1.393226] [drm:intel_dump_pipe_config] num_scalers: 2,
scaler_users: 0x0, scaler_id: -1
[    1.394772] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000,
size: 0x00000000, disabled
[    1.396359] [drm:intel_dump_pipe_config] ips: 0, double wide: 0
[    1.397513] [drm:intel_dump_pipe_config] dpll_hw_state: ctrl1: 0x0,
cfgcr1: 0x0, cfgcr2: 0x0
[    1.399099] [drm:intel_dump_pipe_config] planes on this crtc
[    1.400221] [drm:intel_dump_pipe_config] [PLANE:38:plane 1B]
disabled, scaler_id = -1
[    1.401712] [drm:intel_dump_pipe_config] [PLANE:41:plane 2B]
disabled, scaler_id = -1
[    1.403186] [drm:intel_dump_pipe_config] [PLANE:44:cursor B]
disabled, scaler_id = -1
[    1.404660] [drm:intel_dump_pipe_config] [CRTC:57:pipe C][setup_hw_state]
[    1.405962] [drm:intel_dump_pipe_config] cpu_transcoder: C, pipe
bpp: 0, dithering: 0
[    1.407447] [drm:intel_dump_pipe_config] audio: 0, infoframes: 0
[    1.408626] [drm:intel_dump_pipe_config] requested mode:
[    1.409668] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.411209] [drm:intel_dump_pipe_config] adjusted mode:
[    1.412245] [drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0
0 0 0 0 0 0 0 0x0 0x0
[    1.413763] [drm:intel_dump_pipe_config] crtc timings: 0 0 0 0 0 0
0 0 0, type: 0x0 flags: 0x0
[    1.415390] [drm:intel_dump_pipe_config] port clock: 0, pipe src
size: 0x0, pixel rate 0
[    1.416911] [drm:intel_dump_pipe_config] num_scalers: 1,
scaler_users: 0x0, scaler_id: -1
[    1.418444] [drm:intel_dump_pipe_config] pch pfit: pos: 0x00000000,
size: 0x00000000, disabled
[    1.420064] [drm:intel_dump_pipe_config] ips: 0, double wide: 0
[    1.421234] [drm:intel_dump_pipe_config] dpll_hw_state: ctrl1: 0x0,
cfgcr1: 0x0, cfgcr2: 0x0
[    1.422785] [drm:intel_dump_pipe_config] planes on this crtc
[    1.423782] [drm:intel_dump_pipe_config] [PLANE:48:plane 1C]
disabled, scaler_id = -1
[    1.425091] [drm:intel_dump_pipe_config] [PLANE:51:plane 2C]
disabled, scaler_id = -1
[    1.426396] [drm:intel_dump_pipe_config] [PLANE:54:cursor C]
disabled, scaler_id = -1
[    1.427727] [drm:intel_modeset_setup_hw_state] DPLL 0 enabled but
not in use, disabling
[    1.429398] [drm:i915_gem_init_ggtt] clearing unused GTT space:
[1000, 100000000]
[    1.430688] [drm:i915_gem_contexts_init] logical context support initialized
[    1.431905] [drm:intel_engine_create_scratch] rcs0 pipe control
offset: 0xfffff000
[    1.433348] [drm:intel_engine_init_common] rcs0 hws offset: 0xfffcf000
[    1.434644] [drm:intel_engine_init_common] bcs0 hws offset: 0xfffc8000
[    1.435922] [drm:intel_engine_init_common] vcs0 hws offset: 0xfffc1000
[    1.437190] [drm:intel_engine_init_common] vecs0 hws offset: 0xfffba000
[    1.438372] [drm:gen8_init_common_ring] Execlists enabled for rcs0
[    1.439453] [drm:init_workarounds_ring] rcs0: Number of context
specific w/a: 20
[    1.440739] [drm:gen8_init_common_ring] Execlists enabled for bcs0
[    1.441852] [drm:gen8_init_common_ring] Execlists enabled for vcs0
[    1.442953] [drm:gen8_init_common_ring] Execlists enabled for vecs0
[    1.444354] [drm:intel_backlight_device_register] Connector eDP-1
backlight sysfs interface registered
[    1.445944] [drm:intel_dp_connector_register] registering DPDDC-A
bus for card0-eDP-1
[    1.447328] [drm:intel_dp_connector_register] registering DPDDC-B
bus for card0-DP-1
[    1.448675] [drm:intel_dp_connector_register] registering DPDDC-C
bus for card0-DP-2
[    1.449980] [drm] Initialized i915 1.6.0 20170907 for 0000:00:02.0 on minor 0
[    1.451195] [drm:intel_opregion_register] 3 outputs detected
[    1.452323] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 1
[    1.792181] LoadPin: firmware pinned
obj="/lib/firmware/i915/kbl_dmc_ver1_01.bin" pid=22 cmdline=""
[    1.794432] [drm:intel_display_power_put] disabling DDI D IO power well
[    1.795481] [drm:intel_display_power_put] disabling DDI C IO power well
[    1.796507] [drm:intel_display_power_put] disabling DDI B IO power well
[    1.797530] [drm:intel_display_power_put] disabling DDI A/E IO power well
[    1.798584] [drm:intel_display_power_put] disabling power well 2
[    1.799533] [drm] Finished loading DMC firmware
i915/kbl_dmc_ver1_01.bin (v1.1)
[    2.283264] [drm:intel_backlight_device_get_brightness] get backlight PWM = 0
[    2.301550] [drm:intel_backlight_device_update_status] updating
intel_backlight, brightness=0/1500
[    2.305548] [drm:intel_backlight_device_update_status] updating
intel_backlight, brightness=600/1500
[    2.492376] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:59:eDP-1]
[    2.494712] [drm:intel_dp_detect] [CONNECTOR:59:eDP-1]
[    2.496553] [drm:drm_dp_read_desc] DP sink: OUI 00-60-ad dev-ID
HW-rev 0.0 SW-rev 0.0 quirks 0x0000
[    2.502048] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:59:eDP-1] status updated from unknown to connected
[    2.506774] [drm:drm_add_display_info] non_desktop set to 0
[    2.509502] [drm:drm_add_edid_modes] ELD: no CEA Extension found
[    2.511154] [drm:drm_add_display_info] non_desktop set to 0
[    2.513343] [drm:drm_mode_debug_printmodeline] Modeline
60:"2400x1600" 60 252750 2400 2448 2480 2560 1600 1603 1613 1646 0x48
0xa
[    2.520193] [drm:drm_mode_prune_invalid] Not using 2400x1600 mode: CLOCK_HIGH
[    2.524078] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:67:DP-1]
[    2.527999] [drm:intel_dp_detect] [CONNECTOR:67:DP-1]
[    2.530870] [drm:__intel_display_power_get_domain] enabling power well 2
[    2.534919] [drm:intel_display_power_put] disabling power well 2
[    2.538469] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:67:DP-1] status updated from unknown to disconnected
[    2.544319] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:67:DP-1] disconnected
[    2.548462] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:72:DP-2]
[    2.550307] [drm:intel_dp_detect] [CONNECTOR:72:DP-2]
[    2.551701] [drm:__intel_display_power_get_domain] enabling power well 2
[    2.553494] [drm:intel_display_power_put] disabling power well 2
[    2.555057] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:72:DP-2] status updated from unknown to disconnected
[    2.557790] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:72:DP-2] disconnected
[    2.559873] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:59:eDP-1]
[    2.561547] [drm:intel_dp_detect] [CONNECTOR:59:eDP-1]
[    2.563392] [drm:drm_dp_read_desc] DP sink: OUI 00-60-ad dev-ID
HW-rev 0.0 SW-rev 0.0 quirks 0x0000
[    2.566633] [drm:drm_add_display_info] non_desktop set to 0
[    2.569577] [drm:drm_add_edid_modes] ELD: no CEA Extension found
[    2.571482] [drm:drm_add_display_info] non_desktop set to 0
[    2.572895] [drm:drm_mode_debug_printmodeline] Modeline
61:"2400x1600" 60 252750 2400 2448 2480 2560 1600 1603 1613 1646 0x48
0xa
[    2.575691] [drm:drm_mode_prune_invalid] Not using 2400x1600 mode: CLOCK_HIGH
[    2.577237] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:67:DP-1]
[    2.579069] [drm:intel_dp_detect] [CONNECTOR:67:DP-1]
[    2.580402] [drm:__intel_display_power_get_domain] enabling power well 2
[    2.581937] [drm:intel_display_power_put] disabling power well 2
[    2.583271] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:67:DP-1] disconnected
[    2.585061] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:72:DP-2]
[    2.586619] [drm:intel_dp_detect] [CONNECTOR:72:DP-2]
[    2.587678] [drm:__intel_display_power_get_domain] enabling power well 2
[    2.589269] [drm:intel_display_power_put] disabling power well 2
[    2.590571] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:72:DP-2] disconnected
[    2.592593] [drm:_drm_lease_revoke] revoke leases for ffff8c3afbd4dc00 0
[    2.594206] [drm:drm_lease_destroy] drm_lease_destroy 0
[    2.595531] [drm:drm_master_put] drm_lease_destroy done 0
[    2.720333] [drm] RC6 on
[    5.255588] [drm:intel_backlight_device_get_brightness] get backlight PWM = 0
[    5.600045] [drm:edp_panel_vdd_off_sync] Turning eDP port A VDD off
[    5.601183] [drm:edp_panel_vdd_off_sync] PP_STATUS: 0x00000000
PP_CONTROL: 0x00000000
[    5.602798] [drm:intel_display_power_put] disabling DC off
[    5.603738] [drm:gen8_irq_handler] hotplug event received, stat
0x01000000, dig 0x12101010, pins 0x00000010
[    5.603740] [drm:intel_hpd_irq_handler] digital hpd port A - long
[    5.603741] [drm:intel_hpd_irq_handler] Received HPD interrupt on
PIN 4 - cnt: 0
[    5.603985] [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port A
[    5.605406] [drm:skl_enable_dc6] Enabling DC6
[    5.620045] [drm:gen9_set_dc_state] Setting DC state from 00 to 02
[    5.621256] [drm:intel_display_power_put] disabling always-on
[    6.812045] [drm:_drm_lease_revoke] revoke leases for ffff8c3afa116600 0
[    6.814077] [drm:drm_lease_destroy] drm_lease_destroy 0
[    6.816686] [drm:drm_master_put] drm_lease_destroy done 0
[    6.820838] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:59:eDP-1]
[    6.824391] [drm:intel_dp_detect] [CONNECTOR:59:eDP-1]
[    6.826589] [drm:__intel_display_power_get_domain] enabling always-on
[    6.829209] [drm:__intel_display_power_get_domain] enabling DC off
[    6.832219] [drm:gen9_set_dc_state] Setting DC state from 02 to 00
[    6.851491] [drm:edp_panel_vdd_on] Turning eDP port A VDD on
[    6.853588] [drm:wait_panel_power_cycle] Wait for panel power cycle
[    6.856313] [drm:wait_panel_status] mask b800000f value 00000000
status 00000000 control 00000000
[    6.859344] [drm:wait_panel_status] Wait complete
[    6.860994] [drm:edp_panel_vdd_on] PP_STATUS: 0x00000000
PP_CONTROL: 0x00000008
[    6.863653] [drm:edp_panel_vdd_on] eDP port A panel power wasn't enabled
[    6.924594] [drm:gen8_irq_handler] hotplug event received, stat
0x01000000, dig 0x12101010, pins 0x00000010
[    6.926285] [drm:intel_hpd_irq_handler] digital hpd port A - long
[    6.927259] [drm:intel_hpd_irq_handler] Received HPD interrupt on
PIN 4 - cnt: 0
[    6.928506] [drm:intel_dp_hpd_pulse] ignoring long hpd on eDP port A
[    6.969108] [drm:drm_dp_read_desc] DP sink: OUI 00-60-ad dev-ID
HW-rev 0.0 SW-rev 0.0 quirks 0x0000
[    6.973119] [drm:drm_add_display_info] non_desktop set to 0
[    6.974931] [drm:drm_add_edid_modes] ELD: no CEA Extension found
[    6.976879] [drm:drm_add_display_info] non_desktop set to 0
[    6.980713] [drm:drm_mode_debug_printmodeline] Modeline
60:"2400x1600" 60 252750 2400 2448 2480 2560 1600 1603 1613 1646 0x48
0xa
[    6.984173] [drm:drm_mode_prune_invalid] Not using 2400x1600 mode: CLOCK_HIGH
[    6.986609] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:67:DP-1]
[    6.988876] [drm:intel_dp_detect] [CONNECTOR:67:DP-1]
[    6.990430] [drm:__intel_display_power_get_domain] enabling power well 2
[    6.992615] [drm:intel_display_power_put] disabling power well 2
[    6.994803] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:67:DP-1] disconnected
[    6.997046] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:72:DP-2]
[    6.998398] [drm:intel_dp_detect] [CONNECTOR:72:DP-2]
[    7.000317] [drm:__intel_display_power_get_domain] enabling power well 2
[    7.001576] [drm:intel_display_power_put] disabling power well 2
[    7.007635] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:72:DP-2] disconnected
[    7.659456] [drm:drm_mode_addfb2] [FB:60]
[    7.660501] [drm:drm_mode_addfb2] [FB:76]
[    7.726630] [drm:drm_mode_addfb2] [FB:77]
[    7.727933] [drm:drm_mode_addfb2] [FB:78]
[    7.791790] [drm:drm_mode_addfb2] [FB:79]
[    7.793417] [drm:drm_mode_addfb2] [FB:80]
[    8.526979] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:59:eDP-1]
[    8.528570] [drm:intel_dp_detect] [CONNECTOR:59:eDP-1]
[    8.530528] [drm:drm_dp_read_desc] DP sink: OUI 00-60-ad dev-ID
HW-rev 0.0 SW-rev 0.0 quirks 0x0000
[    8.533855] [drm:drm_add_display_info] non_desktop set to 0
[    8.535281] [drm:drm_add_edid_modes] ELD: no CEA Extension found
[    8.536783] [drm:drm_add_display_info] non_desktop set to 0
[    8.538106] [drm:drm_mode_debug_printmodeline] Modeline
61:"2400x1600" 60 252750 2400 2448 2480 2560 1600 1603 1613 1646 0x48
0xa
[    8.541384] [drm:drm_mode_prune_invalid] Not using 2400x1600 mode: CLOCK_HIGH
[    8.543681] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:67:DP-1]
[    8.545797] [drm:intel_dp_detect] [CONNECTOR:67:DP-1]
[    8.547458] [drm:__intel_display_power_get_domain] enabling power well 2
[    8.549411] [drm:intel_display_power_put] disabling power well 2
[    8.551153] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:67:DP-1] disconnected
[    8.553620] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:72:DP-2]
[    8.555315] [drm:intel_dp_detect] [CONNECTOR:72:DP-2]
[    8.556640] [drm:__intel_display_power_get_domain] enabling power well 2
[    8.558208] [drm:intel_display_power_put] disabling power well 2
[    8.559557] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:72:DP-2] disconnected
[   10.528688] [drm:intel_framebuffer_init] src dimensions not correct for NV12
[   10.536191] [drm:drm_internal_framebuffer_create] could not create
framebuffer
[   10.542725] [drm:intel_framebuffer_init] src dimensions not correct for NV12
[   10.551061] [drm:drm_internal_framebuffer_create] could not create
framebuffer
[   10.555787] [drm:intel_framebuffer_init] src dimensions not correct for NV12
[   10.559446] [drm:drm_internal_framebuffer_create] could not create
framebuffer
[   10.564181] [drm:intel_framebuffer_init] src dimensions not correct for NV12
[   10.567801] [drm:drm_internal_framebuffer_create] could not create
framebuffer
[   10.571643] [drm:intel_framebuffer_init] src dimensions not correct for NV12
[   10.575330] [drm:drm_internal_framebuffer_create] could not create
framebuffer
[   10.581734] [drm:drm_mode_addfb2] [FB:61]
[   10.583661] [drm:drm_mode_addfb2] [FB:82]
[   10.588748] [drm:drm_mode_addfb2] [FB:83]
[   10.590674] [drm:drm_mode_addfb2] [FB:84]
[   10.593567] [drm:drm_mode_addfb2] [FB:85]
[   10.595003] [drm:drm_mode_addfb2] [FB:86]
[   10.597997] [drm:drm_mode_addfb2] [FB:87]
[   10.603278] [drm:drm_mode_addfb2] [FB:88]
[   10.609584] [drm:drm_mode_addfb2] [FB:89]
[   10.610966] [drm:drm_mode_addfb2] [FB:90]


Kernel crashes at some later point down here


More information about the Intel-gfx mailing list