Re: [PATCH 2/4] [PATCH] gxfb: Fixups for the AMD Geode GXframebuffer driver

From: Alan Cox
Date: Tue Jul 25 2006 - 18:44:45 EST


On Llu, 2006-07-24 at 10:56 -0600, Jordan Crouse wrote:

> +#ifdef CONFIG_FB_GEODE_GX_SET_FBSIZE
> +unsigned int gx_frame_buffer_size(void) {
> + return CONFIG_FB_GEODE_GX_FBSIZE;
> +}
> +#else
> unsigned int gx_frame_buffer_size(void)
> {
> unsigned int val;
> @@ -35,6 +40,7 @@ unsigned int gx_frame_buffer_size(void)
> val = (unsigned int)(inw(0xAC1E)) & 0xFFl;
> return (val << 19);
> }
> +#endif

GAK, please fix your firmware to follow your own docs 8). I mean while
VGA emulation is hard honouring the frame buffer size query is trivial
to stick in the GPL'd VSA firmware and belongs there.



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