Ding Wei 121c639a94 video: rockchip: mpp: fix issue for task free meet null pointer
1. mpp_free_task is called in several places.
2. The user space wait fails and free session immediately,
   while, the ISR thread is still working, then mpp_dma_release
   will meet session null.

Call trace:
__ll_sc___cmpxchg_case_acq_8+0x4/0x20
mpp_dma_release+0x1c/0x50
mpp_task_finalize+0x80/0xc8
vepu_free_task+0x14/0x30
mpp_free_task+0x44/0xc0
mpp_taskqueue_pop_running+0xf8/0x100
mpp_task_finish+0x84/0x160
vepu_isr+0x54/0xe0
mpp_dev_isr_sched+0x48/0x98

Change-Id: I315a01d700791fa50dfed67175c77e5d733fe30d
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
2020-07-20 16:57:50 +08:00
2020-03-03 07:33:01 +01:00
2020-07-02 10:21:15 +08:00
2020-06-09 22:19:16 +08:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%