Re[2]: [PATCH V2] video: implement a simple framebuffer driver

Alexander Shiyan shc_work at mail.ru
Tue Apr 30 10:38:37 EDT 2013


> On 04/04/2013 05:39 AM, Stephen Warren wrote:
> > A simple frame-buffer describes a raw memory region that may be rendered
> > to, with the assumption that the display hardware has already been set
> > up to scan out from that buffer.
> > 
> > This is useful in cases where a bootloader exists and has set up the
> > display hardware, but a Linux driver doesn't yet exist for the display
> > hardware.
> > 
> > Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
...
> > +	framebuffer {
> > +		compatible = "simple-framebuffer";
> > +		reg = <0x1d385000 (1600 * 1200 * 2)>;
> > +		width = <1600>;
> > +		height = <1200>;
> > +		stride = <(1600 * 2)>;
> > +		format = "r5g6b5";
> > +	};
> 
> I'm not an expert on DT, but I think the point of DT is to describe the
> hardware. This doesn't describe the hardware at all.

On my incompetent opinion, "bpp" parameter can replace size of
framebuffer and "stride". Is not it?

---


More information about the linux-rpi-kernel mailing list