From 47a56c579f88f1eff1d5862237c7bb56aeb50289 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 2 May 2009 19:10:40 +0100 Subject: Reorder startup of engines This just moves the engine enabling calls around a bit. Signed-off-by: Thomas White --- drivers/mfd/glamo/glamo-cmdq.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/mfd/glamo/glamo-cmdq.c') diff --git a/drivers/mfd/glamo/glamo-cmdq.c b/drivers/mfd/glamo/glamo-cmdq.c index 5742ddedf30..3f1db1aae51 100644 --- a/drivers/mfd/glamo/glamo-cmdq.c +++ b/drivers/mfd/glamo/glamo-cmdq.c @@ -255,11 +255,16 @@ int glamo_cmdq_init(struct glamodrm_handle *gdrm) { unsigned int i; + /* Enable 2D and 3D */ + glamo_engine_enable(gdrm->glamo_core, GLAMO_ENGINE_2D); + glamo_engine_reset(gdrm->glamo_core, GLAMO_ENGINE_2D); + /* Start by zeroing the command queue memory */ for ( i=0; icmdq_base+i); } + glamo_engine_enable(gdrm->glamo_core, GLAMO_ENGINE_CMDQ); glamo_engine_reset(gdrm->glamo_core, GLAMO_ENGINE_CMDQ); /* Set up command queue location */ -- cgit v1.2.3