This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Changing Resolution in driver code



Hi,

I am using TI8168 processor. I want to test the touch calibration. But while running ts_calibrate the resolution changes to default one(1080p-60). Can anybody please tell me, where I can change the resolution 800x480 in driver code as default. Because here it is selecting the resolution as 1080p-60. But I need 800x480@60 resolution. How can I change the resolution in driver code. Please give me the solution for this. I am struggling for one week with this issue.

Thanks in advance.

Regards, Salih

  • Hi Muhammad,

    Look at these details it might help you

    http://processors.wiki.ti.com/index.php/DM814x_EZ_5.03.01_Software_Developers_Guide#How_to_change_the_display_resolution

    http://processors.wiki.ti.com/index.php/DM81XX_AM38XX_VPSS_Video_Driver_User_Guide

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • HI Anil,

    In this script only four resolutions only there. I need to set resolution 800x480@60 for my display. Also this one I need to set in my u-boot level itself. Can you tell me how can I set my boot arguments in u-boot. Here I am using processor dm816x. I tried like this given below:

    setenv bootargs 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=256M earlyprink vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=off noinitrd notifyk.vpssm3_sva=0xA0000000 ti816xfb.mode=dvo2:800x480@60'

    But it is not taking ti816xfb.mode this argument. How can I set this mode and resolution in u-boot. Please give me the solution for this.

    Thanks in advance

    Regards,

    Salih

  • HI Anil,

    In this script only four resolutions only there. I need to set resolution 800x480@60 for my display. Also this one I need to set in my u-boot level itself. Can you tell me how can I set my boot arguments in u-boot. Here I am using processor dm816x. I tried like this given below:

    setenv bootargs 'console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=256M earlyprink vram=50M ti816xfb.vram=0:16M,1:16M,2:6M ip=off noinitrd notifyk.vpssm3_sva=0xA0000000 ti816xfb.mode=dvo2:800x480@60'

    But it is not taking ti816xfb.mode this argument. How can I set this mode and resolution in u-boot. Please give me the solution for this.

    Thanks in advance

    Regards,

    Salih