Commit Graph

54 Commits

Author SHA1 Message Date
lele xiang c2247ff904 codec_mm: CF1 codec_mm optimization for slot centralization. [1/1]
PD#SWPL-138577

Problem:
codec_mm optimization for slot centralization.

Solution:
When a large number of scatter buffers are not used,
pages replacement is carried out so that
the corresponding slot can be released

Verify:
ohm

Change-Id: Ia2188f4afae8811230278e0a779cb583a92185d2
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-09-25 21:39:38 +08:00
Nanxin Qin a2da5907e0 media: CF1 add feature for dmabuf status dumping. [1/1]
PD#SWPL-137630

Problem:
codec mm adds the interface for dmabuf status dumping.

Solution:
The dmabuf infos interface is mainly used to view
the status of dmabuf and track the status that dmabuf
is referenced by a process. It can provide a convenient
way for memory leakage and find the leaking process.

Verify:
ohm

Change-Id: Ib2acf59ae1cc52e5b21c19afc1053fdf3b5e4bd7
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2023-09-14 13:29:12 +08:00
lele xiang ed9ade9e33 codec_mm: CF1 adjust the scatter alloc size and slot size. [1/1]
PD#SWPL-138573

Problem:
codec mm scatter allocation optimization.

Solution:
(1)adjust the size of scatter alloc unit to 512kb.
(2)adjust the slot size of scatter to 8MB

Verify:
ohm

Change-Id: Ia5d34bc1b6f12faa25f4949df5e0552e227c43ad
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-09-13 23:05:03 +08:00
Hao Shi 03cc914af2 codec_mm: free unused tvp_pool when mem not enough [1/1]
PD#SWPL-121008

Problem:
Codec_mm TVP_POOL Timely Release

Solution:
release unused tvp_pool when codec mem not enough

Verify:
SC2

Change-Id: If4078a5dd711f68086c62415fda9105423339438
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2023-09-13 22:31:06 +08:00
Jianxiong Pan 41f73dbdb3 mm: fix the multi-core startup crash problem caused by tvp. [1/1]
PD#SWPL-121825

Problem:
system crash when multi-core startup.

Solution:
alloc memory before clear page table.

Verify:
ohm.

Change-Id: If30f7b4163d6ddbe5eaf816b1ff7c3530c3601e9
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-09-13 20:37:27 +08:00
Hangyu Li e95b3a850f tee: rename AML_TEE,AML_OPTEE to AMLOGIC_AMLTEE,AMLOGIC_OPTEE [1/1]
PD#SWPL-136287

Problem:
The configuration name in kernel 5.15 is starting with "AMLOGIC_",
in order to unify configuration name, modify AML_TEE,AML_OPTEE to
AMLOGIC_AMLTEE,AMLOGIC_OPTEE.

Solution:
rename AMLTEE,AMLOGIC_OPTEE to AMLOGIC_AMLTEE,AMLOGIC_OPTEE

Verify:
Android + Kernel 5.15

Change-Id: I25be69bb990b7e86026790a9a64f64a473e9adfc
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-09-13 15:09:04 +08:00
kun.liu e41819e2d5 decoder: CF2 enrich information of not enough memory. [1/1]
PD#SWPL-132331

Problem:
Calling the codec_mm_dump function cannot fully print log information

Solution:
1.Optimize printing with not enough code mm
2.Adjust the codec mm printing method to fully output logs

Verify:
ah212

Change-Id: I969ba16bb4f22f07e8e59fde1e560cb459397504
Signed-off-by: kun.liu <kun.liu@amlogic.com>
2023-09-13 15:07:04 +08:00
shipeng.sun abffa8e6d1 dmabuf_manage: CB1 register channel info manage secmem resource [2/2]
PD#SWPL-133382

Problem:
register channel info manage secmem resource avoid codec2 service
or client crash secmem session doesn't release.

Solution:
register channel info manage secmem resource avoid codec2 service
or client crash secmem session doesn't release.

Verify:
S905X4

Change-Id: Iebe5d3cb4a404e6ce42f1274723e24cf1a829a32
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-07-26 00:11:51 -07:00
lele xiang 9e14a48cce codec_mm: CF1 Print index when alloc and release memory [1/1]
PD#SWPL-132333

