Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-11-01 Thread Charles Devereaux
Hello

(IIRC, there is no VBT  or INT 10H support yet in coreboot native video
init)

Regarding EDID, it's handled from intel_gma_init in
coreboot/src/northbridge/intel/i945/gma.c.
The only thing I see that could be linked to a preferred mode is in
decode_edid from coreboot/src/lib/edid.c :
if (edid[0x18]  0x02) {
printk(BIOS_SPEW, First detailed timing is
preferred timing\n);
has_preferred_timing = 1;
}
(...)
/* detailed timings */
printk(BIOS_SPEW, Detailed timings\n);
has_valid_detailed_blocks = detailed_block(out, edid +
0x36, 0);
if (has_preferred_timing  !did_detailed_timing)
has_preferred_timing = 0; /* not really accurate...
*/

Maybe disabling has_preferred_timing  if there are no did_detailed_timing
is wrong?


I'm sorry but my understanding of coreboot video initialization is too
limited.  Gluglug, could you suggest someone that could help on that issue?
Addressing it will enable i915.fastboot support.

Jesse, if meanwhile you can send me fastboot patch to handle that, I will
be happy to test it and report the result.

(At the moment, even if i915.fastboot fails as reported above, I get some
blinking in Xorg, which is resolved after going back and forth to a text
console)

Thanks
Charles

On Thu, Oct 30, 2014 at 5:34 PM, Jesse Barnes jbar...@virtuousgeek.org
wrote:

 On Thu, 23 Oct 2014 16:44:26 -0400
 Charles Devereaux intel...@guylhem.net wrote:

  [0.529733] [drm:intel_set_config_compute_mode_changes], modes are
  different, full mode set
  [0.529736] [drm:drm_mode_debug_printmodeline], Modeline 0: 0 54167
  1024 1048 1184 1344 768 771 777 806 0x0 0xa
  [0.529740] [drm:drm_mode_debug_printmodeline], Modeline 11:1024x768
  60 65000 1024 1048 1184 1344 768 771 777 806 0x48 0xa

 This looks like the issue.  The BIOS programs a slightly different
 1024x768 mode than what the kernel tries to apply.  Looks like reduced
 vs non-reduced blanking approximately.

 We could adjust the fastboot code to handle that, or change coreboot to
 use the preferred mode from the EDID of the display or make the VBT
 match, which is presumably what the kernel is using.

 --
 Jesse Barnes, Intel Open Source Technology Center

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-10-30 Thread Jesse Barnes
On Thu, 23 Oct 2014 16:44:26 -0400
Charles Devereaux intel...@guylhem.net wrote:

 [0.529733] [drm:intel_set_config_compute_mode_changes], modes are
 different, full mode set
 [0.529736] [drm:drm_mode_debug_printmodeline], Modeline 0: 0 54167
 1024 1048 1184 1344 768 771 777 806 0x0 0xa
 [0.529740] [drm:drm_mode_debug_printmodeline], Modeline 11:1024x768
 60 65000 1024 1048 1184 1344 768 771 777 806 0x48 0xa

This looks like the issue.  The BIOS programs a slightly different
1024x768 mode than what the kernel tries to apply.  Looks like reduced
vs non-reduced blanking approximately.

We could adjust the fastboot code to handle that, or change coreboot to
use the preferred mode from the EDID of the display or make the VBT
match, which is presumably what the kernel is using.

-- 
Jesse Barnes, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-10-23 Thread Charles Devereaux
Actually, I just realized today I had booted the wrong kernel ()

My mistake, sorry about that.

Here is the right drm.debug output, after recompiling (vanilla kernel).

Options :
nohz=on nmi_watchdog=0 pcie=aspm i915.semaphores=1 i915.i915_enable_rc6=1
i915.i915_enable_fbc=1 i915.lvds_downclock=1 thinkpad_acpi.force_load=1
thinkpad_acpi.brightness_enable=0 snd-hda-intel.index=0
snd_hda_intel.power_save=10 snd_hda_intel.model=thinkpad
snd-hda-intel.probe_mask=0x103 snd-pcsp.index=1
btusb.reset=1 i915.fastboot=1 drm.debug=6 quiet

Linux thinkpad 3.14.16-x60 #14 SMP PREEMPT Thu Oct 23 15:57:12 EDT 2014
i686 GNU/Linux

