summaryrefslogtreecommitdiff
path: root/drivers/mxc/gpu-viv/hal/kernel/gc_hal_kernel_command.c
AgeCommit message (Collapse)Author
2015-05-15MGS-722 [#ccc] Dump kernel command, event queue and DB status when GPU hangShawn Xiao
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>
2015-05-15MGS-327 [#ccc] Unexpected exit like Ctrl-C cause Kernel crashShawn Xiao
Issue in MGS-327 happens when Apps exit unexpectedly such as receiving Ctrl-C terminated signal. This is caused by some operations like memory free are done twice. If the exit happens when ioctl back from kernel space, the event queue will have no chance to be freed but the events in the queue have been put to GPU. To prevent memory leak, when Apps exit GPU driver will clean the resource it occupied. So when flush the command buffer, the original event queue will be put to kernel again. This will lead the events in the queue will be redo. To avoid this problem, after the AddList operation in Kernel, clean the iface and copy it to user space. Once the same iface is transfered to kernel again, its key information will be null and it will not pass Addlist parameter check. So it will not be done twice. Date Dec 15, 2014 Signed-off-by: Shawn Xiao <b49994@freescale.com>
2013-10-30ENGR00278350 gpu:viante 4.6.9p13 kernel part integrationLoren HUANG
Integrated 4.6.9p13 kernel part change. Signed-off-by: Loren HUANG <b02279@freescale.com> Acked-by: Shawn Guo
2013-10-30ENGR00240988: gpu: copy gpu-viv driver from 3.5.7 kernelShawn Guo
This is a direct copy of folder drivers/mxc/gpu-viv from 3.5.7 kernel. Signed-off-by: Shawn Guo <shawn.guo@freescale.com>