Problem:
Print codec_mm alloc and release index

Solution:
Print codec_mm alloc and release index.

Verify:
sc2

Change-Id: I8e1d020ada122f12fb8eba3f464be9a933fb20fa
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-07-24 22:18:30 -07:00
shipeng.sun 9b4080fc3a dmabuf_manage: use secmem v2 implement secure vdec heap [1/3]
PD#SWPL-129785

Problem:
use secmem v2 implement secure vdec heap

Solution:
use secmem v2 implement secure vdec heap.

Verify:
sc2

Change-Id: If81debfd32ca00e2cf361c094e71392677d042de
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-07-20 05:12:22 -07:00
Hangyu Li bebc2f465a dts: config secure_vdec_reserved dts node [1/1]
PD#SWPL-132425

Problem:
1.secure_vdec_reserved memory should be reserved as no-map.
2.in some devices secure_vdec_reserved may exceed 4G.
3.tee_register_mem() in codec_mm.c should not force parameter as u32 type.

Solution:
1.add no-map attribute for secure_vdec_reserved dts node.
2.limit secure_vdec_reserved reserved in 0x0-0xe0000000 for some devices.
3.remove u32 type casting when call tee_register_mem().

Verify:
Android R + kernel5.15

Change-Id: Ife8cac2c4a4821a310d998766e69677c6eb2984e
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-07-19 21:22:55 -07:00
Hao Shi 817f86d43c scatter: add scatter watermark [1/1]
PD#SWPL-120929

Problem:
a new scatter watermark

Solution:
set a minimum size for cma, and calculate
the remaining cma size as the maximum size
that can be allocated by scatter.

Verify:
sc2

Signed-off-by: Hao Shi <hao.shi@amlogic.com>
Change-Id: I56e251c783d19795cc87ce2831c134863ed3408e
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2023-07-07 06:54:38 -07:00
Jianxiong Pan c0bb9c0310 mm: clear tvp secure memory use kprobe. [1/1]
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>
2023-06-21 01:09:27 -07:00
shihong.zheng ee1d37b567 codec_mm: CB1 add lock for list operation. [1/1]
PD#SWPL-126795

Problem:
release callback list is found corruption
and crash.

Solution:
change spinlock range, add list_del_init to
spinlock range.

Verify:
T963D4

Change-Id: I1a234172a948194f69928ed941f68d15954bee28
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2023-06-20 21:00:37 -07:00
shipeng.sun 5dbe3fd8ef codec_mm: CB2 Large cma size out of 32 bit data size [1/1]
PD#SWPL-128403

Problem:
Large cma size out of 32 bit data size

Solution:
Large cma size out of 32 bit data size when cal tvp segment
size, use division instead of multiplication.

Verify:
t3x

Change-Id: I5e0d3f2e034c33a9bd116b03a7d9a8d412c46c77
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-06-20 01:51:49 -07:00
shipeng.sun c411b83923 codec_mm: CB2 Separate 1 tvp range to 2 4K DRM playback [1/1]
PD#SWPL-119005

Problem:
CB2 Separate 1 tvp range to 2 4K DRM playback

Solution:
For 4K playback need more than 300M TVP Memory, cma memory exchange
maybe consume more than 1s will lead codec2 timeout, separate to 2
tvp range, and the second range will protect async doesn't block codec2
process..

Verify:
ohm

Change-Id: I1b8e182b72d6b810a767d8e34cb52e79c945765a
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-25 02:10:41 -07:00
shipeng.sun 9b3a4a7fd9 dmabuf: CF2 Support secure stream in dynamic free [1/5]
PD#SWPL-103836

Problem:
Support secure stream in dynamic free

Solution:
1.Support secure stream in dynamic free

Verify:
S905X4

Change-Id: Ifbf4065b57d539ff783f843e8089cda253abcd0a
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-05 03:23:45 -07:00
shipeng.sun 297ee8ed73 tee: reserve secure vdec memory from codec_mm [2/2]
PD#SWPL-121307

Problem:
reserve secure vdec memory from codec_mm instead of reserve in BL32

