summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
diff options
context:
space:
mode:
authorShawn Xiao <b49994@freescale.com>2015-05-14 20:13:13 +0800
committerPrabhu Sundararaj <prabhu.sundararaj@freescale.com>2015-05-15 11:18:16 -0500
commita49e3c68582c8b19b02ef42d48d18116628fc072 (patch)
treec418bc754bc083815bb189952344e0dd8ca48683 /drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
parent6edd31c921efb7d77c29ec3bb6911c39537d9c8e (diff)
MGS-722 [#ccc] Dump kernel command, event queue and DB status when GPU hang
To make it easy to debug GPU hang issue in 4.x driver, add the function to dump kernel command buffer, event queue and DB status when GPU hang. This logic only work when GPU hang, and have no side effect when GPU run well. Date May 6, 2015 Signed-off-by: Shawn Xiao <b49994@freescale.com>
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
index 6445a41e7810..ec770ad69f24 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal.h
@@ -2528,12 +2528,10 @@ gckCOMMAND_Detach(
IN gckCONTEXT Context
);
-#if gcdVIRTUAL_COMMAND_BUFFER
gceSTATUS
gckCOMMAND_DumpExecutingBuffer(
IN gckCOMMAND Command
);
-#endif
/******************************************************************************\
********************************* gckMMU Object ********************************