From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Wed, 6 Aug 2014 14:21:02 +0200 Subject: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi In-Reply-To: References: <1406996097-23167-1-git-send-email-libv@skynet.be> <53DF46B1.60107@redhat.com> <20140804150500.GA13286@skynet.be> <20140805210324.GF2019@lukather> Message-ID: <20140806122102.GI2019@lukather> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 05, 2014 at 11:37:11PM +0200, Michal Suchanek wrote: > > I'm probably missing a bit of context, but one thing I still don't get > > is why you're taking into account the simplefb <-> KMS handover. It's > > a case that shouldn't exist. > > > > By essence, simplefb has never been meant for that. It's been meant to > > have a temporary solution until a full-fledged driver is merged in the > > kernel. Which is exactly the case we're into. > > It's a permanent temporary solution. Same as offb/vesafb/uefi and > other unaccelerated drivers. It will be needed for platforms on which > KMS is not (yet) fully supported or happens to break. Yeah, I get that part, but there's no handover in this case. > Also how else do you express the fact that u-boot has left the display > enabled other than generating the simplefb DT node? Just like timers, UARTs, i2c, ethernet, and any other controller that might be used by the OS: the OS should deal with it. We don't use a simplefb-equivalent for the PMIC, or for the GMAC, I don't see why we should use one here to deal with that issue. What resources are you afraid to waste here? clocks are reclaimed automatically, memory is not, but simplefb won't help, see our discussion on the othre thread about this patch. > Note that the KMS driver will be probably unsuitable for early console > while the simplefb driver can just write into the framebuffer set up > by u-boot. They both step in at the same time. simplefb is not a solution for that either. -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: