From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: Flicker-free boot in DRM Date: Sat, 29 Oct 2011 14:54:16 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0014586650==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id A0F779E79C for ; Sat, 29 Oct 2011 14:54:20 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson , "drivers, Intel" List-Id: intel-gfx@lists.freedesktop.org --===============0014586650== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 29 Oct 2011 09:12:13 +0100, Chris Wilson = wrote: > On Sat, 29 Oct 2011 00:05:22 -0700, "Keith Packard" w= rote: > > * Constructing a fake drm_framebuffer is a pain; there are a million > > places that assume all kinds of things about the frame buffer on > > a crtc. >=20 > This is vital as we need to capture the current GATT and stolen allocatio= ns > and preserve them across takeover. Otherwise we end up using the VBIOS > scanout PTEs as our ringbuffer and the actual memory for FBC. Yeah, I'm getting quite the light show at present, could well be due to this. > Best case failure is garbage during takeover; worst case is a GPU hang. Sounds like creating a GEM object that maps stolen pages is not just a good idea, but actually necessary. With that and the mode detection, I think we'll be pretty much set then. The two patches I've got now are sufficient to get from boot through X only using mode_set_base, albeit with the screen transitioning through some pretty crazy looking stuff. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUBTqx2CDYtFsjWk68qAQje0g/+IGZyV4REmOinqRBi7yz7L6+4wu+bDQgk PZem/CItM43du1AvZszAVBYwdcDXMQzufMxuRV/0yZB4nl7bOkEuB+ulzAKC3+dF sk0M7ift93+iidZ8emsukOSBbMpdZY+Cuo28HaFrKLtwJ5nHPk0Sdh+EA3p+uYkU avxkfkCrXsQeis0c3lZ0oaHkSP9aXFcDJRRky08DS6Fd8A4rdQZFpASX3uB8eFI3 ibBdJAfYRTihEritSdCyNAng0OQ3KQ8X9FMWtg9vC/ZjE9oqER6R/5piZgpruUGd 0Lh9fgFVefm/OBlFMaLJzp/UnFDpwqndxBiGsvd5bBMDpndEl3j62EdxQTTkTssS zJYQrhSzC5IEJEqgelBHMFi+vWcKSa9J6hS3a/mXaVEvKviDHhdzYN83OLQCMf/w L+9bX5/gHbJzgPH7IBzB/dy1Sk6XvOXVJPOLxQVPuoNzqALYPUbXNxl2s5u6U99U zpFloBYNk4qLg39SKBxrR9bvQDrD9qPlh/eXug9UoN7nKY251dlgS6BFOFhmrwQ7 bDItm2dami/PvB/sIp8gXwZtftTKHOOsVAqHu31KQRH0qfqlBtnb+vA9aJ6grve7 Mp2gWEIHLUOKosMUKw1DKsPIK8GM+3QOh5Feu9Xu4q3vX3YZWfwMrqn0KzWIdAPy LRVMoDEVRcI= =7lFS -----END PGP SIGNATURE----- --=-=-=-- --===============0014586650== 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 --===============0014586650==--