The kernel driver already allows this, as a prototype of something else had upside-down screen mounting.

I think you can probably find it somewhere in the comments - there are 2 assembler routines, one for the right way round and the other for inverted.

Hugo