diff options
author | Graeme Gregory <dp@xora.org.uk> | 2009-01-08 15:07:12 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-01-08 15:07:12 +0000 |
commit | bbe679bd3b3ddff5ab4b641c46a797da794a1c0d (patch) | |
tree | 09df91eacc6d9e7513f3ea1d21d7c7184c70a0a8 /src/glamo-cmdq.c | |
parent | fa0884c2e21faa01238d159e3a71ae6f4aa93bc8 (diff) |
glamo* : call correct initialiation function from kdrive and add more debug info
Diffstat (limited to 'src/glamo-cmdq.c')
-rw-r--r-- | src/glamo-cmdq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/glamo-cmdq.c b/src/glamo-cmdq.c index 42cf0e6..bcf8472 100644 --- a/src/glamo-cmdq.c +++ b/src/glamo-cmdq.c @@ -278,7 +278,7 @@ GLAMOEngineWaitReal(GlamoPtr pGlamo, GLAMO_LOG_ERROR("Timeout idling accelerator " "(0x%x), resetting...\n", status); - GLAMODumpRegs(pGlamo, 0x1600, 0x1612); + /*GLAMODumpRegs(pGlamo, 0x1600, 0x1612);*/ GLAMOEngineReset(pGlamo, GLAMO_ENGINE_CMDQ); GLAMOEngineEnable(pGlamo, GLAMO_ENGINE_2D); GLAMOEngineReset(pGlamo, GLAMO_ENGINE_2D); @@ -338,7 +338,7 @@ GLAMODispatchCMDQCache(GlamoPtr pGlamo) pGlamo->ring_write++; addr++; if (pGlamo->ring_write >= ring_count) { GLAMO_LOG_ERROR("wrapped over ring_write\n"); - GLAMODumpRegs(pGlamo, 0x1600, 0x1612); + /*GLAMODumpRegs(pGlamo, 0x1600, 0x1612);*/ pGlamo->ring_write = 0; } count--; @@ -346,7 +346,7 @@ GLAMODispatchCMDQCache(GlamoPtr pGlamo) if (TIMEDOUT()) { GLAMO_LOG_ERROR("Timeout submitting packets, " "resetting...\n"); - GLAMODumpRegs(pGlamo, 0x1600, 0x1612); + /*GLAMODumpRegs(pGlamo, 0x1600, 0x1612);*/ GLAMOEngineReset(pGlamo, GLAMO_ENGINE_CMDQ); GLAMODrawSetup(pGlamo); } @@ -453,14 +453,14 @@ void GLAMOCMDQCacheSetup(GlamoPtr pGlamo) { xf86DrvMsg(0, X_WARNING, - "here1\n"); + "GLAMOCMDQCacheSetup here1\n"); GLAMOCMDQInit(pGlamo, TRUE); xf86DrvMsg(0, X_WARNING, - "here2\n"); + "GLAMOCMDQCacheSetup here2\n"); if (pGlamo->cmd_queue_cache) return; xf86DrvMsg(0, X_WARNING, - "here3\n"); + "GLAMOCMDQCacheSetup here3\n"); pGlamo->cmd_queue_cache = GLAMOCreateCMDQCache(pGlamo); if (pGlamo->cmd_queue_cache == FALSE) FatalError("Failed to allocate cmd queue cache buffer.\n"); |