summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_render.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_render.c b/src/mesa/drivers/dri/glamo/glamo_render.c
index 2ecd0c7682..f27d7fb452 100644
--- a/src/mesa/drivers/dri/glamo/glamo_render.c
+++ b/src/mesa/drivers/dri/glamo/glamo_render.c
@@ -99,9 +99,10 @@ static void glamoFlushPrim(struct glamo_context *gCtx)
gCtx->prim.vb);
/* Dispatch to the hardware */
- glamoDRMAddCommand(gCtx, G3D_STREAM_MODE_0, 4, 0x000f0300);
- glamoDRMAddCommandBO(gCtx, G3D_STREAM_BASE_0, 4, gCtx->prim.vb_bo);
- glamoDRMDispatchCmdq(gCtx);
+ glamoDRMStartBurst(gCtx, G3D_STREAM_MODE_0);
+ glamoDRMAddData(gCtx, 0x000f0300, 4);
+ glamoDRMAddBO(gCtx, gCtx->prim.vb_bo);
+ glamoDRMDispatch(gCtx);
/* Please use a new BO for the next buffer */
gCtx->prim.vb_bo = NULL;