linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Jones <pjones@redhat.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: efifb swapping Red/Blue color
Date: Wed, 21 Nov 2012 14:38:05 +0000	[thread overview]
Message-ID: <20121121143805.GA3312@eddie.install.bos.redhat.com> (raw)
In-Reply-To: <20121121001457.2672d788@neptune.home>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1391 bytes --]

On Wed, Nov 21, 2012 at 12:14:57AM +0100, Bruno Prémont wrote:
> On a MacBookAir2,1 with 9400M C79 nVidia GPU fbcon on efifb has
> red and blue colors swapped.
> 
> Extract from kernel log:
> efifb: probing for efifb
> efifb: framebuffer at 0x80010000, mapped to 0xffffc90004580000, using 6400k, total 6400k
> efifb: mode is 1280x800x32, linelength92, pages=1
> efifb: scrolling: redraw
> efifb: Truecolor: size=8:8:8:8, shift$:0:8:16
> 
> On another system with radeon GPU and externally connected DVI monitor
> colors are set properly.
> 
> Probably efifb should be looking at something to determine if display
> is RGB or BGR...

Right - normally we get it from the firmware graphics driver, but on a
few generations of Intel Macs they gracefully omitted an implementation
of that part of the spec, which is why we have a DMI table that just has
best-effort entries.

So that on that hardware, it doesn't really give us anything to look
at.  Though if the same machine comes with two different video cards
that are, by default, configured opposite ways, there may be something
we can do.  Could show me the "lspci -v" for each of those devices (the
nvidia and the radeon)?

-- 
        Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-11-21 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 23:14 efifb swapping Red/Blue color Bruno Prémont
2012-11-21 14:38 ` Peter Jones [this message]
2012-11-21 14:54 ` Bruno Prémont

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=20121121143805.GA3312@eddie.install.bos.redhat.com \
    --to=pjones@redhat.com \
    --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).