From: Mathieu Malaterre <malat@debian.org>
To: linux-fbdev@vger.kernel.org
Subject: [powerpc] offb: red / blue color inversion
Date: Thu, 09 Jun 2016 12:25:51 +0000 [thread overview]
Message-ID: <CA+7wUsw+LHgCz6SDHxrbPiwrpN53WB7+KxaAgnVYdwrp4OyVQQ@mail.gmail.com> (raw)
Dear all,
I am trying to fix an issue with color inversion in the current offb.c
implementation. I am using a Mac Mini G4 (PPC) with:
[ 0.844144] fb0: Open Firmware frame buffer device on
/pci@f0000000/ATY,RockHopper2Parent@10/ATY,RockHopper2_A@0
reported as [*]. I have tried looking at the upstream code source, and
it appears that my configuration falls into the 'cmap_simple'. But
other than that I failed to understand what could be wrong (palette
would be setup backward).
What are the low level tool (user-space) I can use to try to
understand what is wrong with offb on my machine without rebuilding
the kernel (CONFIG_FB_OF is not a module) ?
Thanks much,
[*] $ fbset -i
mode "800x600-186"
# D: 100.000 MHz, H: 119.048 kHz, V: 186.012 Hz
geometry 800 600 800 600 8
timings 10000 16 16 16 16 8 8
rgba 8/0,8/0,8/0,0/0
endmode
Frame buffer device information:
Name : OFfb ATY,RockHo
Address : 0x9c008000
Size : 614400
Type : PACKED PIXELS
Visual : PSEUDOCOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 1024
Accelerator : No
next reply other threads:[~2016-06-09 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 12:25 Mathieu Malaterre [this message]
2016-06-17 7:11 ` [powerpc] offb: red / blue color inversion Geert Uytterhoeven
2016-09-13 13:37 ` Mathieu Malaterre
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=CA+7wUsw+LHgCz6SDHxrbPiwrpN53WB7+KxaAgnVYdwrp4OyVQQ@mail.gmail.com \
--to=malat@debian.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.