Hi all!
This is my first attempt to get TILER working on newer kernels (tested with letux-5.6.y and letux-5.7) following on from our discussions on the forum.
As I don't have access to a Pyra prototype or LCD, I've tested this by rotating the HDMI output with the command-line rotate parameter (although, in fact, hopefully this patch fixes the rotated HDMI output on the Pyra).
I've also attempted to test it by pretending a Pyra LCD is attached by using omap5-uevm+pyra4+boe.dtb, TILER seems to be being set up and the framebuffer rotated but for some reason I can't get X to start this way - this doesn't seem to be related to the patch though.
Instead of the old parameter that rotated all framebuffers, this patch goes a slightly different way by adding a drm.force_hw_rotation parameter to enable 90/270 degree hardware rotation, then the usual rotation infrastructure can be used.
It would be great to get some feedback on the code as I don't have much experience with the kernel code style. Some help testing this on Pyra hardware would also be appreciated, ideally if someone is able to apply this to the correct tree and test.
Best
David Shah