Please share your comments.

 

Regards,

 

Yihe

 

  _____  

From: yihe hu [mailto:[email protected]] 
Sent: Friday, June 05, 2009 3:48 PM
To: '[email protected]'
Subject: region-based fbdev development

 

Hi All,

 

We are trying to develop an fbdev driver for multiple region graphics. In
this graphics, besides the normal frame buffer, driver need to allocate
another buffer to hold some aux data from application, the aux data size
could be up to 1MB. The following are the methods we have. 

 

1.      In the fbdev driver, Open an aux fb node for each main fb, the aux
fb will allocate the buffer to hold the aux data from applications.  But the
aux fb will not be used to display like the main fb. 
2.      In the fbdev driver, one single big buffer is allocated, which could
store the frame buffer and/or aux data buffer. Application uses the offset
parameter in the mmap to request frame buffer and aux buffer. 

 

The following table shows the comparison between two proposals. 

 

Please let us know how you think about these. Which is more closer to the
community?

 


#proposal

Pro.

Con.


1

Open aux Fb node

DM6446 use the same concept. Separate the frame buffer and aux buffer in
different place. 

The aux fb is not able to display anything


2 mmap with different offset to choose the buffer.

Simple and straight method. Easily to implement

 Frame buffer and aux buffer in one continuous memory,

 

Regards,

 

Yihe

 

 

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to