From: Philipp Zabel <p.zabel@pengutronix.de>
To: Ivan Nikolaenko <i.nikolaenko@geoscan.aero>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: i.MX6 imx-drm framebuffer rotation. Kernel 3.14.52.
Date: Fri, 22 Apr 2016 14:49:03 +0200 [thread overview]
Message-ID: <1461329343.4047.47.camel@pengutronix.de> (raw)
In-Reply-To: <571A1731.4050401@geoscan.aero>
Am Freitag, den 22.04.2016, 15:21 +0300 schrieb Ivan Nikolaenko:
> Hi, Phillip!
>
> Thank you for the fast responce.
> Ifollowed your adviceandrealized thatIincorrectlyformulatedthought. I
> need a 180 degree rotation, not the flip.
> I got the vertical flip (screen reflected by Y axis), butmy attempt to
> reflect it by X axis (xrandr --output DISP3\ BG --reflect x) failed
> (nothing happened).
That is because the IDMAC controller considers the VF bit when
calculating the line start addresses (so reflect Y works) but completely
ignores the HF bit. The IC has a line buffer that is sampled backwards
if the HF bit is set.
> Is there a way to do 180deg rotation somehow?
If your display is < 1024 pixels in both width and height, it should be
possible to get reflect x functionality by hooking up the IC -> DMFC
direct flow.
regards
Philipp
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2016-04-22 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 12:33 i.MX6 imx-drm framebuffer rotation. Kernel 3.14.52 Ivan Nikolaenko
2016-04-21 13:16 ` Philipp Zabel
2016-04-22 12:21 ` Ivan Nikolaenko
2016-04-22 12:49 ` Philipp Zabel [this message]
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=1461329343.4047.47.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=i.nikolaenko@geoscan.aero \
/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;
as well as URLs for NNTP newsgroup(s).