Trouble with display rotation in config.txt

I have the latest Ubuntu Mate installed and have a 10.1" LCD display connected via HDMI. This display appears identical, including driver board, to the Adafruit display. The display is working., but I am trying to rotate the display 180 degrees as it is upside down in my installation. I added the following to the config,txt file:

display_rotate=2

On power up, the display is not rotated, and checking the runtime value with:

vcgencmd get_config display_rotate yields display_rotate=0

So it is not getting set for some reason. I have also tried using:

display_hdmi_rotate=2

without success.

Any help or suggestions would be appreciated.

I hadn’t tried anything like this, so looked at the official documentation.
It seems that the one you want is:
lcd_rotate=2
HTH
Derek

Thanks, I will give that a try.