On 1 February 2017 at 14:49, H. Nikolaus Schaller <hns@goldelico.com> wrote:
Or is the tiler rotating the HDMI port which is also enabled in my setup?

It rotates any output of the legacy fbdev framebuffer, of which there is only one per DRM device. I'm not sure which output it will pick if more than one is connected.

Applications that perform DRM modesetting does not get automatically rotated currently, but they can request any rotation of a framebuffer via the DRM api provided the buffer is allocated in tiler memory. Either they can use libdrm-omap for that allocation (like e.g. the xorg-video-omap driver) or you can apply my patch/tiler-buf-dumb to force all buffer allocations into tiler memory.

I've considered implementing rotation transparently for all drm clients (including the legacy fbdev), and I still may, but it is a non-trivial amount of work and may not be worth it since only one process can do modesetting at any given time, so normally this task in centralized in one of a very small number of applications (x11, wayland, plymouth...) and they all use libdrm so it could also be implemented there instead.

Matthijs