From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Menzel Subject: Re: i915.fastboot bug report - not working on coreboot Date: Wed, 27 Aug 2014 08:17:53 +0200 Message-ID: <1409120273.7772.17.camel@users.sourceforge.net> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0522966529==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id C8E6A89F06 for ; Tue, 26 Aug 2014 23:42:32 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Charles Devereaux Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============0522966529== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Fe9Pfxbt8Ik8ltkFTvxf" --=-Fe9Pfxbt8Ik8ltkFTvxf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > The goal is to boot to a console on a debian in less than 2 seconds (kern= el > + 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, jus= t > as if fastboot was ignored. >=20 > Coreboot is starting a grub2 payload, which is in the appropriate vesa > mode, and has option set gfxpayload=3Dkeep to pass it to the kernel. >=20 > 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=3Don nmi_watchdog=3D0 pcie_aspm=3Dforce i915.semaphores=3D1 i915.fas= tboot=3D1 > i915.i915_enable_rc6=3D7 i915.i915_enable_fbc=3D1 i915.lvds_downclock=3D1 > thinkpad_acpi.force_load=3D1 thinkpad_acpi.brightness_enable=3D0 > snd-hda-intel.index=3D0 snd_hda_intel.power_save=3D10 > snd_hda_intel.model=3Dthinkpad snd-hda-intel.probe_mask=3D0x103 > snd-pcsp.index=3D1 btusb.reset=3D1 quiet root=3D/dev/sda1 >=20 > The kernel .config has: > CONFIG_DRM_I915=3Dy > CONFIG_DRM_I915_KMS=3Dy > CONFIG_DRM_I915_FBDEV=3Dy > # CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is not set > # CONFIG_DRM_I915_UMS is not set >=20 > Is it possible to enable some kind of debugging of i915.fastboot to see w= hy > exactly the video is reinitialized? > > I didn't see any module option to do that in drivers/gpu/drm/i915/i915_dr= v.c Reading =C2=BBHow to file a good bug report=C2=AB [1], you should pass drm.debug=3D0x06 to get more debug messages. > Here are the dmesg showing the time spent. >=20 > In a 3.14.16 kernel : > [ 0.498511] [drm] Initialized drm 1.1.0 20060810 > [ 0.498967] [drm] Memory usable by graphics device =3D 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 0000:00:02.0: Invalid ROM contents > [ 0.500384] [drm] failed to find VBIOS tables > [ 0.500449] vgaarb: device changed decodes: > PCI:0000:00:02.0,olddecodes=3Dio+me > m,decodes=3Dio+mem:owns=3Dio+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 0000:00:02.0: fb0: inteldrmfb frame buffer device > [ 1.480978] i915 0000:00:02.0: registered panic notifier > [ 1.480990] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on > minor 0 >=20 >=20 > 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 =3D 256M > [ 0.214650] i915 0000: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 0000:00:02.0: Invalid ROM contents > [ 0.216298] [drm] failed to find VBIOS tables > [ 0.216351] vgaarb: device changed decodes: > PCI:0000:00:02.0,olddecodes=3Dio+mem,decodes=3Dio+mem:owns=3Dio+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 bi= t > 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 0000:00:02.0: fb0: inteldrmfb frame buffer device > [ 1.227000] i915 0000:00:02.0: registered panic notifier > [ 1.227015] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on > minor 0 > [ 1.228648] loop: module loaded > [ 1.279013] [drm] GMBUS [i915 gmbus ssc] timed out, falling back to bi= t > banging on pin 1 > [ 1.398013] [drm] GMBUS [i915 gmbus dpc] timed out, falling back to bi= t > banging on pin 4 > [ 1.513013] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bi= t > banging on pin 5 > [ 1.586013] [drm] GMBUS [i915 gmbus dpd] timed out, falling back to bi= t > 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 --=-Fe9Pfxbt8Ik8ltkFTvxf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlP9eBoACgkQPX1aK2wOHVitegCfX5zRjtiXn3e0GjpMR1qj/TT9 JHkAnRSoK+jNLIXSKoQnQXE8WWRqSO5q =pTR/ -----END PGP SIGNATURE----- --=-Fe9Pfxbt8Ik8ltkFTvxf-- --===============0522966529== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0522966529==--