Other Parts Discussed in Thread: TWL6030
Hello,
I am working on a custom board based on OMAP4460.I want to rotate the lcd using omapfb.
The LCD resolution is 480x800. It is a 24bit RGB parallel LCD,connected to the DPI of OMAPDSS.
In the bootargs i have added omapfb.tiler=y
I observe the following
echo 1 > /sys/class/graphics/fb0/rotate
[ 50.193420] OMAPFB: check_var(0)
[ 50.193450] OMAPFB: check_fb_var 0
[ 50.193481] OMAPFB: max frame size 33554432, line size 1920
[ 50.193481] OMAPFB: xres = 480, yres = 800, vxres = 480, vyres = 800
[ 50.193511] OMAPFB: set_par(0)
[ 50.193542] OMAPFB: set_fb_fix
[ 50.193542] OMAPFB: apply_changes, fb 0, ovl 0
[ 50.193572] OMAPFB: setup_overlay 0, posx 0, posy 0, outw 800, outh 480
[ 50.193603] OMAPFB: paddr a9a00000, vaddr ca000000
[ 50.193725] omapdss OVERLAY: check_overlay 0: (0,0 800x480 -> 800x480) disp (480x800)
[ 50.193786] omapdss OVERLAY: check_overlay failed 1: 480 < 0 + 800
[ 50.193817] OMAPFB: ovl->setup_overlay_info failed
[ 50.193817] OMAPFB: setup_overlay failed
[ 50.193817] OMAPFB: apply_changes failed
[ 50.193847] detected fb_set_par error, error code: -22
When i rotate the framebuffer by 180 degree, i dont get any error, but the display does not rotate.
Am i missing anything ?
How do i rotate the framebuffer by 90 degree ?
Any pointers would be helpful.
Thank you for your time.
Regards,
Sanjay