[0.220715] Linux agpgart interface v0.103
[0.220767] agpgart-intel :00:00.0: Intel 945GM Chipset
[0.220778] agpgart-intel :00:00.0: detected gtt size: 262144K
total, 262144K mappable
[0.221361] agpgart-intel :00:00.0: detected 8192K stolen memory
[0.221671] agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000
[0.221736] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180
seconds, margin is 60 seconds).
[0.221738] Hangcheck: Using getrawmonotonic().
[0.221760] [drm] Initialized drm 1.1.0 20060810
[0.222647] [drm:i915_dump_device_info], i915 device info: gen=3,
pciid=0x27a2
flags=is_mobile,is_i945gm,has_fbc,has_hotplug,cursor_needs_physical,has_overlay,overlay_needs_physical,supports_tv,
[0.222663] [drm:intel_detect_pch], No PCH found.
[0.222667] [drm] Memory usable by graphics device = 256M
[0.222669] [drm:i915_gem_gtt_init], GMADR size = 256M
[0.222672] [drm:i915_gem_gtt_init], GTT stolen size = 8M
[0.224511] [drm:intel_opregion_setup], graphic opregion physical addr:
0x0
[0.224515] [drm:intel_opregion_setup], ACPI OpRegion not supported!
[0.224542] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[0.224544] [drm] Driver supports precise vblank timestamp query.
[0.224548] [drm:init_vbt_defaults], Set default to SSC at 10 kHz
[0.224554] i915 :00:02.0: Invalid ROM contents
[0.224561] [drm:intel_parse_bios], VBT signature missing
[0.224563] [drm] failed to find VBIOS tables
[0.224573] [drm:intel_dsm_pci_probe], no _DSM method for intel device
[0.224584] [drm:i915_stolen_to_physical], GTT within stolen memory at
0xcf80-0xcf83
[0.224587] [drm:i915_stolen_to_physical], Stolen memory adjusted to
0xcf84-0xcfff
[0.224591] [drm:i915_gem_init_stolen], found 8126464 bytes of stolen
memory at cf84
[0.224633] [drm:intel_modeset_init], 2 display pipes available.
[0.224638] [drm:intel_crtc_init], swapping pipes  planes for FBC
[0.224642] [drm:intel_modeset_init], pipe A sprite A init failed: -19
[0.224646] [drm:intel_crtc_init], swapping pipes  planes for FBC
[0.224649] [drm:intel_modeset_init], pipe B sprite B init failed: -19
[0.224655] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[0.236655] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.236664] ACPI: Battery Slot [BAT0] (battery present)
[0.236796] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.236804] ACPI: Battery Slot [BAT1] (battery absent)
[0.258545] [drm:intel_lvds_init], using preferred mode from EDID:
[0.258551] [drm:drm_mode_debug_printmodeline], Modeline 8:1024x768 60
65000 1024 1048 1184 1344 768 771 777 806 0x48 0xa
[0.258556] [drm:intel_lvds_init], detected single-link lvds
configuration
[0.258599] [drm:intel_panel_setup_backlight], failed to setup backlight
for connector LVDS-1
[0.258705] [drm:i915_gem_setup_global_gtt], clearing unused GTT space:
[0, 000]
[0.261103] [drm:i915_gem_object_create_stolen], creating stolen object:
size=2
[0.261108] [drm:i915_pages_create_for_stolen], offset=0x0, size=131072
[0.261242] [drm] initialized overlay support
[0.261248] [drm:intel_modeset_readout_hw_state], [CRTC:3] hw state
readout: disabled
[0.261256] [drm:intel_modeset_readout_hw_state], [CRTC:4] hw state
readout: enabled
[0.261261] [drm:intel_modeset_readout_hw_state], [ENCODER:6:LVDS-6] hw
state readout: enabled, pipe B
[0.261265] [drm:intel_modeset_readout_hw_state], [ENCODER:15:DAC-15] hw
state readout: disabled, pipe A
[0.261269] [drm:intel_modeset_readout_hw_state], [ENCODER:17:TV-17] hw
state readout: disabled, pipe A
[0.261273] [drm:intel_modeset_readout_hw_state], [CONNECTOR:5:LVDS-1]
hw state readout: enabled
[0.261276] [drm:intel_modeset_readout_hw_state], [CONNECTOR:14:VGA-1]
hw state readout: disabled
[0.261280] [drm:intel_modeset_readout_hw_state],
[CONNECTOR:16:SVIDEO-1] hw state readout: disabled
[0.261283] [drm:intel_modeset_setup_hw_state], [CRTC:4] found active
mode:
[0.261287] [drm:drm_mode_debug_printmodeline], Modeline 0: 0 54167
1024 1048 1184 1344 768 771 777 806 0x0 0xa
[

Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-10-22 Thread Charles Devereaux
Hello

Sorry for the late reply.

On Thu, Sep 11, 2014 at 2:36 PM, Jesse Barnes jbar...@virtuousgeek.org
wrote:

 Your config looks ok, but it sounds like the i915 driver may be doing a
 full mode set.


The flickering suggested me it did.


 Doing a drm.debug=6 with fastboot enabled should give
 us clues about why in the dmesg.


Here is the result of the exact same kernel, run in the exact same
conditions (same coreboot version, etc). I'm sorry but I'm not familiar
enough with video issues to understand why it does a full mode set (it
could be failed to find VBIOS tables / no _DSM method for intel device)

Let me know if you need anything else.

[0.213810] Linux agpgart interface v0.103
[0.213860] agpgart-intel :00:00.0: Intel 945GM Chipset
[0.213902] agpgart-intel :00:00.0: detected gtt size: 262144K
total, 262144K mappable
[0.214477] agpgart-intel :00:00.0: detected 8192K stolen memory
[0.214829] agpgart-intel :00:00.0: AGP aperture is 256M @ 0xd000
[0.214870] Hangcheck: starting hangcheck timer 0.9.1 (tick is 180
seconds, margin is 60 seconds).
[0.214872] Hangcheck: Using getrawmonotonic().
[0.214899] [drm] Initialized drm 1.1.0 20060810
[0.215413] [drm:i915_dump_device_info], i915 device info: gen=3,
pciid=0x27a2
flags=is_mobile,is_i945gm,has_hotplug,cursor_needs_physical,has_overlay,overlay_needs_physical,supports_tv,
[0.215605] [drm] Memory usable by graphics device = 256M
[0.215608] [drm:i915_gem_gtt_init], GMADR size = 256M
[0.215611] [drm:i915_gem_gtt_init], GTT stolen size = 8M
[0.215618] i915 :00:02.0: setting latency timer to 64
[0.217121] [drm:intel_opregion_setup], graphic opregion physical addr:
0x0
[0.217127] [drm:intel_opregion_setup], ACPI OpRegion not supported!
[0.217155] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[0.217178] [drm] Driver supports precise vblank timestamp query.
[0.217180] [drm:init_vbt_defaults], Set default to SSC at 100MHz
[0.217188] i915 :00:02.0: Invalid ROM contents
[0.217194] [drm:intel_parse_bios], VBT signature missing
[0.217216] [drm] failed to find VBIOS tables
[0.217271] [drm:intel_dsm_pci_probe], no _DSM method for intel device
[0.217311] [drm:intel_modeset_init], 2 display pipes available.
[0.217317] [drm:intel_crtc_init], swapping pipes  planes for FBC
[0.217320] [drm:intel_modeset_init], pipe 0 plane 0 init failed: -19
[0.217325] [drm:intel_crtc_init], swapping pipes  planes for FBC
[0.217327] [drm:intel_modeset_init], pipe 1 plane 0 init failed: -19
[0.217330] [drm:intel_pch_pll_init], No PCH PLLs on this hardware,
skipping initialisation
[0.217336] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[0.226977] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.226987] ACPI: Battery Slot [BAT0] (battery present)
[0.227106] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.227115] ACPI: Battery Slot [BAT1] (battery absent)
[0.268013] [drm] GMBUS [i915 gmbus panel] timed out, falling back to
bit banging on pin 3
[0.296144] [drm:intel_lvds_init], using preferred mode from EDID:
[0.296147] [drm:drm_mode_debug_printmodeline], Modeline 8:1024x768 60
65000 1024 1048 1184 1344 768 771 777 806 0x48 0xa
[0.296155] [drm:intel_lvds_init], detected single-link lvds
configuration
[0.296192] [drm:intel_panel_get_backlight], get backlight PWM = 1
[0.296195] [drm:intel_panel_setup_backlight], Failed to get maximum
backlight value
[0.296268] [drm:i915_gem_setup_global_gtt], clearing unused GTT space:
[0, 000]
[0.298950] [drm] initialized overlay support
[0.298954] [drm:intel_modeset_setup_hw_state], [CRTC:3] hw state
readout: disabled
[0.298957] [drm:intel_modeset_setup_hw_state], [CRTC:4] hw state
readout: enabled
[0.298961] [drm:intel_modeset_setup_hw_state], [ENCODER:6:LVDS-6] hw
state readout: enabled, pipe=1
[0.298964] [drm:intel_modeset_setup_hw_state], [ENCODER:15:DAC-15] hw
state readout: disabled, pipe=0
[0.298968] [drm:intel_modeset_setup_hw_state], [ENCODER:17:TV-17] hw
state readout: disabled, pipe=0
[0.298972] [drm:intel_modeset_setup_hw_state], [CONNECTOR:5:LVDS-1] hw
state readout: enabled
[0.298976] [drm:intel_modeset_setup_hw_state], [CONNECTOR:14:VGA-1] hw
state readout: disabled
[0.298979] [drm:intel_modeset_setup_hw_state], [CONNECTOR:16:SVIDEO-1]
hw state readout: disabled
[0.298986] [drm:intel_connector_check_state], [CONNECTOR:5:LVDS-1]
[0.298990] [drm:intel_modeset_check_state], [ENCODER:6:LVDS-6]
[0.298993] [drm:intel_modeset_check_state], [ENCODER:15:DAC-15]
[0.298996] [drm:intel_modeset_check_state], [ENCODER:17:TV-17]
[0.298999] [drm:intel_modeset_check_state], [CRTC:3]
[0.299011] [drm:intel_modeset_check_state], [CRTC:4]
[

Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-09-11 Thread Jesse Barnes
On Tue, 26 Aug 2014 13:09:54 -0400
Charles Devereaux intel...@guylhem.net wrote:

 Hello
 
 I'm trying to use i915.fastboot on a Thinkpad X60t. The bios has been
 replaced by coreboot, which supports native video init.
 
 The goal is to boot to a console on a debian in less than 2 seconds
 (kernel
 + systemd), systemd is just fine in 0.6s but the kernel takes a long
 time, with apparently 1 full second spend on the video mode
 initialization, just as if fastboot was ignored.
 
 Coreboot is starting a grub2 payload, which is in the appropriate vesa
 mode, and has option set gfxpayload=keep to pass it to the kernel.
 
 The 3.14.16 kernel start in the appropriate vesa mode, but there is
 some flickering at one time, which indicates the drivers tries to
 reinitialize the video card, before returning to this same mode.

Your config looks ok, but it sounds like the i915 driver may be doing a
full mode set.  Doing a drm.debug=6 with fastboot enabled should give
us clues about why in the dmesg.

Jesse
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-08-27 Thread Paul Menzel
Dear Charles,


thanks a lot for following up on the intel-gfx mailing list.


Am Dienstag, den 26.08.2014, 13:09 -0400 schrieb Charles Devereaux:

 I'm trying to use i915.fastboot on a Thinkpad X60t. The bios has been
 replaced by coreboot, which supports native video init.
 
 The goal is to boot to a console on a debian in less than 2 seconds (kernel
 + systemd), systemd is just fine in 0.6s but the kernel takes a long time,
 with apparently 1 full second spend on the video mode initialization, just
 as if fastboot was ignored.
 
 Coreboot is starting a grub2 payload, which is in the appropriate vesa
 mode, and has option set gfxpayload=keep to pass it to the kernel.
 
 The 3.14.16 kernel start in the appropriate vesa mode, but there is some
 flickering at one time, which indicates the drivers tries to reinitialize
 the video card, before returning to this same mode.

By the way, does it work with the vendor VGA BIOS?

 The kernel arguments are:
 nohz=on nmi_watchdog=0 pcie_aspm=force i915.semaphores=1 i915.fastboot=1
 i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1
 thinkpad_acpi.force_load=1 thinkpad_acpi.brightness_enable=0
 snd-hda-intel.index=0 snd_hda_intel.power_save=10
 snd_hda_intel.model=thinkpad snd-hda-intel.probe_mask=0x103
 snd-pcsp.index=1 btusb.reset=1 quiet root=/dev/sda1
 
 The kernel .config has:
 CONFIG_DRM_I915=y
 CONFIG_DRM_I915_KMS=y
 CONFIG_DRM_I915_FBDEV=y
 # CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
 # CONFIG_DRM_I915_UMS is not set
 
 Is it possible to enable some kind of debugging of i915.fastboot to see why
 exactly the video is reinitialized?

 I didn't see any module option to do that in drivers/gpu/drm/i915/i915_drv.c

Reading »How to file a good bug report« [1], you should pass
drm.debug=0x06 to get more debug messages.

 Here are the dmesg showing the time spent.
 
 In a 3.14.16 kernel :
 [0.498511] [drm] Initialized drm 1.1.0 20060810
 [0.498967] [drm] Memory usable by graphics device = 256M
 [0.500365] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [0.500370] [drm] Driver supports precise vblank timestamp query.
 [0.500377] i915 :00:02.0: Invalid ROM contents
 [0.500384] [drm] failed to find VBIOS tables
 [0.500449] vgaarb: device changed decodes:
 PCI::00:02.0,olddecodes=io+me
 m,decodes=io+mem:owns=io+mem
 [0.532092] [drm] initialized overlay support
 [0.799483] fbcon: inteldrmfb (fb0) is primary device
 [1.452009] Console: switching to colour frame buffer device 128x48
 [1.480975] i915 :00:02.0: fb0: inteldrmfb frame buffer device
 [1.480978] i915 :00:02.0: registered panic notifier
 [1.480990] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on
 minor 0
 
 
 In a 3.10.45 kernel: (no fastboot support)
 [0.213937] [drm] Initialized drm 1.1.0 20060810
 [0.214643] [drm] Memory usable by graphics device = 256M
 [0.214650] i915 :00:02.0: setting latency timer to 64
 [0.216252] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
 [0.216284] [drm] Driver supports precise vblank timestamp query.
 [0.216291] i915 :00:02.0: Invalid ROM contents
 [0.216298] [drm] failed to find VBIOS tables
 [0.216351] vgaarb: device changed decodes:
 PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
 [0.226207] ACPI: Deprecated procfs I/F for battery is loaded, please
 retry with CONFIG_ACPI_PROCFS_POWER cleared
 [0.226218] ACPI: Battery Slot [BAT0] (battery present)
 [0.226378] ACPI: Deprecated procfs I/F for battery is loaded, please
 retry with CONFIG_ACPI_PROCFS_POWER cleared
 [0.226386] ACPI: Battery Slot [BAT1] (battery absent)
 [0.267013] [drm] GMBUS [i915 gmbus panel] timed out, falling back to
 bit banging on pin 3
 [0.297928] [drm] initialized overlay support
 [0.360013] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit
 banging on pin 2
 [0.546070] fbcon: inteldrmfb (fb0) is primary device
 [1.198025] Console: switching to colour frame buffer device 128x48
 [1.226996] i915 :00:02.0: fb0: inteldrmfb frame buffer device
 [1.227000] i915 :00:02.0: registered panic notifier
 [1.227015] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on
 minor 0
 [1.228648] loop: module loaded
 [1.279013] [drm] GMBUS [i915 gmbus ssc] timed out, falling back to bit
 banging on pin 1
 [1.398013] [drm] GMBUS [i915 gmbus dpc] timed out, falling back to bit
 banging on pin 4
 [1.513013] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit
 banging on pin 5
 [1.586013] [drm] GMBUS [i915 gmbus dpd] timed out, falling back to bit
 banging on pin 6

Are you able to try a newer/the latest Linux kernel?


Thanks,

Paul


[1] https://01.org/linuxgraphics/documentation/how-report-bugs


signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list

Re: [Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-08-27 Thread Jani Nikula
On Tue, 26 Aug 2014, Charles Devereaux intel...@guylhem.net wrote:
 The kernel arguments are:
 i915.semaphores=1 i915.i915_enable_rc6=7 i915.i915_enable_fbc=1

Side note #1, these parameters are for testing and debugging only, and
it is recommended to stick to the platform specific defaults. We'll soon
start tainting the kernel when these parameters have been set.

Side note #2, starting from v3.15 the extra i915_ prefix has been
removed from i915.i915_enable_rc6 and i915.i915_enable_fbc parameters to
make them i915.enable_rc6 and i915.enable_fbc.


BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] i915.fastboot bug report - not working on coreboot

2014-08-26 Thread Charles Devereaux
Hello

I'm trying to use i915.fastboot on a Thinkpad X60t. The bios has been
replaced by coreboot, which supports native video init.

The goal is to boot to a console on a debian in less than 2 seconds (kernel
+ systemd), systemd is just fine in 0.6s but the kernel takes a long time,
with apparently 1 full second spend on the video mode initialization, just
as if fastboot was ignored.

Coreboot is starting a grub2 payload, which is in the appropriate vesa
mode, and has option set gfxpayload=keep to pass it to the kernel.

The 3.14.16 kernel start in the appropriate vesa mode, but there is some
flickering at one time, which indicates the drivers tries to reinitialize
the video card, before returning to this same mode.

The kernel arguments are:
nohz=on nmi_watchdog=0 pcie_aspm=force i915.semaphores=1 i915.fastboot=1
i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1
thinkpad_acpi.force_load=1 thinkpad_acpi.brightness_enable=0
snd-hda-intel.index=0 snd_hda_intel.power_save=10
snd_hda_intel.model=thinkpad snd-hda-intel.probe_mask=0x103
snd-pcsp.index=1 btusb.reset=1 quiet root=/dev/sda1

The kernel .config has:
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_DRM_I915_FBDEV=y
# CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set
# CONFIG_DRM_I915_UMS is not set

Is it possible to enable some kind of debugging of i915.fastboot to see why
exactly the video is reinitialized?

I didn't see any module option to do that in drivers/gpu/drm/i915/i915_drv.c

Here are the dmesg showing the time spent.

In a 3.14.16 kernel :
[0.498511] [drm] Initialized drm 1.1.0 20060810
[0.498967] [drm] Memory usable by graphics device = 256M
[0.500365] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[0.500370] [drm] Driver supports precise vblank timestamp query.
[0.500377] i915 :00:02.0: Invalid ROM contents
[0.500384] [drm] failed to find VBIOS tables
[0.500449] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+me
m,decodes=io+mem:owns=io+mem
[0.532092] [drm] initialized overlay support
[0.799483] fbcon: inteldrmfb (fb0) is primary device
[1.452009] Console: switching to colour frame buffer device 128x48
[1.480975] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[1.480978] i915 :00:02.0: registered panic notifier
[1.480990] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on
minor 0


In a 3.10.45 kernel: (no fastboot support)
[0.213937] [drm] Initialized drm 1.1.0 20060810
[0.214643] [drm] Memory usable by graphics device = 256M
[0.214650] i915 :00:02.0: setting latency timer to 64
[0.216252] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[0.216284] [drm] Driver supports precise vblank timestamp query.
[0.216291] i915 :00:02.0: Invalid ROM contents
[0.216298] [drm] failed to find VBIOS tables
[0.216351] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[0.226207] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.226218] ACPI: Battery Slot [BAT0] (battery present)
[0.226378] ACPI: Deprecated procfs I/F for battery is loaded, please
retry with CONFIG_ACPI_PROCFS_POWER cleared
[0.226386] ACPI: Battery Slot [BAT1] (battery absent)
[0.267013] [drm] GMBUS [i915 gmbus panel] timed out, falling back to
bit banging on pin 3
[0.297928] [drm] initialized overlay support
[0.360013] [drm] GMBUS [i915 gmbus vga] timed out, falling back to bit
banging on pin 2
[0.546070] fbcon: inteldrmfb (fb0) is primary device
[1.198025] Console: switching to colour frame buffer device 128x48
[1.226996] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[1.227000] i915 :00:02.0: registered panic notifier
[1.227015] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on
minor 0
[1.228648] loop: module loaded
[1.279013] [drm] GMBUS [i915 gmbus ssc] timed out, falling back to bit
banging on pin 1
[1.398013] [drm] GMBUS [i915 gmbus dpc] timed out, falling back to bit
banging on pin 4
[1.513013] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit
banging on pin 5
[1.586013] [drm] GMBUS [i915 gmbus dpd] timed out, falling back to bit
banging on pin 6

Thanks
Charles
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx