Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Integrated 4.6.9p13 kernel part change.
Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn 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>
|