[PATCH 3/4] ARM i.MX28 tx28: use a fixed framebuffer address

Marc Reilly marc at cpdesign.com.au
Mon Jan 17 17:49:35 EST 2011


> >  static struct imx_fb_videomode imxfb_mode = {
> >  
> >  	.mode_list = tx28evk_vmodes,
> >  	.mode_cnt = ARRAY_SIZE(tx28evk_vmodes),
> >  	.dotclk_delay = 0,	/* no adaption required */
> >  	.ld_intf_width = STMLCDIF_24BIT,	/* full 24 bit */
> > 
> > +	.fixed_screen = (void *)(0x40000000 + SZ_128M - MAX_FB_SIZE),
> > +	.fixed_screen_size = MAX_FB_SIZE,
> > 
> >  };
> 
> Question only: Any idea how we could make this setup (base address and size
> of the fixed screen) a runtime feature? This would be a nice feature like
> most modern BIOS also have: Make the size of the video memory shared with
> the CPU selectable at runtime.
> 

Purely out of interest, what is the advantage/necessity for having the frame 
buffer at a fixed address?

Cheers
Marc



More information about the barebox mailing list