As a potential solution to my previous problem (scaling
1024x768@60Hz), I want to try running the display at 30Hz. I know this
won't display on a standard monitor, but we have hardware that can
double it later to 60Hz, and I figure that by running the refresh at
half-speed, I'll get twice as many clock cycles to do the scaling (by
bumping up the FCK/PCK ratio).
However, the kernel doesn't seem to like 1024x768@30, it gives an
error "Refresh rate not CVT standard" and drops back to 640x480. Does
anyone have an idea how to force it to use the rate even though it is
non-standard? I'm going to poke at the source for a bit, but hints are
appreciated.
The relevant kernel args are:
omapfb.debug=y omapdss.debug=y omapdss.def_disp=dvi omapfb.test=y
omapfb.mode=dvi:1024x768M-24@30 omapfb.vram=0:3M,1:3M,2:3M
and on bootup I see:
OMAPFB: omapfb_init
OMAPFB: omapfb_probe
fbcvt: Refresh rate not CVT standard
fbcvt: 1024x768@30: CVT Name - Not a CVT standard - 0.786 Mega Pixel Image
omapfb omapfb: cannot parse default modes
OMAPFB: create 3 framebuffers
OMAPFB: fb_infos allocated
***allocating 3 frame buffers
***alloc_fbmem_display - fbnum:0, size:3145728l, paddr:0l
***alloc_fbmem_display - fbnum:0, size:3145728l, paddr:0l
***alloc_fbmem - aligned size:3145728l
allocating 3145728 bytes for fb 0
OMAPFB: allocated VRAM paddr 80488000, vaddr c8c00000
***alloc_fbmem_display - fbnum:1, size:3145728l, paddr:0l
***alloc_fbmem_display - fbnum:1, size:3145728l, paddr:0l
***alloc_fbmem - aligned size:3145728l
allocating 3145728 bytes for fb 1
OMAPFB: allocated VRAM paddr 80788000, vaddr c9000000
***alloc_fbmem_display - fbnum:2, size:3145728l, paddr:0l
***alloc_fbmem_display - fbnum:2, size:3145728l, paddr:0l
***alloc_fbmem - aligned size:3145728l
allocating 3145728 bytes for fb 2
OMAPFB: allocated VRAM paddr 80a88000, vaddr c9400000
OMAPFB: region0 phys 80488000 virt c8c00000 size=3145728
OMAPFB: region1 phys 80788000 virt c9000000 size=3145728
OMAPFB: region2 phys 80a88000 virt c9400000 size=3145728
OMAPFB: fbmems allocated
OMAPFB: check_fb_var 0
OMAPFB: max frame size 3145728, line size 2560
OMAPFB: xres = 640, yres = 480, vxres = 640, vyres = 480
OMAPFB: set_fb_fix
OMAPFB: check_fb_var 1
OMAPFB: max frame size 3145728, line size 2560
OMAPFB: xres = 640, yres = 480, vxres = 640, vyres = 480
OMAPFB: set_fb_fix
OMAPFB: check_fb_var 2
OMAPFB: max frame size 3145728, line size 2560
OMAPFB: xres = 640, yres = 480, vxres = 640, vyres = 480
OMAPFB: set_fb_fix
OMAPFB: fb_infos initialized
Brett