Re: [PATCH] Radeon frame buffer driver

From: Peter Horton (pdh@berserk.demon.co.uk)
Date: Wed Apr 10 2002 - 05:19:13 EST


On Wed, Apr 10, 2002 at 11:57:31AM +0100, benh@kernel.crashing.org wrote:
>
> Fine, though I noticed the get_cmap_len got changed to
> + return var->bits_per_pixel == 8 ? 256 : 16;
>

The colour map is only used by the kernel and the kernel only uses 16
entries so there isn't any reason to waste memory by making it any
larger. I checked a few other drivers and they do the same (aty128fb for
one).

P.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:15 EST