From c61c7cb8e4100476d5feb976c39a23b1ed7b564a Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Tue, 29 Jun 2004 04:50:29 +0000 Subject: This should make most linux-solo drivers work again. Mainly a fix for changing SAREA size form DRM_PAGE_SIZE to SAREA_MAX. fb driver is still broken. --- src/mesa/drivers/dri/r128/server/r128_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/r128/server') diff --git a/src/mesa/drivers/dri/r128/server/r128_dri.c b/src/mesa/drivers/dri/r128/server/r128_dri.c index 6d577483cc..fff2549aef 100644 --- a/src/mesa/drivers/dri/r128/server/r128_dri.c +++ b/src/mesa/drivers/dri/r128/server/r128_dri.c @@ -747,7 +747,7 @@ static GLboolean R128DRIScreenInit(DRIDriverContext *ctx) } info->registerSize = ctx->MMIOSize; - ctx->shared.SAREASize = DRM_PAGE_SIZE; + ctx->shared.SAREASize = SAREA_MAX; /* Note that drmOpen will try to load the kernel module, if needed. */ ctx->drmFD = drmOpen("r128", NULL ); -- cgit v1.2.3