]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blobdiff - drivers/misc/gcx/gccore/gcqueue.c
Merge branch 'p-ti-android-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
[android-sdk/kernel-video.git] / drivers / misc / gcx / gccore / gcqueue.c
index c5a1921c64e66791b9dd0b461f1952e83a116aea..32e7d9546fa5c43464be40b6140c3deb2df1ad2b 100644 (file)
@@ -772,6 +772,7 @@ static int gccmdthread(void *_gccorecontext)
                                GCSETFIELD(0, GCREG_CMD_BUFFER_CTRL,
                                        PREFETCH, headcmdbuf->count));
 
+                       GCDBG(GCZONE_THREAD, "queue restarted.\n");
                        GCUNLOCK(&gcqueue->queuelock);
                        continue;
                }
@@ -821,6 +822,7 @@ static int gccmdthread(void *_gccorecontext)
                                GCDBG(GCZONE_THREAD,
                                      "current location @ 0x%08X.\n",
                                      dmapc);
+                               GCGPUSTATUS();
                                GCUNLOCK(&gcqueue->queuelock);
                                continue;
                        }
@@ -846,6 +848,7 @@ static int gccmdthread(void *_gccorecontext)
                        if (!list_empty(&gcqueue->queue)) {
                                GCDBG(GCZONE_THREAD,
                                      "aborting shutdown to process events\n");
+                               GCGPUSTATUS();
                                GCUNLOCK(&gcqueue->queuelock);
                                continue;
                        }