Hi All,
We have using custom congatec imx8mp-cgtqx8p board which have HDMI and LVDS display connected.
LVDS display resolution is 1280x800
root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-DPI-1/modes
1280x800
HDMI suppoered mode list :-
root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-HDMI-A-1/modes
1920x1080
1920x1080
1920x1080
1920x1080
1280x1024
1280x1024
1280x960
1152x864
1280x720
1280x720
1280x720
1280x720
800x600
800x600
720x576
720x480
720x480
720x480
720x480
And I am trying to clone display from LVDS to HDMI but when I set custom resolution on my hdmi using below command.
setenv mmcargs "setenv bootargs pcie_cz_enabled=yes console=ttymxc1,115200 root=/dev/mmcblk1p2 rootwait rw video=HDMI-A-1:1280x800@60e"
It is not reflated on hdmi modes. This custom modes showing in cmdline.
HDMI-A-1/modes entry not showing new custom mode (1280x800)
Is this issue comes from bsp side or kernel side I don't know can someone help ?
Yocto build configuration is
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mp-cgtqx8p"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "5.15-kirkstone"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
weston.ini file configuration
[core]
#gbm-format=argb8888
#gbm-format=rgb565
idle-time=0
#use-g2d=1
xwayland=true
repaint-window=16
#enable-overlay-view=1
modules=screen-share.so
#[shell]
#size=1920x1080
[libinput]
touchscreen_calibrator=true
[output]
name=HDMI-A-1
clone-from=DPI-1
[output]
name=DPI-1
mode=1280x800@60
#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=rotate-90
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/etc/freerdp/keys/server.crt --rdp-tls-key=/etc/freerdp/keys/server.key
start-on-startup=true