public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] Re: [PATCH] video: add cfb console driver for sunxi
Date: Tue, 5 Aug 2014 23:03:24 +0200	[thread overview]
Message-ID: <20140805210324.GF2019@lukather> (raw)
In-Reply-To: <20140804150500.GA13286@skynet.be>

On Mon, Aug 04, 2014 at 05:05:00PM +0200, Luc Verhaegen wrote:
> On Mon, Aug 04, 2014 at 10:39:13AM +0200, Hans de Goede wrote:
> > Hi Luc,
> > 
> > First of all many thanks for your work on this.
> > 
> > ATM I don't have time to do a full review, but I don't expect there
> > to be too many suprises when I do find the time.
> > 
> > Really my only concern is the handover of the reserved memory, etc. to
> > the kernel. We need to get a plan in place for that *before* this can
> > be merged. Note I don't want to raise any artificial barriers here,
> > I would love to see this merged ASAP. But I don't want to paint us
> > in a corner where u-boot having hdmi console support makes it harder
> > to get kms support in the kernel going. I think we can both agree on that.
> >
> > So I really want to see some plan how this will work in place before merging.
> > Note just a plan, I don't expect kernel patches ready to be merged for this,
> > just a good idea / sketch of how all the bits will fit together.
> 
> Memory is not the biggest worry.
> 
> Some kernel code needs to claim clocks if the mode is to cleanly survive 
> the start of the kernel. If not, there is no coming back until a proper 
> display driver runs. If the simplefb driver claims these clocks, then 
> the simplefb driver also must release these clocks, and this driver 
> should then never be started again, so it should set the simplefb dt 
> node status to "disabled".

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.

But once the KMS driver gone, I'd just expect simplefb to go away.

-- 
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: <http://lists.denx.de/pipermail/u-boot/attachments/20140805/f83a7c6e/attachment.pgp>

  parent reply	other threads:[~2014-08-05 21:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02 16:14 [U-Boot] [PATCH] video: add cfb console driver for sunxi Luc Verhaegen
2014-08-04  8:39 ` Hans de Goede
2014-08-04 15:05   ` Luc Verhaegen
2014-08-04 15:31     ` [U-Boot] [linux-sunxi] " Henrik Nordström
2014-08-04 16:53       ` Michal Suchanek
2014-08-04 21:26         ` Henrik Nordström
2014-08-04 17:28       ` Luc Verhaegen
2014-08-04 22:10         ` Henrik Nordström
2014-08-05 20:55           ` Maxime Ripard
2014-08-05 21:03     ` Maxime Ripard [this message]
2014-08-05 21:37       ` Michal Suchanek
2014-08-06  7:24         ` [U-Boot] [linux-sunxi] " Koen Kooi
2014-08-06 11:10           ` Hans de Goede
2014-08-06 12:21         ` [U-Boot] [linux-sunxi] " Maxime Ripard
2014-08-05 11:56 ` [U-Boot] " Hans de Goede
2014-08-05 20:47   ` [U-Boot] [linux-sunxi] " Maxime Ripard
2014-08-06 11:40   ` [U-Boot] " Luc Verhaegen
2014-08-07  9:28     ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140805210324.GF2019@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox