diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-06 21:36:01 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-06 21:36:01 +0200 |
commit | 2849e7956ff63403174ba19fce8c6585c269b4dd (patch) | |
tree | 2c73f52c55c4b1c67d506845337ba7d26c642db3 /drivers/mfd/glamo/glamo-cmdq.c | |
parent | ea9d004f7b0d5c93610a2abdcbdf54af2a871c4b (diff) |
Enable 3D enginegdrm-2.6.34
Turns out, this makes Mesa work a lot better.
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers/mfd/glamo/glamo-cmdq.c')
-rw-r--r-- | drivers/mfd/glamo/glamo-cmdq.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/mfd/glamo/glamo-cmdq.c b/drivers/mfd/glamo/glamo-cmdq.c index 28c52680398..706685dc6d6 100644 --- a/drivers/mfd/glamo/glamo-cmdq.c +++ b/drivers/mfd/glamo/glamo-cmdq.c @@ -465,10 +465,14 @@ int glamo_cmdq_setup(struct glamodrm_handle *gdrm) init_MUTEX(&gdrm->add_to_ring); - /* Enable 2D and 3D */ + /* Enable 2D */ glamo_engine_enable(gdrm->glamo_core, GLAMO_ENGINE_2D); glamo_engine_reset(gdrm->glamo_core, GLAMO_ENGINE_2D); + /* Enable 3D */ + glamo_engine_enable(gdrm->glamo_core, GLAMO_ENGINE_3D); + glamo_engine_reset(gdrm->glamo_core, GLAMO_ENGINE_3D); + /* Start by zeroing the command queue memory */ for ( i=0; i<GLAMO_CMDQ_SIZE; i+=2 ) { iowrite16(0x0000, gdrm->cmdq_base+i); |