Solution:
reserve secure vdec memory from codec_mm transfer secure
vdec memory to secureos

Verify:
T5M + android R

Change-Id: Iaf6e53a295bea6e63969977cd0792c91f8d1952b
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-05-04 03:28:53 -07:00
hui.lin 593bd09ddf dma_manage: put video filter fd [1/1]
PD#SWPL-117620

Problem:
Play Specific stream switch channel no aduio output

Solution:
1.get video filter fd increase the ref of file
2. need to put video filter fd

Verify:
ohm

Change-Id: I84069d9af1c08669900a7368770a63244b689d3e
Signed-off-by: hui.lin <hui.lin@amlogic.com>
2023-04-27 06:43:21 -07:00
miaohong chen aeaac4ebea codecmm: CB2 Crash or green screen occurs when memory is insufficient. [1/1]
PD#SWPL-117836

Problem:
When the memory is insufficient,
codecmm forcibly releases the cache,
causing the address of the scatter mem pointed to
in the avbc header to become invalid,
and an address exception access occurs.

Solution:
codecmm does not release the cache when the memory is insufficient.

Verify:
T5M

Change-Id: Ie3068506a26d5e480fe8e089e7bdb09b5fd45477
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
2023-04-18 00:26:17 -07:00
shipeng.sun d23e994fc7 resman: add media resource dump node support [1/1]
PD#SWPL-117920

Problem:
Add media resource dump node support

Solution:
1. Add media resource dump node support.

Verify:
SC2

Change-Id: Ifc27a78289cbc489c8dad2250ddf48fd2d3d4515
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-04-10 07:06:21 -07:00
Dezhi Kong be7cc61fb6 uvm: add valhall support for t5m [1/3]
PD#SWPL-113559

Problem:
valhall don't support lazy map process
t5m don't support video screencap
cts accuracy will fail on t5m

Solution:
add valhall support

Verify:
T5M

Change-Id: I3ade8ff97aad9d9cb03286ed7c0a788d1a640317
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2023-03-29 00:13:06 -07:00
shihong.zheng 868b72dd1d codec_mm: scatter sys alloc flag config conditionally. [1/1]
PD#SWPL-113445

Problem:
t5m dos should not access ddr1. codec_mm cma is not enough.
for some cases.

Solution:
when ddr0 is limited to DMA32_ZONE, scatter could be
alloced from DMA32_ZONE when configuration is set.

Verify:
T963D4

Change-Id: Ibb93676dfa403f1ac789f8d03c92ab9369708d61
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2023-03-15 08:09:14 -07:00
miaohong chen 98b3b5414e v4ldec: CF2 scatter mem saving optimization [1/2]
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>
2023-03-12 23:13:30 -08:00
Wanwei Jiang 355c200523 cma: compatible with common14-5.15 [1/1]
PD#SWPL-109858

Problem:
the interface of function cma_alloc change

Solution:
modify it to compatible with common14-5.15

Verify:
sc2

Test:
bring up to home

Change-Id: I6edac5d1bcc17de4f0edabdb5b254debef592d72
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-02-23 05:46:08 -08:00
Jianxiong Pan 6848082746 tvp: fix cma_mmu_op builtin fail. [1/1]
PD#SWPL-109588

Problem:
build failed when set codec mm builtin.

Solution:
add macro to cma mmu operation.

Verify:
build pass.

Change-Id: I71c568101a61a5f7317757233591b03c8bd4fed5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-02-21 04:46:14 +00:00
Jianxiong Pan 5498b9ad89 tvp: add cma_mmu_op api for clear or set page pte. [1/1]
PD#SWPL-109588

Problem:
serror when access tvp secure area.

Solution:
add page pte operation api.

Verify:
t7c.

Change-Id: I200b9d4fada3c3697caaae0660e0615ebb9beefb
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2023-02-12 18:42:11 -08:00
Hao Shi e1deae5f0a codec_mm: read /dev/media crash [1/1]
PD#SWPL-107965

Problem:
Passing user-space buffer to kernel-space parameters.

Solution:
Copy the user-space buffer to kernel-space.

Verify:
ohm

