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.

PROCESSOR-SDK-AM62A: How to set different display resolution?

Part Number: PROCESSOR-SDK-AM62A
Other Parts Discussed in Thread: SK-AM62A-LP

Tool/software:

Hi,

I am using SK-AM62A-LP board.

I want to change the resolution of my display from 1920x1080 to 1280x720.
Here is my mode information of display

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
root@am62axx-evm:~# modetest -M tidss
Encoders:
id crtc type possible crtcs possible clones
39 38 none 0x00000001 0x00000001
Connectors:
id encoder status name size (mm) modes encoders
40 39 connected HDMI-A-1 1150x650 21 39
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
#0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
#1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
#2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
#3 1920x1080 30.00 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
#4 1920x1080 29.97 1920 2008 2052 2200 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver
#5 1920x1080 24.00 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver
#6 1920x1080 23.98 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver
#7 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#8 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
#9 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#10 1280x720 30.00 1280 3040 3080 3300 720 725 730 750 74250 flags: phsync, pvsync; type: driver
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

How can i do that? Is there any reference for that?

  • Hi,

    Could you please explain your usecase? Also, please refer to the following: software-dl.ti.com/.../DSS7.html

    Regards,
    Krunal

  • HI Krunal,

    Could you please explain your usecase?

    I have a custom hardware with DPI -> ADV7511 HDMI Transmitter -> MICRO HDMI port

    In the custom hardware, even though the connected display can support up to 1920x1080, CRTC is showing 1024x768 as the display's resolution. Here is the output:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    root@am62axx-evm:~# kmsprint
    Connector 0 (40) HDMI-A-1 (connected)
    Encoder 0 (39) NONE
    Crtc 0 (38) 1024x768@60.00 65.000 1024/24/136/160/- 768/3/6/29/- 60 (60.00) 0xa 0x40
    Plane 0 (31) fb-id: 48 (crtcs: 0) 0,0 1024x768 -> 0,0 1024x768 (AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 XR15 XB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12)
    FB 48 1024x768
    root@am62axx-evm:~# modetest -M tidss
    Encoders:
    id crtc type possible crtcs possible clones
    39 38 none 0x00000001 0x00000001
    Connectors:
    id encoder status name size (mm) modes encoders
    40 39 connected HDMI-A-1 480x270 30 39
    modes:
    index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
    #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
    #1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
    #2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
    #3 1680x1050 59.88 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; type: driver
    #4 1600x900 60.00 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    The evaluation board is negotiating to the highest resolution. So first I am trying to change lower resolution in evaluation board. If I can acheive changing resolution in evaluation board, I can try the same approach in my custom board. I am not getting proper way for changing resolution.

  • Hi Sathiya,

    You can change display resolution using the following:

     - For non-weston application, at U-Boot prompt do the following:   

    Fullscreen
    1
    setenv optargs video=HDMI-A-1:1024x768
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

     - For weston application, add the HDMI-A configuration to /etc/xdg/weston/weston.ini in a new “output” section, as shown below:   

    Fullscreen
    1
    2
    3
    [output]
    name=HDMI-A-1
    mode=1024x768
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards

    Divyansh

  • Hi Diyansh,

    I am looking for runtime change.

  • Hi Sathiya,

    For runtime change, you may want to do it dynamically from userspace-level framework like Qt.
    We do not have an example to change it via Kernel/DRM in runtime. You may check within the Linux Community for that.

    Regards

    Divyansh