summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_init.h
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2003-03-09 02:08:30 +0000
committeranholt <anholt@FreeBSD.org>2003-03-09 02:08:30 +0000
commitccdf4ef2d9288d035e56820efb0e79db6acf5ba8 (patch)
treeef9d3b03548e9f28bd5c265be746871660c0c16a /sys/dev/drm/drm_init.h
parent0b60094f80a8137660b368df0b80fb0179b92d04 (diff)
downloadFreeBSD-src-ccdf4ef2d9288d035e56820efb0e79db6acf5ba8.zip
FreeBSD-src-ccdf4ef2d9288d035e56820efb0e79db6acf5ba8.tar.gz
Update the DRM to latest from DRI CVS. This is approximately the version
included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users.
Diffstat (limited to 'sys/dev/drm/drm_init.h')
-rw-r--r--sys/dev/drm/drm_init.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/drm/drm_init.h b/sys/dev/drm/drm_init.h
index 3839432..432225f 100644
--- a/sys/dev/drm/drm_init.h
+++ b/sys/dev/drm/drm_init.h
@@ -31,7 +31,6 @@
* $FreeBSD$
*/
-#define __NO_VERSION__
#include "dev/drm/drmP.h"
#if 1 && DRM_DEBUG_CODE
@@ -108,13 +107,5 @@ void DRM(parse_options)(char *s)
*/
int DRM(cpu_valid)(void)
{
-#ifdef __linux__
-#if defined(__i386__)
- if (boot_cpu_data.x86 == 3) return 0; /* No cmpxchg on a 386 */
-#endif
-#if defined(__sparc__) && !defined(__sparc_v9__)
- return 0; /* No cmpxchg before v9 sparc. */
-#endif
-#endif /* __linux__ */
return 1;
}
OpenPOWER on IntegriCloud