Signed-off-by: hao.shi <hao.shi@amlogic.com>
Change-Id: Ibcb71402b5120263096a4eb926634bff15821284
2023-01-15 04:17:18 -08:00
Hao Shi 1bd9ba4c9e codec_mm: modify tvp align order [1/1]
PD#SWPL-105119

Problem:
Reduce the alignment width for tvp memory allocation.

Solution:
Reduce the tvp alignment to 64KB.

Verify:
ohm

Change-Id: I03c0057cd3d076647ee90b8689b7be5a69c3b14b
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2023-01-04 23:05:23 -08:00
shipeng.sun f34ad90b35 codec_mm: Correct mixed log for enable tvp [1/1]
PD#SWPL-106612

Problem:
Tvp enabled by codec_mm itself, but tvp_enable doesn't setting
value generate some mixed log.

Solution:
Correct log when codec_mm enable tvp by itself for support
dynamic allocate tvp platform.

Verify:
ohm

Change-Id: Idca8118f296cee8150f39c77158e833b7ff9ee10
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2023-01-04 01:06:57 -08:00
Hao Shi 21016dc713 codec_mm: Typo Check modify [1/1]
PD#SWPL-103471

Problem:
media_modules V6 support kernel5.4.

Solution:
compatible with different symbols on 5.4 and 5.15.

Verify:
ohm

Change-Id: If76ef19734bbbdb533f63418be6e793c77deb45f
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2022-12-31 06:19:20 -08:00
Hao Shi d8e29e3d23 codec_mm: modify redefine error when media buildin [1/1]
PD#SWPL-104506

Problem:
redefine error when media buildin

Solution:
only define when buildin

Verify:
ohm

Change-Id: I2c7d229528ad52cdcec404abf4fcc68847390091
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2022-12-11 22:26:11 -08:00
hongyu.chen 6718d92f27 demux: uapi header file rectification. [2/4]
PD#SWPL-103754

Problem:
uapi header file rectification.

Solution:
uapi header file rectification.

Verify:
AH212/S905X4

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: I1b5c71a29c18ee354b3a8b5c4f086017f350bd33
2022-12-11 22:25:58 -08:00
miaohong chen 2d7aacf4b3 dma_manage: CB2 Optimize related interfaces input parameters. [1/1]
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>
2022-12-07 02:02:30 -07:00
shipeng.sun 82b7255381 dmabuf: CB1 Correct wrong keyword of code [1/1]
PD#SWPL-103486

Problem:
Correct wrong keyword of code

Solution:
Correct wrong keyword of code

Verify:
ohm

Change-Id: Ia5507fa91db33491b1786d514deb0cb5907c1f54
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-12-04 23:30:48 -07:00
kun.liu f4118886a9 decoder: CB2 Update max allocated value in codec_mm. [1/1]
PD#SWPL-101995

Problem:
In codec_mm,alloced size is greater than the value of the max alloced

Solution:
Update max allocated value

Verify:
ah212

Change-Id: I599bbedcddd06373e43cb83f947dc45c82c8c6cc
Signed-off-by: kun.liu <kun.liu@amlogic.com>
2022-11-30 00:52:07 -07:00
Hao Shi 97ea26087c codec_mm: resolve coverity defect error [1/1]
PD#SWPL-100720

Problem:
codec_mm coverity defect cleanup

Solution:
codec_mm coverity defect cleanup

Verify:
coverity

Change-Id: I12cf01be1a31b03fdaee61b546347e578a2d5d68
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2022-11-21 22:36:55 -07:00
hongyu.chen e2a8847d97 demux: remove the modification to the uapi/linux/dvb header file. [2/3]
PD#SWPL-98901

Problem:
cant not modify uapi/linux/dvb header file.

Solution:
move the modification of uapi/linux/dvb to the new header file.

Verify:
no verify.

Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
Change-Id: Ifa3a53b90124cec94ce8b6f7ec93e6a96f9a7878
2022-11-21 22:36:19 -07:00
lele xiang 2257c615e3 codecmm: CF0 system hung codec_mm_release. [1/1]
PD#SWPL-96983

Problem:
the same task used the mutex tvp_protect_lock twice

