Other Parts Discussed in Thread: AM3352, DA8XX
Hi,
My client is using AM3352 SDK6 in their current project. The LCD resolutions are 800x480 and work just fine. Below is the output of fbset.
smarct335x login: root
root@smarct335x:~# fbset
mode "800x480-60"
# D: 33.333 MHz, H: 31.566 kHz, V: 60.125 Hz
geometry 800 480 800 960 32
timings 30000 86 42 33 10 128 2
rgba 8/16,8/8,8/0,8/24
endmode
Now there is a new project that requires a 1024x600 panel. We added a new mode under /etc/fb.modes as the followings.
mode "1024x600-60"
# D: 65.00 MHz, H: 48.363 kHz, V: 60.00 Hz
geometry 1024 600 1024 1200 32
timings 20000 160 24 22 1 136 2
hsync high
vsync high
endmode
However, when fbset, the output is somewhat not as expected (Please note the red mark).
root@smarct335x:~# fbset 1024x600-60
root@smarct335x:~# fbset
mode "1024x600-60"
# D: 50.000 MHz, H: 37.202 kHz, V: 59.524 Hz
geometry 1024 600 1024 750 32
timings 20000 160 24 22 1 136 2
hsync high
vsync high
accel true
rgba 8/16,8/8,8/0,8/24
endmode
root@smarct335x:~#
If I change the color depth to 16, I can get the expected results.
root@smarct335x:~# fbset 1024x600-60
root@smarct335x:~# fbset
mode "1024x600-60"
# D: 50.000 MHz, H: 37.202 kHz, V: 59.524 Hz
geometry 1024 600 1024 1200 16
timings 20000 160 24 22 1 136 2
hsync high
vsync high
accel true
rgba 5/11,6/5,5/0,0/0
endmode
root@smarct335x:~#
I thought it might be the size of the frame buffer is not big enough. I modified the kernel defconfig
FB_DA8XX_CONSISTENT_DMA_SIZE from 4MB to 6MB and to 8MB, but all got the same results.
Could anyone tell me why?