linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Noralf Trønnes" <notro@tronnes.org>
To: linux-fbdev@vger.kernel.org
Subject: Re: fbcon gives mirrored fonts on monochrome display
Date: Thu, 22 Jan 2015 20:58:38 +0000	[thread overview]
Message-ID: <54C1647E.7030201@tronnes.org> (raw)
In-Reply-To: <54C145B8.6080204@tronnes.org>

Den 22.01.2015 21:42, skrev Geert Uytterhoeven:
> Hi Noralf,
>
> On Thu, Jan 22, 2015 at 9:38 PM, Noralf Trønnes <notro@tronnes.org> wrote:
>> Den 22.01.2015 20:59, skrev Geert Uytterhoeven:
>>> On Thu, Jan 22, 2015 at 8:55 PM, Noralf Trønnes <notro@tronnes.org> wrote:
>>>> Den 22.01.2015 20:44, skrev Geert Uytterhoeven:
>>>>> On Thu, Jan 22, 2015 at 7:47 PM, Noralf Trønnes <notro@tronnes.org>
>>>>> wrote:
>>>>>> I'm playing with a SSD1306 128x64 monochrome display and fbcon gives me
>>>>>> mirrored fonts and some extra lines.
>>>> $ zgrep CONFIG_FB_CFB_REV_PIXELS_IN_BYTE /proc/config.gz
>>>> # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
>>>>
>>>>> Does your driver set FB_NONSTD_REV_PIX_IN_B?
>>>> No it doesn't. I also tried setting it now, with no effect:
>>>> info->var.nonstd = FB_NONSTD_REV_PIX_IN_B;
>>> The latter only seems to matter if CONFIG_FB_CFB_REV_PIXELS_IN_BYTE
>>> is set, so please try the config option first.
>>
>> $ zgrep CONFIG_FB_CFB_REV_PIXELS_IN_BYTE /proc/config.gz
>> CONFIG_FB_CFB_REV_PIXELS_IN_BYTE=y
>>
>> $ dmesg
>> [  365.595787]   nonstd = 2
>>
>> It didn't change anything.
>>
>> I looked up the code that is affected by this change, and only the cbf*.c
>> files use the rev/swap/shift functions from fb_draw.h
>> I use the sys_* modules not cbf*
> One more thing that's no longer in sync...
> Ideally, the cfb* and sys* versions are identical, except that the former
> operates on MMIO, and the latter on RAM.

Ok, so I'm out of luck, unless I patch this up myself :-) (which didn't 
look very complicated btw, as you say they look very similar)

Thanks for your help.


Noralf.


      parent reply	other threads:[~2015-01-22 20:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-22 18:47 fbcon gives mirrored fonts on monochrome display Noralf Trønnes
2015-01-22 19:44 ` Geert Uytterhoeven
2015-01-22 19:55 ` Noralf Trønnes
2015-01-22 19:59 ` Geert Uytterhoeven
2015-01-22 20:38 ` Noralf Trønnes
2015-01-22 20:42 ` Geert Uytterhoeven
2015-01-22 20:58 ` Noralf Trønnes [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=54C1647E.7030201@tronnes.org \
    --to=notro@tronnes.org \
    --cc=linux-fbdev@vger.kernel.org \
    /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).