# purposed changed to framebuffer\_alloc

- List: linux-fbdev
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2005/06/13455142/t

## purposed changed to framebuffer\_alloc

- From: James Simmons \<hidden\>
- Date: 2005-06-28 00:07:18 
- Message: https://ratatoskr.run/linux-fbdev/2005/06/13455142.md

```text

Hi!

	I like to purpose a change to framebuffer_alloc to support card 
with more than one framebuffer on board. Currently we have

struct fb_info *framebuffers_alloc(size_t size, struct device *dev)

I purpose to change it to 

struct fb_info **framebuffers_alloc(int num_framebuffers, size_t size, struct device *dev)

I was also thinking of creating a list of struct fb_info. The reason for 
this is so framebuffers_alloc can allocate the memory we need for all 
framebuffer devices and the hardware par. Then we can fill in the par and 
dev for struct fb_info for each framebuffer device in one call.

What do you think?




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
```
