From 1354a250023c5372ea9d24fe6917ec768776df41 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Mon, 7 Feb 2000 01:09:00 +0000 Subject: [PATCH] Added used arg to iload --- linux/mga_clear.c | 2 +- linux/mga_drm_public.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/mga_clear.c b/linux/mga_clear.c index 2a83218b..34da1ec0 100644 --- a/linux/mga_clear.c +++ b/linux/mga_clear.c @@ -233,7 +233,7 @@ static int mgaIload(drm_device_t *dev, drm_mga_iload_t *args) buf_priv->ContextState[MGA_CTXREG_MACCESS] = args->mAccess; buf_priv->nbox = 1; sarea_priv->dirty |= MGASAREA_NEW_CONTEXT; - + buf->used = args->used; d.context = DRM_KERNEL_CONTEXT; d.send_count = 1; d.send_indices = &buf->idx; diff --git a/linux/mga_drm_public.h b/linux/mga_drm_public.h index 26cebe03..cc051b38 100644 --- a/linux/mga_drm_public.h +++ b/linux/mga_drm_public.h @@ -127,6 +127,7 @@ typedef struct { unsigned int mAccess; xf86drmClipRectRec texture; int idx; + int used; } drm_mga_iload_t; /* Each context has a state: