PD#SWPL-128566
Problem:
tvp vendor hook not meet gki2.0
Solution:
use kprobe to get symbol.
Verify:
local.
Change-Id: I26160ebfa86ab98969bfd29d6cc0afa264b0270f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-113962
Problem:
For the surface -> no-surface scenario,
the surface holds the buffer and cannot be released,
resulting in excessive memory usage.
Solution:
For no-surface scenarios, recycle after the afbc buffer is output.
n addition, count the scatter mem allocated from the system.
Verify:
T5M
Change-Id: Ib35efd91ed315569753ca929e735680868aabc8e
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-101773
Problem:
fd is used in the upper layer to facilitate cross-process.
If the fd is closed, an exception will occur when used in the kernel.
Solution:
Change the input parameter fd to dbuf.
Verify:
sc2
Change-Id: I14788bbc7119b7a3a6d696eec495432e05e8aa12
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-92587
Problem:
1. Add codec2 es type support export private
meta data use pass hdr information
Solution:
1. Add codec2 es type support export private
meta data use pass hdr information
2. Change Dmabuf alloc return fd replace phyaddress
Verify:
S905X4-AH212
Change-Id: I9847ecfcb5c819b389583bf997f3a95134c9364e
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
PD#SWPL-86524
Problem:
Probability of scatter memory leak
when switching resolutions frequently.
The reason is that the scatter map is an array.
Since the buffer is not limited,
the number of buffers exceeds the upper limit of the array.
When alloc scatter memory,
there is no map array record.
And the release is unsuccessful, memory leaks occur.
Solution:
increase map array size.
Verify:
sc2
Change-Id: Iad837fb8d2b80a21a368d289b6826eae5860ee61
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-86524
Problem:
Probability of scatter memory leak
when switching resolutions frequently.
The reason is that the scatter map is an array.
Since the buffer is not limited,
the number of buffers exceeds the upper limit of the array.
When alloc scatter memory,
there is no map array record.
And the release is unsuccessful, memory leaks occur.
Solution:
Record the applied scatter context with linked list.
Verify:
sc2
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
Change-Id: Iae68510e5ab300b7ab58d7504c101556ca6d86e9