linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Kern <alex.kern@gmx.de>
To: adaplas@pol.net
Cc: linux-fbdev-devel@lists.sourceforge.net,
	"Ville Syrjälä" <syrjala@sci.fi>
Subject: Re: [PATCH] atyfb: vblank irq support
Date: Sun, 25 Jul 2004 20:36:52 +0200	[thread overview]
Message-ID: <200407252036.52194.alex.kern@gmx.de> (raw)
In-Reply-To: <200407250803.14308.adaplas@hotpop.com>

Am Sonntag, 25. Juli 2004 02:03 schrieb Antonino A. Daplas:
> On Sunday 25 July 2004 07:12, Alexander Kern wrote:
> > P.S. Now the last consumer from fb_load_cursor_image is neo driver.
> > Should we drop this function, it's buggy!
>
> We should.  fb_load_cursor_image() cannot be generic.
fine, do you make it for neo driver?
>
> > Steel on my TODO list:
> >
> > Issue with 16bpp mode, brocken boot logo, fbi has problems too.
>
> 1. aty128fb_setcolreg has this lines:
>
> 		case 16:
> 			pal[regno] = (regno << 11) | (regno << 6) | regno;
> 			break;
>
> Shouldn't it be?
>
> 		pal[regno] = (regno << 11) | (regno << 5) | regno;
>
Maybe, but I work on mach64 driver. In atyfb_base.c#2671 it is really
pal[regno] = (regno << 11) | (regno << 5) | regno;
> 2. In RGB555, isn't it better to fill up all the 8 slots per index per
> channel (256/32), instead of just (regno * 8)? For RGB565, that will be 8
> slots per red and blue, 4 slots per green (256/64).
>
> So something like this for RGB555, ie:
>
> 	for  (i = 0; i < 8; i++) {
> 		aty128_st_pal((regno * 8) + i, red, green, blue, par);
>
> RGB565 is a bit more complicated because green is deeper, but is doable.
>
> Tony
>
> DISCLAIMER: I know nothing about this hardware, I'm probably shooting
> blanks :-)


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

  reply	other threads:[~2004-07-25 18:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-22 18:49 [PATCH] atyfb: vblank irq support Ville Syrjälä
2004-07-24 23:12 ` Alexander Kern
2004-07-25  0:03   ` Antonino A. Daplas
2004-07-25 18:36     ` Alexander Kern [this message]
2004-07-25 22:47       ` Antonino A. Daplas
2004-07-30 18:12         ` [Question] Colour management Alexander Kern
2004-07-31 10:26           ` Antonino A. Daplas
2004-07-31 13:31             ` Ville Syrjälä
2004-07-31 21:19               ` Antonino A. Daplas
2004-07-31 22:19                 ` Alexander Kern
2004-07-31 23:37                   ` Antonino A. Daplas
2004-07-31 22:18             ` Ville Syrjälä
2004-07-31 23:47               ` Antonino A. Daplas
2004-07-31 22:10           ` Ville Syrjälä
2004-08-01  1:03             ` Antonino A. Daplas
2004-07-25 10:16   ` [PATCH] atyfb: vblank irq support Ville Syrjälä
2004-07-25 18:29     ` Alexander Kern
2004-07-25 23:36       ` Ville Syrjälä

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=200407252036.52194.alex.kern@gmx.de \
    --to=alex.kern@gmx.de \
    --cc=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=syrjala@sci.fi \
    /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).