diff options
author | anholt <anholt@FreeBSD.org> | 2004-06-11 03:26:59 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2004-06-11 03:26:59 +0000 |
commit | be5dc242b6a2d2549e38e77baf82adb7b33b042b (patch) | |
tree | dc68be4b837d82c81a81bb2cec14ded275766e76 /sys/dev/drm/drm_sarea.h | |
parent | da6e1707d47446b0f3de71fd5a924233a2168f65 (diff) | |
download | FreeBSD-src-be5dc242b6a2d2549e38e77baf82adb7b33b042b.zip FreeBSD-src-be5dc242b6a2d2549e38e77baf82adb7b33b042b.tar.gz |
Merge from DRI CVS as of 2004-05-26. Most of the meat is new PCI IDs and a new
packet for Radeon.
Diffstat (limited to 'sys/dev/drm/drm_sarea.h')
-rw-r--r-- | sys/dev/drm/drm_sarea.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_sarea.h b/sys/dev/drm/drm_sarea.h index 093aca6..45bef82 100644 --- a/sys/dev/drm/drm_sarea.h +++ b/sys/dev/drm/drm_sarea.h @@ -2,7 +2,7 @@ * \file drm_sarea.h * \brief SAREA definitions * - * \author Michel Dänzer <michel@daenzer.net> + * \author Michel D�zer <michel@daenzer.net> */ /* @@ -34,9 +34,23 @@ #ifndef _DRM_SAREA_H_ #define _DRM_SAREA_H_ +#include "dev/drm/drm.h" + +/* SAREA area needs to be at least a page */ +#if defined(__alpha__) +#define SAREA_MAX 0x2000 +#elif defined(__ia64__) +#define SAREA_MAX 0x10000 /* 64kB */ +#else +/* Intel 830M driver needs at least 8k SAREA */ +#define SAREA_MAX 0x2000 +#endif + /** Maximum number of drawables in the SAREA */ #define SAREA_MAX_DRAWABLES 256 +#define SAREA_DRAWABLE_CLAIMED_ENTRY 0x80000000 + /** SAREA drawable */ typedef struct drm_sarea_drawable { unsigned int stamp; |