PD#SWPL-176775
Problem:
scatter keep size need expand for vdin
Solution:
scatter user can set scatter keep size
by register scatter owner.
Verify:
ohm
Change-Id: I4be8af6dff0454cda9191666ec48cd1e03464127
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-143076
Problem:
mmu copy cannot access address over 4G.
Solution:
set alloc from dma32 zone when config_alloc_flags bit0 is set.
Verify:
S5
Change-Id: I142f182dff1509e591d20ed0e440a6851f8d7029
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
PD#SWPL-145646
Problem:
Adds debugfs for codec status management.
Solution:
Add codec state module, mainly collect and
manage codec status information, and facilitate
the management of the configuration of each module.
Verify:
ohm
Change-Id: I8f877a954f9873c4aa4d632e007a67c0a41ff2b1
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-142144
Problem:
Extends the type of dmabuf for info dumping.
Solution:
It supports the dump of commonly used of dmabuf info,
which are UVM, ES, and dmabuf heap. Please refer to
the confluence instructions for specific usage.
Verify:
ohm
Change-Id: I5f1482043c46ef983c37277bec1eb49cf70bd4fd
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-139469
Problem:
Dirty date in cacheline may pollute data in memory when
flush cacheline
Solution:
Use noncache mapping in afbc decompress lib
Verify:
T7C
Change-Id: I4f6ed2ad6473c0aaab80d175663434b38dfb2af5
Signed-off-by: zhentao.guo <zhentao.guo@amlogic.com>
PD#SH-16324
Problem:
enable CONFIG_DEBUG_SPINLOCK, system crash.
Solution:
not neable cma_mmu_op function when enable debug spinlock.
Verify:
local.
Change-Id: I61b7edb7c5026b72b7ac6e66c6e19304eca00a61
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
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