Genio 1200-demo

This page provides board-specific information on the display interfaces of the MT8395 P1V6 (Genio 1200) demo board. For common display and compositor information, please visit the Display page.

Display Interfaces on MT8395 P1V6 (Genio 1200) demo board

AIoT Yocto supports three display interfaces on MT8395 P1V6 (Genio 1200) demo board:

As of v22.1 release, the DSI ports (LCM1 & LCM2) are not supported on AIoT Yocto.

By default rity-demo-image enables HDMI only. DP and eDP can be enabled by loading the device tree overlay during the flash programming process.

../../../../_images/sw_rity_display_i1200-demo_display_interfaces.svg
../../../../_images/sw_rity_display_i1200-demo_display_interfaces.png

HDMI

In v22.1 release HDMI is the default display interface for the prebuilt rity-demo-image. The associated display data pipeline can process up to 4K(3840 x 2160) with 60Hz refresh rate.

Note

The HDMI interface is mutually exclusive to the DisplayPort interface provided by the USB Type-C port on the Genio 1200-demo board.

To restore the device tree setting back to the default device tree of the Genio 1200-demo board, flash the board with:

aiot-flash -i rity-demo-image

After boot into the console you can use modeprint mediatek command to check if the HDMI port has been properly configured:

root@i1200-demo:~# modeprint mediatek
Starting test
Resources

count_connectors : 1
count_encoders   : 1
count_crtcs      : 2
count_fbs        : 0

Connector: HDMI-A-1

DisplayPort

To enable DisplayPort, load the dtbo file display-dp.dtbo during flashing process:

aiot-flash -i rity-demo-image --load-dtbo display-dp.dtbo

If you don’t want to re-flash the entire root file system, you can simply update the overlay configuration with:

aiot-flash -i rity-demo-image --load-dtbo display-dp.dtbo kernel mmc0boot1

Note

The DisplayPort interface is mutually exclusive to the HDMI interface on the Genio 1200-demo board.

The display-dp overlay file essentially disables hdmi0 node and re-configures the audio link to display port.

root@i1200-demo:~# modeprint mediatek
Starting test
Resources

count_connectors : 1
count_encoders   : 1
count_crtcs      : 2
count_fbs        : 0

Connector: DP-1

The associated display data pipeline can process up to 4K(3840x2160) with 60Hz refresh rate.

Embedded DisplayPort

Hardware Setup

The prebuilt rity-demo-image supports BOE NE135FBM panel with a eDP cable, as shown below:

../../../../_images/sw_rity_display_eDP-cable.jpg

Please always use this associated cable to connect to the panel. Connect the side labeled as MB to the Genio 1200-demo board, and the LCM side to the panel, as show below:

../../../../_images/sw_rity_display_eDP-install.jpg

To enable Embedded DisplayPort and the BOE NE135FBM panel, load the overlay file:

aiot-flash -i rity-demo-image --load-dtbo panel-boe-ne135fbm.dtbo

If you don’t want to re-flash the entire root file system, you can simply update the overlay configuration with:

aiot-flash -i rity-demo-image --load-dtbo panel-boe-ne135fbm.dtbo kernel mmc0boot1

The associated display data pipeline can process up to 2K(2256x1504) with 60Hz refresh rate.

eDP + HDMI

The eDP port can be used simultaneously with one of the HDMI and DP port. This is because they use a different underlying display data pipeline, abstracted as different crtc in the DRM framework.

Therefore after loading the panel-boe-ne135fbm.dtbo you should see two connectors and two crtcs available:

root@i1200-demo:~# modeprint mediatek
Starting test
Resources

count_connectors : 2
count_encoders   : 2
count_crtcs      : 2
count_fbs        : 0

Connector: eDP-1
        id             : 32
        encoder id     : 31
        conn           : connected
        size           : 280x190 (mm)
        count_modes    : 2
        count_props    : 5
        props          : 1 2 5 6 4
        count_encoders : 1
        encoders       : 31
Mode: "2256x1504" 2256x1504 60
Mode: "2256x1504" 2256x1504 48
Connector: HDMI-A-1
        id             : 34
        encoder id     : 33
        conn           : connected
        size           : 520x290 (mm)
        count_modes    : 33
        count_props    : 5
        props          : 1 2 5 6 4
        count_encoders : 1
        encoders       : 33
Mode: "1920x1080" 1920x1080 60
Mode: "1920x1080" 1920x1080 60
Mode: "1920x1080" 1920x1080 50
Mode: "1600x1200" 1600x1200 60

eDP + DP

You can configure the eDP + DP combination with:

aiot-flash -i rity-demo-image --load-dtbo panel-boe-ne135fbm.dtbo --load-dtbo display-dp.dtbo