linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Zielinski <grim@undead.cc>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Frame Buffer Device Development
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: 2.6 fbcon and 15/16 bpp
Date: Wed, 24 Dec 2003 01:02:37 -0500	[thread overview]
Message-ID: <3FE92BFD.8020104@undead.cc> (raw)
In-Reply-To: <1072242753.820.41.camel@gaston>

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

Benjamin Herrenschmidt wrote:

>Looks fine, I'll do tests here. What's up with the penguin ? (what do
>you mean by "test order" ?)
>  
>
There are two penguin tests and Tux's colors are wrong in test004 but 
not too bad in test009.  But if you run test007 (the directcolor test) 
before test004 by running "fbtest test007 test004" Tux looks ok for the 
most part (has a green outline, looks like the poor fellow got nuked) 
because test007 leaves the palette not quite linear.

A quick analysis looking at fbtest's debug output I noticed that before 
test007 it uses a 555 color map and a 565 color map after test007.  I'm 
look at it in more detail tommorrow.

I've attached a couple of snips from the fbtest debug logs.  The first 
one is test004 only and the second one is test007 followed by test004.

John


[-- Attachment #2: debug1 --]
[-- Type: text/plain, Size: 2285 bytes --]

Running test test004
clut_create_linear(): GRAY 32
fb_set_cmap()
Colormap start = 0 len = 64
   0: R 0000 G 0000 B 0000 A ffff
   1: R 0842 G 0842 B 0842 A 0000
   2: R 1084 G 1084 B 1084 A 0000
   3: R 18c6 G 18c6 B 18c6 A 0000
   4: R 2108 G 2108 B 2108 A 0000
   5: R 294a G 294a B 294a A 0000
   6: R 318c G 318c B 318c A 0000
   7: R 39ce G 39ce B 39ce A 0000
   8: R 4210 G 4210 B 4210 A 0000
   9: R 4a52 G 4a52 B 4a52 A 0000
  10: R 5294 G 5294 B 5294 A 0000
  11: R 5ad6 G 5ad6 B 5ad6 A 0000
  12: R 6318 G 6318 B 6318 A 0000
  13: R 6b5a G 6b5a B 6b5a A 0000
  14: R 739c G 739c B 739c A 0000
  15: R 7bde G 7bde B 7bde A 0000
  16: R 8421 G 8421 B 8421 A 0000
  17: R 8c63 G 8c63 B 8c63 A 0000
  18: R 94a5 G 94a5 B 94a5 A 0000
  19: R 9ce7 G 9ce7 B 9ce7 A 0000
  20: R a529 G a529 B a529 A 0000
  21: R ad6b G ad6b B ad6b A 0000
  22: R b5ad G b5ad B b5ad A 0000
  23: R bdef G bdef B bdef A 0000
  24: R c631 G c631 B c631 A 0000
  25: R ce73 G ce73 B ce73 A 0000
  26: R d6b5 G d6b5 B d6b5 A 0000
  27: R def7 G def7 B def7 A 0000
  28: R e739 G e739 B e739 A 0000
  29: R ef7b G ef7b B ef7b A 0000
  30: R f7bd G f7bd B f7bd A 0000
  31: R ffff G ffff B ffff A 0000
  32: R 0000 G 0000 B 0000 A 0000
  33: R 0000 G 0000 B 0000 A 0000
  34: R 0000 G 0000 B 0000 A 0000
  35: R 0000 G 0000 B 0000 A 0000
  36: R 0000 G 0000 B 0000 A 0000
  37: R 0000 G 0000 B 0000 A 0000
  38: R 0000 G 0000 B 0000 A 0000
  39: R 0000 G 0000 B 0000 A 0000
  40: R 0000 G 0000 B 0000 A 0000
  41: R 0000 G 0000 B 0000 A 0000
  42: R 0000 G 0000 B 0000 A 0000
  43: R 0000 G 0000 B 0000 A 0000
  44: R 0000 G 0000 B 0000 A 0000
  45: R 0000 G 0000 B 0000 A 0000
  46: R 0000 G 0000 B 0000 A 0000
  47: R 0000 G 0000 B 0000 A 0000
  48: R 0000 G 0000 B 0000 A 0000
  49: R 0000 G 0000 B 0000 A 0000
  50: R 0000 G 0000 B 0000 A 0000
  51: R 0000 G 0000 B 0000 A 0000
  52: R 0000 G 0000 B 0000 A 0000
  53: R 0000 G 0000 B 0000 A 0000
  54: R 0000 G 0000 B 0000 A 0000
  55: R 0000 G 0000 B 0000 A 0000
  56: R 0000 G 0000 B 0000 A 0000
  57: R 0000 G 0000 B 0000 A 0000
  58: R 0000 G 0000 B 0000 A 0000
  59: R 0000 G 0000 B 0000 A 0000
  60: R 0000 G 0000 B 0000 A 0000
  61: R 0000 G 0000 B 0000 A 0000
  62: R 0000 G 0000 B 0000 A 0000
  63: R 0000 G 0000 B 0000 A 0000
test004: PASSED

[-- Attachment #3: debug2 --]
[-- Type: text/plain, Size: 2301 bytes --]

test007: PASSED
Running test test004
clut_create_linear(): GRAY 32
fb_set_cmap()
Colormap start = 0 len = 64
   0: R 0000 G 0000 B 0000 A ffff
   1: R 0842 G 0842 B 0842 A 0000
   2: R 1084 G 1084 B 1084 A 0000
   3: R 18c6 G 18c6 B 18c6 A 0000
   4: R 2108 G 2108 B 2108 A 0000
   5: R 294a G 294a B 294a A 0000
   6: R 318c G 318c B 318c A 0000
   7: R 39ce G 39ce B 39ce A 0000
   8: R 4210 G 4210 B 4210 A 0000
   9: R 4a52 G 4a52 B 4a52 A 0000
  10: R 5294 G 5294 B 5294 A 0000
  11: R 5ad6 G 5ad6 B 5ad6 A 0000
  12: R 6318 G 6318 B 6318 A 0000
  13: R 6b5a G 6b5a B 6b5a A 0000
  14: R 739c G 739c B 739c A 0000
  15: R 7bde G 7bde B 7bde A 0000
  16: R 8421 G 8421 B 8421 A 0000
  17: R 8c63 G 8c63 B 8c63 A 0000
  18: R 94a5 G 94a5 B 94a5 A 0000
  19: R 9ce7 G 9ce7 B 9ce7 A 0000
  20: R a529 G a529 B a529 A 0000
  21: R ad6b G ad6b B ad6b A 0000
  22: R b5ad G b5ad B b5ad A 0000
  23: R bdef G bdef B bdef A 0000
  24: R c631 G c631 B c631 A 0000
  25: R ce73 G ce73 B ce73 A 0000
  26: R d6b5 G d6b5 B d6b5 A 0000
  27: R def7 G def7 B def7 A 0000
  28: R e739 G e739 B e739 A 0000
  29: R ef7b G ef7b B ef7b A 0000
  30: R f7bd G f7bd B f7bd A 0000
  31: R ffff G ffff B ffff A 0000
  32: R 0000 G 8208 B 0000 A 0000
  33: R 0000 G 8618 B 0000 A 0000
  34: R 0000 G 8a28 B 0000 A 0000
  35: R 0000 G 8e38 B 0000 A 0000
  36: R 0000 G 9249 B 0000 A 0000
  37: R 0000 G 9659 B 0000 A 0000
  38: R 0000 G 9a69 B 0000 A 0000
  39: R 0000 G 9e79 B 0000 A 0000
  40: R 0000 G a28a B 0000 A 0000
  41: R 0000 G a69a B 0000 A 0000
  42: R 0000 G aaaa B 0000 A 0000
  43: R 0000 G aeba B 0000 A 0000
  44: R 0000 G b2ca B 0000 A 0000
  45: R 0000 G b6db B 0000 A 0000
  46: R 0000 G baeb B 0000 A 0000
  47: R 0000 G befb B 0000 A 0000
  48: R 0000 G c30b B 0000 A 0000
  49: R 0000 G c71c B 0000 A 0000
  50: R 0000 G cb2c B 0000 A 0000
  51: R 0000 G cf3c B 0000 A 0000
  52: R 0000 G d34c B 0000 A 0000
  53: R 0000 G d75d B 0000 A 0000
  54: R 0000 G db6d B 0000 A 0000
  55: R 0000 G df7d B 0000 A 0000
  56: R 0000 G e38d B 0000 A 0000
  57: R 0000 G e79e B 0000 A 0000
  58: R 0000 G ebae B 0000 A 0000
  59: R 0000 G efbe B 0000 A 0000
  60: R 0000 G f3ce B 0000 A 0000
  61: R 0000 G f7df B 0000 A 0000
  62: R 0000 G fbef B 0000 A 0000
  63: R 0000 G ffff B 0000 A 0000
test004: PASSED

  reply	other threads:[~2003-12-24  6:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02  7:04 2.6 fbcon and 15/16 bpp Benjamin Herrenschmidt
2003-12-02  7:32 ` John Zielinski
2003-12-02 22:22   ` Benjamin Herrenschmidt
2003-12-02 22:53     ` John Zielinski
2003-12-03  0:19       ` Benjamin Herrenschmidt
2003-12-10  6:43         ` John Zielinski
2003-12-23 23:16         ` John Zielinski
2003-12-24  1:45           ` Benjamin Herrenschmidt
2003-12-24  2:54             ` John Zielinski
2003-12-24  3:31               ` Benjamin Herrenschmidt
2003-12-24  4:45                 ` John Zielinski
2003-12-24  5:23                   ` Benjamin Herrenschmidt
2003-12-24  6:02                     ` John Zielinski [this message]
2003-12-24 12:10                       ` Geert Uytterhoeven
2003-12-24 21:34                         ` John Zielinski
2003-12-24 22:44                           ` Benjamin Herrenschmidt
2003-12-25  0:55                             ` John Zielinski
2003-12-26 11:01                             ` Geert Uytterhoeven
2003-12-24 12:08             ` Geert Uytterhoeven

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=3FE92BFD.8020104@undead.cc \
    --to=grim@undead.cc \
    --cc=benh@kernel.crashing.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).