public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nikita Kiryanov <nikita@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation
Date: Mon, 30 Mar 2015 13:48:47 +0300	[thread overview]
Message-ID: <55192A0F.7020606@compulab.co.il> (raw)
In-Reply-To: <1427439699-11126-1-git-send-email-oe5hpm@oevsv.at>

On 03/27/2015 10:01 AM, Hannes Petermaier wrote:
> Sometimes, for example if the display is mounted in portrait mode or even if it
> mounted landscape but rotated by 180 degree, we need to rotate our content of
> the display respectively the framebuffer, so that user can read the messages who
> are printed out.
>
> For this we introduce the feature called "CONFIG_LCD_ROTATION", this may be
> defined in the board-configuration if needed. After this the lcd_console will
> be initialized with a given rotation from "vl_rot" out of "vidinfo_t" which is
> provided by the board specific code.
> The value for vl_rot is coded as following (matching to fbcon=rotate:<n> linux-
> kernel commandline):
> 0 = no rotation respectively 0 degree
> 1 = 90 degree rotation
> 2 = 180 degree rotation
> 3 = 270 degree rotation
>
> If CONFIG_LCD_ROTATION is not defined, the console will be initialized with
> 0 degrees rotation.
>
> Patch 1-3 make preparations to the code.
> Patch 4 implements the new feature
>

Whole series:
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>

-- 
Regards,
Nikita Kiryanov

  parent reply	other threads:[~2015-03-30 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27  7:01 [U-Boot] [PATCH v4 0/4] common/lcd_console: introduce display/framebuffer rotation Hannes Petermaier
2015-03-27  7:01 ` [U-Boot] [PATCH v4 1/4] common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy Hannes Petermaier
2015-03-27  7:01 ` [U-Boot] [PATCH v4 2/4] common/lcd_console: ask only one-time for bg/fg-color per call Hannes Petermaier
2015-03-27  7:01 ` [U-Boot] [PATCH v4 3/4] common/lcd_console: move single static variables into common (static) structure Hannes Petermaier
2015-03-27  7:01 ` [U-Boot] [PATCH v4 4/4] common/lcd_console: introduce display/framebuffer rotation Hannes Petermaier
2015-03-30 10:48 ` Nikita Kiryanov [this message]
2015-04-18 17:03 ` [U-Boot] [PATCH v4 0/4] " Anatolij Gustschin

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=55192A0F.7020606@compulab.co.il \
    --to=nikita@compulab.co.il \
    --cc=u-boot@lists.denx.de \
    /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