From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 16 Apr 2005 15:20:36 -0700 Subject: Linux-2.6.12-rc2 Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip! --- drivers/video/radeonfb.c | 3168 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3168 insertions(+) create mode 100644 drivers/video/radeonfb.c (limited to 'drivers/video/radeonfb.c') diff --git a/drivers/video/radeonfb.c b/drivers/video/radeonfb.c new file mode 100644 index 00000000000..d9a084e77a6 --- /dev/null +++ b/drivers/video/radeonfb.c @@ -0,0 +1,3168 @@ +/* + * drivers/video/radeonfb.c + * framebuffer driver for ATI Radeon chipset video boards + * + * Copyright 2000 Ani Joshi + * + * + * ChangeLog: + * 2000-08-03 initial version 0.0.1 + * 2000-09-10 more bug fixes, public release 0.0.5 + * 2001-02-19 mode bug fixes, 0.0.7 + * 2001-07-05 fixed scrolling issues, engine initialization, + * and minor mode tweaking, 0.0.9 + * 2001-09-07 Radeon VE support, Nick Kurshev + * blanking, pan_display, and cmap fixes, 0.1.0 + * 2001-10-10 Radeon 7500 and 8500 support, and experimental + * flat panel support, 0.1.1 + * 2001-11-17 Radeon M6 (ppc) support, Daniel Berlin, 0.1.2 + * 2001-11-18 DFP fixes, Kevin Hendricks, 0.1.3 + * 2001-11-29 more cmap, backlight fixes, Benjamin Herrenschmidt + * 2002-01-18 DFP panel detection via BIOS, Michael Clark, 0.1.4 + * 2002-06-02 console switching, mode set fixes, accel fixes + * 2002-06-03 MTRR support, Peter Horton, 0.1.5 + * 2002-09-21 rv250, r300, m9 initial support, + * added mirror option, 0.1.6 + * + * Special thanks to ATI DevRel team for their hardware donations. + * + */ + + +#define RADEON_VERSION "0.1.6" + + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#if defined(__powerpc__) +#include +#include +#include "macmodes.h" + +#ifdef CONFIG_NVRAM +#include +#endif + +#ifdef CONFIG_PMAC_BACKLIGHT +#include +#endif + +#ifdef CONFIG_BOOTX_TEXT +#include +#endif + +#ifdef CONFIG_ADB_PMU +#include +#include +#endif + +#endif /* __powerpc__ */ + +#ifdef CONFIG_MTRR +#include +#endif + +#include