Two threads that might (or might not) help:
Thread
Raspberry 7" Touchscreen Rotation LE 11.0.3
I have a Raspberry Pi 3B with the official 7" touchscreen in a frame and have upgraded from LE 9.2.8 to 11.0.3. In order for the display to be the correct way up I added lcd_rotate=2 to config.txt in LE 9.2.8. This worked perfectly.
Since updating to 11.0.3 I have been unable to rotate the screen. Below are the four separate additions to config.txt tried unsuccesfully.
dtoverlay=vc4-kms-dsi-7inch
video=DSI-1:800x480@60,rotate=180
dtoverlay=vc4-kms-dsi-7inch
panel_orientation=upside_down
…
Since updating to 11.0.3 I have been unable to rotate the screen. Below are the four separate additions to config.txt tried unsuccesfully.
dtoverlay=vc4-kms-dsi-7inch
video=DSI-1:800x480@60,rotate=180
dtoverlay=vc4-kms-dsi-7inch
panel_orientation=upside_down
…

jcpreston
Thread
Video Orientation
I decided it was time to update my Pi 2 running 9.2.8 to a Pi4 running 11.0.3. which was easy to do but now I have some changed behaviour with video orientation:
On some of my home videos which were shot inverted I could change the orientation using either the metadata or by 180 degree rotation, no problem and it seemed to work seamlessly on the earlier version.
With the newer version on the same videos from my server I can change the orientation by 90 degrees but selecting metadata or 180…
On some of my home videos which were shot inverted I could change the orientation using either the metadata or by 180 degree rotation, no problem and it seemed to work seamlessly on the earlier version.
With the newer version on the same videos from my server I can change the orientation by 90 degrees but selecting metadata or 180…
BillB