[PATCH 1/2] drm: Make fbdev inherit the crtc's initial rotation
hadess at hadess.net
Wed Apr 26 12:28:32 UTC 2017
On Mon, 2017-04-24 at 15:48 +0300, Ville Syrjälä wrote:
> > I've a patch for iio-sensor-proxy which fixes the rotation under
> > Xorg /
> > Wayland when using a desktop environment which honors iio-sensor-
> > proxy's
> > rotation detection:
> > https://github.com/hadess/iio-sensor-proxy/pull/162
> Or is it just this thing that clobbers what the DDX inherited from
> kernel as the initial rotation?
I think it's mostly got to do with the compositor (or X) not knowing
what "normal" or "0 degrees rotation" corresponds to.
I would expect the baseline test for this wouldn't involve iio-sensor-
proxy at all, and boot to the desktop with the expected orientation
showing up in the desktop env/XRandR as "not rotated".
Eg. for the GPD Win which does have this problem, this should appear as
being rotated (image 1):
But not this (image 2):
After that, the problem is whether the accelerometer is mounted the
same way as the "non-rotated screen" (option 2), or the "non-rotated
screen" (option 1), which would show what quirking is needed.
More information about the dri-devel