Solution:
Add the conditional restrictions to avoid the repeated using of one mutex.

Verify:
ah212

Signed-off-by: lele xiang <lele.xiang@amlogic.com>
Change-Id: I820b61ed29baeeebd2714552d87cf70e0aaa8f07
2022-10-13 02:04:51 -07:00
shipeng.sun 1dbe62db12 dmabuf_manage: setting minimum secure vdec support 4M [1/1]
PD#SWPL-95422

Problem:
setting minimum secure vdec support 4M

Solution:
When create secure vdec pool add equal conditions to
support minimum 4M size.

Verify:
805X2

Change-Id: I46c54483c728b888e2038f2ae2eef25e26b39953
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-10-10 18:27:13 -07:00
Jianxiong Pan 84db0bfa95 gki: not export cma_mmu_op() func to meet gki requirements. [1/3]
PD#SWPL-94445

Problem:
the system cannot export new func for ko.

Solution:
not export cma_mmu_op() func.

Verify:
sc2_a212.

Change-Id: I8e146339f51838cc004739af77496111152df9ca
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2022-10-01 00:43:53 +08:00
shipeng.sun f19a58f503 damabufmanage: CF1 Add codec2 clear es support [1/1]
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>
2022-09-07 20:06:45 +08:00
pengzhao.liu b946ffb848 typo: clear typo problem [1/1]
PD#SWPL-89627

Problem:
clear typo problem

Solution:
clear typo problem

Verify:
s4d

Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
Change-Id: I9121c9d4b54df9b9a7c244182693e0fd616f5a9e
2022-09-07 20:06:45 +08:00
hao.shi 7d9ab78c59 codec_mm: keeping addr print style consistent [1/1]
PD#SWPL-90182

Problem:
keeping addr print style consistent.

Solution:
keeping addr print style consistent.

Verify:
sc2

Signed-off-by: hao.shi <hao.shi@amlogic.com>
Change-Id: I411c74b7372a84f02dd51e516965f36da4d24786
2022-09-07 20:06:44 +08:00
shipeng.sun c85cede1b4 damabufmanage: CB1 Revert Last daptive v4l2 design avoid memory commit [1/1]
PD#SWPL-90160

Problem:
1. Revert Last daptive v4l2 design avoid memory commit

Solution:
1. Revert Last daptive v4l2 design avoid memory commit
2. Update secure vdec pool configurate variable

Verify:
S905X4

Change-Id: Ia444121462982811ee114900ce563218772efec5
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-09-07 20:06:44 +08:00
shipeng.sun 0c40a7cedb damabufmanage: CF1 support alloc cma memory [1/1]
PD#SWPL-88808

Problem:
1.support alloc cma memory by dmabufmanager
2.update secure vdec dmabuf pool

Solution:
1.support alloc cma memory by dmabufmanager
2.Update secure vdec dmabufpool capacity by maxallocsize

Verify:
S905X4-AH212

Change-Id: I3ca8ceec06097eb848072cc45d5b7bd7b3d854ac
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-09-07 20:06:43 +08:00
Miaohong Chen 0d2fdc169a codec_mm: CB2 Scatter memory leakage. [1/1]
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>
2022-09-07 20:06:43 +08:00
chuangcheng peng 7687f59168 dvb-core: use origion dvb-core in kernel [2/2]
PD#SWPL-89132

Problem:
use dvb-core to ko

Solution:
put aml modification to dvb-core

Verify:
not verified, compile pass

Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
Change-Id: If400a437e48a4e1c0f8193b56e2f54d06660e806
2022-09-07 20:06:43 +08:00
miaohong chen f02304af39 codec_mm: CB2 Scatter memory leakage. [1/1]
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
2022-09-07 20:06:42 +08:00
shipeng.sun 66a6d829f7 dmabuf: Support dmabuf manager implement v3 [1/1]
PD#SWPL-89594

Problem:
Support dmabuf manager implement v3

Solution:
Support dmabuf manager implement v3, sync some code from
kernel 54.

Verify:
ohm

Change-Id: Ifd46d14c6de1514306f21a0ff10f21565f1600ca
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
2022-09-07 20:06:42 +08:00