[PATCH 3/4] simplefb: disable dt node upon remove
grant.likely at secretlab.ca
Wed Aug 13 13:00:07 PDT 2014
On Wed, Aug 13, 2014 at 8:25 PM, Luc Verhaegen <libv at skynet.be> wrote:
> On Wed, Aug 13, 2014 at 08:14:37PM +0100, Grant Likely wrote:
>> BTW, Is anyone currently using the simple framebuffer for early
>> console? For early console we would want to start using it well before
>> setting up platform devices.
> The code that sets up simplefb for sunxi is primarily for providing a
> console in u-boot (using the ancient cfbconsole infrastructure). From
> what i can tell, the u-boot code for rpi is about showing a splash
> screen (using the much newer lcd infrastructure).
> With u-boot showing a console, it really seemed only a small step to add
> simplefb. And quite a few people in our sunxi community are interested
> in it, primarily for u-boot and early console, and only secondarily as a
> stop-gap for a full driver.
Both of which make sense and should be supported, so I agree we need
to find a solution.
The problem I think comes down to the handoff mechanism. There are a
lot of different video controllers which could all be configured for a
I don't think the "run this only once" test is the right approach.
Sometimes the simple framebuffer will never be torn down. It is
conceivable that a simple framebuffer will get /added/ at runtime with
an overlay, or even rebound to the driver. The simple framebuffer
driver really needs to be explicitly told from outside itself that it
is being taken over since it doesn't actually have the information to
know when a framebuffer becomes invalid. Only the real video driver
can provide that information.
How does the sunxi driver currently take over from the simplefb?
More information about the linux-arm-kernel