[PATCH] Fix for image-blitting in tdfxfb driver in 2.6.0-test1

From: Richard Drummond (lists@rcdrummond.net)
Date: Mon Jul 21 2003 - 01:34:21 EST


The following patch fixes some bugs in the tdfxfb driver in 2.6.0-test1.
Image-blitting in software or hardware should now work. Please apply.

This patch fixes

1) Problems with the driver's pseudo-palette in truecolor modes. Palette
entries were being mangled, so the foreground and background colours of text
written to the console was incorrect (this affected image-blitting of text
whether either the software routine cfb_imageblit or the accelerated
tdfxfb_imageblit was used).

2) Critical bug in tdfxfb_imageblit. Large blits would try and request more
fifo entries from the hardware than are available, causing an infinite loop.
I've fixed this by requesting fifo entries in small chunks rather than trying
to do it all at once.

3) Various big-endian fixes.

I've also moved the tdfxfb entry in fbmem.c to the 'with resource management'
section, because it now has it.

Cheers,
Rich



-
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 : Wed Jul 23 2003 - 22:00:42 EST