On 03/09/13 03:26, Diego Sueiro wrote:
> Folks,
>
> I solved this.
> On wm8750-apc8750.dts I've put:
>
> timing0: 640x480 {
> clock-frequency = <25000000>;
> hactive = <640>;
> vactive = <480>;
> hfront-porch = <24>;
> hback-porch = <40>;
> hsync-len = <96>;
> vback-porch = <32>;
> vfront-porch = <11>;
> vsync-len = <2>;
> };
>
>
> But the vertical resolution is wrong. The image is not centered and is
> shifted.
> Here is the "fbset -i" output for kernel 3.10:
>
> mode "640x480-60"
> # D: 25.000 MHz, H: 31.250 kHz, V: 59.524 Hz
> geometry 640 480 640 *960* 16
> timings 40000 40 24 32 11 96 2
> rgba 5/11,6/5,5/0,0/0
>
> endmode
>
>
> And for kernel 2.6.31 (which is working fine) this is the "fbset -i" output:
>
> mode "640x480-60"
> # D: 25.173 MHz, H: 31.466 kHz, V: 59.936 Hz
> geometry 640 480 640 *480* 16
> timings 39725 40 24 32 11 96 2
> rgba 5/11,6/5,5/0,0/0
> endmode
>
> What can I do to make geometry equals to "geometry 640 480 640 480 16"?
>
>
>
> Abra�os,
> Engenheiro de Controle e Automa��o
> UNIVERSIDADE FEDERAL DE ITAJUB�
The first thing I notice is that you aren't requesting the same mode
that you said works on 2.6.31, so I wouldn't expect it to work correctly.
timing0: 640x480 {
clock-frequency = <25175000>;
hactive = <640>;
vactive = <480>;
hfront-porch = <24>;
hback-porch = <40>;
hsync-len = <96>;
vback-porch = <32>;
vfront-porch = <11>;
vsync-len = <2>;
};
Also, I assume you are getting y=960 because of the double-buffered
framebuffer.
Regards
Tony P