Re: i915: Dealing with 90° rotated display ?

Hans de Goede hdegoede at redhat.com
Sat Feb 25 18:28:37 UTC 2017


Hi,

On 20-02-17 14:24, Hans de Goede wrote:

<snip>

>>> So when userspace
>>> (e.g. the Xorg server + modesetting driver) asks for 0° degree
>>> rotation under the hood they get 90 applied, when they aks for
>>> the panel resolution they get 1280x720 instead of 720x1280.
>>
>> The idea was that userspace will inherit the initial rotation.
>> That does work correctly at least with the intel ddx.
>
> Ah (userspace will inherit the initial rotation) I've yet to patch the
> kernel to set up an initial rotation for this, I will give this a
> try and see if that helps.

Ok, so for my case this does not help because only skylake and
later support 90 / 270 degree rotation and I'm on cherrytrail.

In case anyone is interested I've attached a rebased version
of the fbcon inherit wip patch (with the unrelated changes
to fb-helper's clone code removed).

Regards,

Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-fb-helper-Inherit-rotation-wip.patch
Type: text/x-patch
Size: 7053 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170225/b851d96d/attachment.bin>


More information about the dri-devel mailing list