Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-24 Thread Siarhei Siamashka
On Tuesday 13 January 2009, Frantisek Dufka wrote: Siarhei Siamashka wrote: XV should make a perfect backend for SDL, because it maps fine on SDL API (SDL_SetVideoMode/SDL_Flip/...). In general, XV is a good backend for anything that uses double-buffered or triple-buffered

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Frantisek Dufka
Huang Gao (Gmail) wrote: Dear all Maemo fans: I just noticed that Maemo used a different mechanism in LCD driver from normal FB drivers. It seemed that Maemo does not use the automatic DMA refresh in the driver, which is replaced by an ioctl named OMAPFB_UPDATE_WINDOW, and a

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
...@seznam.cz] 发送时间: 2009年1月13日 16:56 收件人: Huang Gao (Gmail) 抄送: maemo-developers@maemo.org 主题: Re: Does anyone know the mechanism in Nokia's LCD driver? Huang Gao (Gmail) wrote: Dear all Maemo fans: I just noticed that Maemo used a different mechanism in LCD driver from normal FB

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
Hi, On Tue, 2009-01-13 at 17:21 +0800, ext Huang Gao (Gmail) wrote: But I am still wondering why the screen will not flicker if the DMA only refreshes when the data changed. Does Nokia uses something like smart panel? There is an external HW framebuffer between omap and the lcd --

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Siarhei Siamashka
On Tue, Jan 13, 2009 at 10:56 AM, Frantisek Dufka duf...@seznam.cz wrote: BTW, there is kernel ioctl to set automatic refresh and the refresh rate can be tweaked in kernel source but the results are suboptimal. Maybe at least for Nokia 770 it would be possible to use tearsync flag for such

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will refresh itself from this hardware FB by its controller automatically, without

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
On Tue, 2009-01-13 at 12:23 +0200, ext Felipe Contreras wrote: On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
- 发件人: Igor Stoppa [mailto:igor.sto...@nokia.com] 发送时间: 2009年1月13日 17:21 收件人: ext Huang Gao (Gmail) 抄送: 'Frantisek Dufka'; maemo-developers@maemo.org 主题: RE: Does anyone know the mechanism in Nokia's LCD driver? Hi, On Tue, 2009-01-13 at 17:21 +0800, ext Huang Gao (Gmail) wrote: But I am

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Felipe Contreras
On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Siarhei Siamashka
On Tue, Jan 13, 2009 at 12:23 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
know the mechanism in Nokia's LCD driver? Igor Stoppa wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will refresh itself from this hardware FB by its controller automatically

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Simon Pickering
Would the manual mode help to avoid tearing? Yes, and it does help to avoid tearing. At least this works fine for XV extension. But getting tearfree scrolling/panning in GTK applications for example is a bit more challenging. I can provide a more detailed explanation if anybody is

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Frantisek Dufka
Siarhei Siamashka wrote: XV should make a perfect backend for SDL, because it maps fine on SDL API (SDL_SetVideoMode/SDL_Flip/...). In general, XV is a good backend for anything that uses double-buffered or triple-buffered fullscreen/fullwindow blits. It is possible to get ~27.5 frames per

Does anyone know the mechanism in Nokia's LCD driver?

2009-01-12 Thread Huang Gao (Gmail)
Dear all Maemo fans: I just noticed that Maemo used a different mechanism in LCD driver from normal FB drivers. It seemed that Maemo does not use the automatic DMA refresh in the driver, which is replaced by an ioctl named OMAPFB_UPDATE_WINDOW, and a method called TEARSYNC. However, I am