# Re: Suggestions req for new fb driver

- From: Geert Uytterhoeven \<geert@linux-m68k.org\>
- Date: 2006-06-15 08:38:40 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2006/06/13456320
- Thread: https://ratatoskr.run/linux-fbdev/2006/06/13456320/t.md

```text
On Thu, 15 Jun 2006, ankur maheshwari wrote:
> I am a newbie for framebuffer and trying to write framebuffer driver for lancelot vga controller, currently it is used only with Altera Nios (No MMU, softcore) kind of architecture.
> 
> Lancelot ip core provides multi display layers (five layers) functionality, i.e. layer0 we can use for background, layer1 we can use for video, layer2 we can use for text ........
> 
> I need some suggestions in design of frame buffer driver, as we have five display layer functionality in lancelot controller do I need to write five separate framebuffer driver for each layer, or I can take 5 different fb_info and work around with it.
> 
> To my understanding taking 5 fb_info will create fb0 fb1 fb2 fb3 fb4 nodes and graphic library (not decided yet, which one to use) will drive each frame buffer separately. 
> Can some one suggest that my understanding is correct with respect to driving multi display layer, Is there any other way I can handle multi display layer, is there any already existing driver example for same functionality ???

Having 5 fb_info's is indeed the simplest solution.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
```
