PD#SWPL-136709
Problem:
pre_vsync rdma not work
Solution:
1. fix pre vsync rdma not work
2. add pre_vsync video process
Verify:
t3x_revb
Change-Id: Idea48258140934374b2be6e951d7128f3081604f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-141651
Problem:
Dmabuf don't put when check error in get vframe.
Solution:
Add put flow in get vframe.
Verify:
T3X
Change-Id: I095b15d8af3d54ba2e54c90021e1e12ca2db53c2
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-140007
Problem:
cannot get DV type from vframe->signal_type
Solution:
vframe->discard_dv_data set to flase means this video is DV
Verify:
tyson
Change-Id: I7da204885583481db7148919368a4d37101b1718
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
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>
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>
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>
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>
PD#SWPL-132066
Problem:
need to support video lowlatency
Solution:
video lowlatency optimize
Verify:
s1a-bg201
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Change-Id: Ie8a6f4c72314f9acf7202e7d86721403842d5499
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>
PD#SWPL-119274
Problem:
cma buffer has cache problem for the cts case
Solution:
add cache sync after allocation
Verify:
AndroidU ohm
Change-Id: I017f44108ac6f437fd963ef020159289fc848a9a
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
PD#SWPL-119524
Problem:
Due to the post-positioning of di,
the vb2 buffer is directly thrown from the decoder to the upper layer.
Since each vb2 buffer can only be returned by the upper layer,
it can be thrown to the upper layer again. For interlaced streams,
two fields need to be output, so the second field cannot be output.
Solution:
The capture dma buffer is allocated in the decoder.
uvm only allocates an empty shell,
which is actually allocated by the decoder and replaces the dma buffer.
Verify:
ohm
Change-Id: Ic93fc379ad35d873ed3ef2bb0c5312254a08dee5
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-133418
Problem:
di dynamic alloc canvas_id over 128
Solution:
chang canvas max number
Verify:
s1a
Change-Id: I0d9f594d65d80fd09133edce415c857160b48ad6
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-133158
Problem:
vdec power down by video
Solution:
fix it
Verify:
s1a
Change-Id: I4f6e5b75f3f9c1f8e3ce483b22bdfae732a9a3c3
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-132413
Problem:
need add api to get timestamp from vframe
Solution:
add api to get timestamp from vframe
Verify:
ohm
Change-Id: I1da571134ec677d2129caa919da11ad116ddc013
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
PD#SWPL-132781
Problem:
memory trasngression access
Solution:
add size check for 10bit
force to 8bit process when check fail
Verify:
sc2-android-u
Change-Id: I601d0da54490d88ab60f0c1a6041fab261637de8
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-133824
Problem:
the splash screen problem in the project test
Solution:
correct the addr of blending layer
Verify:
t7
Change-Id: Icd96b0256dc1b96845a4a06ad64e3e718ca870ad
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-130224
Problem:
aipq/aisr config need match n2m status.
Solution:
add config for aipq&aisr according to n2m status.
Verify:
t3x
Change-Id: I1707684be85e177dd3055bcb89b855737c71c9e5
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-132351
Problem:
Ctx memory out of bounds
Solution:
allocate extra memory for ctx
Verify:
t3x
Change-Id: Ifdc3527b125c071880f7fc700f664a0560286a34
Signed-off-by: yao liu <yao.liu@amlogic.com>
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>
PD#SWPL-130599
Problem:
add vpu clk 744M/768M support
Solution:
1.add vpu clk 744M/768M support
2.default clk set by dts, current is 800M
Verify:
t3x
Change-Id: Ic423cbda5279e2c23e207a81ae62e8c8431ac8f1
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-130223
Problem:
T3X need support aicolor.
Solution:
uvm need support ai color.
Verify:
T3X
Change-Id: Ie09cb131e3e01d811fdb4ea880a8164d32c408ec
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-130223
Problem:
T3X need support aicolor.
Solution:
uvm need support ai color.
Verify:
T3X
Change-Id: Ieb9d92a29961c98db4b484d4075a4bd693de48e8
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-130768
Problem:
hwc flag will lead to find hook mode fail
Solution:
remove hwc flag when do find hook mode
Verify:
verify on S T5M
Change-Id: I4dc65e6a1da670c3243e3362fc52a9037d167a9e
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
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>