On Wed, Feb 15, 2017 at 03:54:17PM +0100, Hans de Goede wrote: > Hi Jani, > > As discussed here: > > https://bugs.freedesktop.org/show_bug.cgi?id=94894 > > I've a mini-laptop which uses a phone-screen, > so the native orientation of the screen is portrait, > where as for a clam-shell device one wants it to > be landscape. Ideally there would be a flag somewhere > to tell the i915 driver that the panel is mounted > 90° rotated in its bezel and have the i915 driver > apply that rotation on top of whatever rotation > userspace requests. > > So question is there already a place (variable) in > the i915 driver where one can set such a rotation > offset to apply on top of what userspace requests ? > > If not do you have any idea how feasible adding one > would be and can you give me a few pointers / hints > where to start with such a thing ? You could have a look at my branch (which I pointed out in the bug). But note that 90/270 degree rotation is a little busted currently. You'll need at least https://patchwork.freedesktop.org/patch/120208/ -- Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx