Remove DRM_PAGE_SIZE from fb and i810 drivers since it was being used.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user