Rotate RGB display in Yocto BSP6.4

hello dear support
I need to rotate my RGB display 180 degrees in BSP6.4 Yocto referenced image
I am using my own display configuration in device tree overlays, as shown below: :

&backlight {

pwms = <&pwm3 0 100000 1>;

brightness-levels = <0 4 8 16 32 64 128 255>;

default-brightness-level = <7>;

status = "okay";

};
&lcd_display {

/* use the bus-format as specified from the panel */

interface-pix-fmt = "";

status = "okay";

};

&panel_dpi {

data-mapping = "bgr666";

status = "okay";

};

I have tried several methods mentioned in the following links, but none of them seem to work for me:
i have tried :

I am using :
Colibri IMX6 + iris + BSP6.4 upstream + custom device tree overlays and zImage
would you please help me to rotate my LCD
I wish you the best
Mehdi

Hi @me_ahani98 ,
We are checking on the issue

1 Like

Hi @me_ahani98 ,
Try below and let us know the result.
I tested it on Colibri iMX6DL

  1. edit weston.ini file
    vi /etc/xdg/weston/weston.ini

  2. Add below
    [output]
    name=DPI-1
    mode=640x480@60
    transform=rotate-90

I have made the following changes:
[output]
name=DPI-1
mode=640x480@60
transform=rotate-180

These changes worked exactly as I needed them to. I would appreciate your prompt response.

Thank you.