Thread (269 messages) 269 messages, 18 authors, 2014-11-11

[linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

From: jonsmirl at gmail.com <hidden>
Date: 2014-09-30 12:50:40
Also in: linux-fbdev

On Tue, Sep 30, 2014 at 8:41 AM, Mark Brown [off-list ref] wrote:
On Tue, Sep 30, 2014 at 12:02:50AM +0200, Luc Verhaegen wrote:
quoted
2) Simplefb will only have a single user: the rpi. As the only other
users i can think of, which does not have a full driver and which does
not have clocks automatically disabled, are discrete cards. And they do
not really tend to happen with dt or platform devices.
I thought the goal was for other platforms to use simplefb while waiting
for the real drivers to be loaded (so you can get get console output as
early as possible from a built in driver for example)?
That is an option that might work. Stop trying to make simplefb work
after the system is fully booted. Instead just let it run until the
clocks get shut off. That allows it to go back to being nothing but a
simple pointer to the video buffer.

Then if you want to keep your display going and don't have a KMS
driver written, whip together a device specific framebuffer driver for
your hardware that does the right thing with the clocks, etc. The
device specific framebuffer driver can load later in the boot process
so that it doesn't have to be built into the kernel. This device
specfic driver matches on a compatible string and knows what to do
with all of the device tree info.

-- 
Jon Smirl
jonsmirl at gmail.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help