Switching orientation RGB panel

I've made a scoreboard for 4 players/teams.
I made 2 boxes, 1 of which serves as a remote control via a UTP cable. In one box there is an Arduino Mega and an RGB panel 64 * 32 3mm (P3). In the other box there are 4 push buttons and an LCD screen (16 * 2)
Unfortunately I have mounted the RGB panel upside down in the case.

Does anyone know how I can turn the screen using code?

This is because the screen is glued together and cannot be detached without damage

Basically all you do is to replace the Y coordinate with the screen height minus the Y coordinate.