Problem with DSS2 - cannot set virtual resolution


I am using the lastest kernel from Tomab
( and I am not able
to change the virtual resolution.

I attach a program which shows the error. FBIOPUT_VSCREENINFO does not
fail but the virt. resolution does not change. FBIOPAN_DISPLAY gives
an error....
I use DSS2 at 640x480:

# fbset
mode "640x480-59"
        # D: 23.500 MHz, H: 29.375 kHz, V: 58.986 Hz
        geometry 640 480 640 480 32
        timings 42553 48 80 3 11 32 4
        accel false
        rgba 8/16,8/8,8/0,0/0

Any ideas?

pan.c (1.77 KB)


with a lot of help from Tomba I could solve this problem. One has to
increase the memory with OMAPFB_QUERY_MEM. Before that the plane has
to disabled and after the of course enabled again.