Hi,all
I'm porting Android to custom board based on DM8168 processor. I'm using rowboatTI81xxWithMultimediaAcceleration version . After some modification for my board, system boots fine, the default resolution through HDMI is 1920x1080.I changed that initial 1080p resolution to 800x480 for my LCD display by below steps:
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
fbset -fb /dev/graphics/fb0 -g 800 480 800 480 32
echo 1 > /sys/devices/platform/vpss/graphics0/enabled
3.at the end of flie add below commands:
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo triplediscrete,rgb888,0/0/1/1 > /sys/devices/platform/vpss/display1/output
echo 33264,800/210/26/20,480/22/13/10,1 > /sys/devices/platform/vpss/display1/timings
echo 1 > /sys/devices/platform/vpss/display1/enabled
echo 1 > /sys/devices/platform/vpss/graphics0/enabled
after that boot the system, everything works fine, but the starting page is the poor quality compare with the original from HDMI.
Dose any body know how to solve this issue ? I doubt the colour setting may cause the issue but I don't know how to modify, please help me.