summaryrefslogtreecommitdiff
path: root/drivers/mxc/vpu_windsor/vpu_encoder_rpc.c
AgeCommit message (Collapse)Author
2020-05-25LF-1406-2:[8QM_MEK/8QXP_MEK]mxc:vpu_windsor: support insmod repeatlyMing Qian
1. the mu won't be really power off, so we need restore the mu but not initialize it 2. the vpu is shared with vpu malone, so we don't do vpu reset when remove module. Signed-off-by: Ming Qian <ming.qian@nxp.com>
2020-01-07LF-711:[8QM_MEK/8QXP_MEK]mxc:vpu_malone:stream may hang due to the eventMing Qian
msg hasn't process in time firmware write event message to message buffer, and trigger an interrupt, driver will read the message and store it into a fifo. and call queue_work. If the work is scheduling but have exited the while loop, it may cause the event won't be processed until another event received. So in some case, the stream may hang as the next event is depends on the driver process the current event. vpu_windsor may have the same issue. Signed-off-by: Ming Qian <ming.qian@nxp.com>
2019-12-18LF-503:[8QM_MEK/8QXP_MEK]mxc:vpu_malone:check space of cmd bufferming_qian
Check the space of cmd buffer before write cmd, if the wptr equals to rptr, it'll be treated as empty, so we can't write to full. Signed-off-by: ming_qian <ming.qian@nxp.com> Acked-by: Shijie Qin <shijie.qin@nxp.com>
2019-11-25Add Malone decoder and windsor encoder for QXP/QMZhou Peng
Add vpu driver: drivers/mxc/vpu_malone drivers/mxc/vpu_windsor Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>