View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#524
Originally Posted by nowave7 View Post
A question for fanoush, stskeeps, and javispedro,. If there is no source code for the TI 3D driver, how are we to hack it any further? Does this mean that the current omapfb driver will change, and in what way? Excuse my ignorance.
The closed stuff is platform independent and hopefully relatively stable. TI/PowerVR have same code running on other omap2 based devices both with symbian and linux (hopefully).

The tricky part is understand what mbxaccess.ko and omaplcd.ko (main part that needs fixing IMO) is trying to do and adapt it to N810 specific video driver situation which is a bit complex and different from what current omaplcd.ko is expecting. and we have sources for that.

The first thing I would try it to remove everything that touches DISPC (OMAP builtin display controller) registers (vsync flipping code, power management code), IMO our omaplcd.ko implementation should be purely memory based = only giving proper framebuffer memory to rest of powervr code and not touching any hardware directly. It should also not allocate any extra memory if possible (this is what fails now), omapfb already has three allocated planes/buffers, the last one even has space for two 800x480 frames.

Then there should be hook how to schedule display update via current omapfb. Possibly from current omaplcd vsync code (which currently messes with DISPC registers when trying to switch visible buffer with back buffer).

Hopefully that's all for showing MBX output properly.

Then there is mbxaccess which gives access to 3D chip to user space PowerVR libraries. I'm not sure if this one needs to allocate some additional memory too (for textures?) or needs other fixing.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2010-02-23 at 12:26.
 

The Following 7 Users Say Thank You to fanoush For This Useful Post: