OK, thanks to Andrey Utkin the DSS regression has been fixed, and for
some reason after I merged letux-4.8-rc1 with latest mainline 4.8-rc
and did some minor kernel config cleanups I discovered sound was
working again too. Haven't bisected it, I'm just glad it works again.
I have a revised patch/tiler-fbdev (note: the "2" suffix is gone)
which makes the fbdev rotation a module parameter. Tiny change, but a
fair bit more convenient than having to recompile the kernel.
To rotate the screen clockwise add the kernel parameter:
drm_kms_helper.fbdev_rotation=8
Alternatively you can change it at runtime by doing, e.g.:
echo 0 >/sys/class/vtconsole/vtcon1/bind
modprobe -r omapdrm
modprobe drm_kms_helper fbdev_rotation=8
modprobe omapdrm
Changing the rotation in a way that doesn't swap width/height is even
possible on the fly:
echo 2 >/sys/module/drm_kms_helper/parameters/fbdev_rotation
true <>/dev/dri/card0 # trigger modeset-restore
Rotation values are same as for the DRM "rotation" property:
1 = 0 degrees
2 = 90 degrees (CCW)
4 = 180 degrees
8 = 270 degrees (i.e. 90 degrees CW)
(bit 4 or 5 can be set for mirroring)
Some git repo news:
work/merged is currently
work/merged-base (see below)
+ work/omap5-uevm (some DT patches, mainly for leds)
+ patch/tiler-fbdev (see above).
Note that even with rotation disabled the framebuffer is still
allocated in tiled memory, making it suitable for performance tests.
patch/tiler-fast (which is part of patch/tiler-fbdev) no longer forces
tiled allocation of DRM dumb buffers. I've put this in a separate
branch for now, patch/tiler-buf-dumb, since I haven't needed it
recently and it breaks SGX.
work/merged-base is a new branch currently consisting of letux-4.8-rc1
with latest mainline 4.8-rc merged in along with some benign patches
of mine. I've also polished the letux_defconfig a bit to remove stuff
irrelevant to omap5 and some other changes here and there. I try to
keep invasive stuff that might break things out of this branch. If you
discover work/merged-base breaks something that worked in letux (on
omap5-uevm or pyra), please let me know.
Matthijs