How rotate screen

How rotate screen

What MCU/Processor/Board and compiler are you using?
→ STM32H743II CONTROLLER & STM32 cube ide compiler

What LVGL version are you using?
→ version 8.0

What do you want to achieve?
→ screen rotate 90 degree

What have you tried so far?
disp_drv.sw_rotate = 1;
disp_drv.rotated = LV_DISP_ROT_90;

lv_disp_set_rotation(NULL, LV_DISP_ROT_90);