summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2004-07-10 19:14:18 +0000
committerJon Smirl <[email protected]>2004-07-10 19:14:18 +0000
commitbdf3e2ba1fa8c0505262e94effadd6cb81acce60 (patch)
tree62fe299645f90bfd76c51ad5a04e36b871cc9c7d /src
parent65293d8f73cfaf783607d8ba42648a43cb905cba (diff)
Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/fb/fb_dri.c11
-rw-r--r--src/mesa/drivers/dri/i810/server/i810_dri.c10
2 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_dri.c b/src/mesa/drivers/dri/fb/fb_dri.c
index 97f4e34f156..49ae5c98e8d 100644
--- a/src/mesa/drivers/dri/fb/fb_dri.c
+++ b/src/mesa/drivers/dri/fb/fb_dri.c
@@ -639,17 +639,6 @@ __driValidateMode(const DRIDriverContext *ctx )
return 1;
}
-/* HACK - for now, put this here... */
-/* Alpha - this may need to be a variable to handle UP1x00 vs TITAN */
-#if defined(__alpha__)
-# define DRM_PAGE_SIZE 8192
-#elif defined(__ia64__)
-# define DRM_PAGE_SIZE getpagesize()
-#else
-# define DRM_PAGE_SIZE 4096
-#endif
-
-
static int
__driInitFBDev( struct DRIDriverContextRec *ctx )
{
diff --git a/src/mesa/drivers/dri/i810/server/i810_dri.c b/src/mesa/drivers/dri/i810/server/i810_dri.c
index 2f3dfa159d2..17e0f4ead3f 100644
--- a/src/mesa/drivers/dri/i810/server/i810_dri.c
+++ b/src/mesa/drivers/dri/i810/server/i810_dri.c
@@ -24,16 +24,6 @@
#include "i810_reg.h"
-/* HACK - for now, put this here... */
-/* Alpha - this may need to be a variable to handle UP1x00 vs TITAN */
-#if defined(__alpha__)
-# define DRM_PAGE_SIZE 8192
-#elif defined(__ia64__)
-# define DRM_PAGE_SIZE getpagesize()
-#else
-# define DRM_PAGE_SIZE 4096
-#endif
-
static int i810_pitches[] = {
512,
1024,