summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXianzhong <b07117@freescale.com>2014-04-22 02:00:52 +0800
committerXianzhong <b07117@freescale.com>2014-04-22 17:22:49 +0800
commit800f0701de97fc92967c729d3f79002dd99a8d3e (patch)
tree1095ad008f7fae688631ff5587bb8a9ca7be5b49
parenteecd1867719d8280e9e3373884395e737fa7b9ad (diff)
ENGR00309582 [#1129] fixed context switch issue on GC400T
fixed 3D context switch issue, the original comments from Vivante Set command->using2D correctly when gcdCMD_NO_2D_CONTEXT = 1 this patch is to fix Android mess UI issue on GC400T Date: Apr 21, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 31ced071862c9e28d10c8680919637b716296786)
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
index cf43706cb2ec..3be171b2b959 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
+++ b/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
@@ -1520,6 +1520,8 @@ gckCOMMAND_Commit(
entryLogical = commandBufferLogical + offset;
entryAddress = commandBufferAddress + offset;
entryBytes = commandBufferSize - offset;
+
+ Command->currContext = gcvNULL;
}
else if (Command->currContext != Context)
{