From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Jani Nikula <jani.nikula@intel.com>,
intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: i915: Dealing with 90° rotated display ?
Date: Wed, 15 Feb 2017 16:59:15 +0200 [thread overview]
Message-ID: <20170215145915.GZ31595@intel.com> (raw)
In-Reply-To: <596c390e-d639-2368-88cf-80451e50f4c6@redhat.com>
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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-02-15 14:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 14:54 i915: Dealing with 90° rotated display ? Hans de Goede
2017-02-15 14:59 ` Ville Syrjälä [this message]
2017-02-16 10:01 ` Hans de Goede
2017-02-16 16:58 ` Ville Syrjälä
2017-02-20 13:24 ` Hans de Goede
2017-02-25 18:28 ` Hans de Goede
2017-02-27 10:31 ` ✓ Fi.CI.BAT: success for " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170215145915.GZ31595@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=hdegoede@redhat.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox