PD#SWPL-146509
Problem:
add new interface for di back
Solution:
1.add api for release buffer when unreg/reg
2.add api for post/pre num
Verify:
sc2
Change-Id: Ie1eadc81751b3ca6da2d1f337e94d54dc1455c6c
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
PD#SWPL-113283
Problem:
when use dma to read a small amount of data to a memory by kzalloc,
kzalloc memory len less than dma minimum handling length,
e.g. kzalloc one byte memory, but dma moves data with a width 64 bits,
so it would destroy the 7 bytes memory space on the right side of the
requested memory.
BUG: KFENCE: memory corruption in meson_nfc_exec_op+0x3b4/0x4c8
Corrupted memory at 0x00000000527f2fd0 [ ! ! ! ! ! ! ! . . . . . . . ]
meson_nfc_exec_op+0x3b4/0x4c8
nand_status_op+0x1ac/0x294
nand_erase_op+0x19c/0x328
nand_erase_nand+0x1d0/0x3cc
nand_erase+0x14/0x20
mtd_erase+0x174/0x1f0
mtdchar_ioctl+0x1c1c/0x2704
mtdchar_unlocked_ioctl+0x50/0x74
__arm64_sys_ioctl+0xa4/0x114
invoke_syscall+0x5c/0x140
el0_svc_common.llvm.4567374417812983254+0xb4/0xf0
do_el0_svc+0x24/0x84
el0_svc+0x2c/0xa4
el0t_64_sync_handler+0x68/0xb4
el0t_64_sync+0x1b4/0x1b8
kfence-#52: 0x00000000d4c8f37e-0x00000000d4c8f37e, size=1, cache=kmalloc-64
Solution:
align dma minimum handling length to kzalloc
Verify:
AT301_T962D4-K35E(1.5G) #256
Change-Id: I541b6acecaa9dd69ec6466bd7040af94b45ae596
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-154473
Problem:
other module can not get video real axis
Solution:
provide get video real axis function
Verify:
all chips
Change-Id: I0dae2a30c2841396cda7ee4bfefd57bfff186d59
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-141096
Problem:
add vdec unsupport format status use by media_hal
Solution:
add vdec unsupport format status use by media_hal
Verify:
txhd2
Change-Id: I2ecf78ac8e91ca912f331dc8a8ed8a6494610dd5
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
PD#SWPL-155145
Problem:
Tracer prints abnormally when playing hdr10 plus video
Solution:
fix the abnormal printing problem of tracer when
playing hdr10 plus video
Verify:
SC2
S5
Test:
DRM-TX-91
Change-Id: Ia081b5667bfb01d540c497faa32479c38b084da9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-135758
Problem:
there is no s7 pwm tee driver
Solution:
add pwm tee driver
Verify:
s7 pxp
Change-Id: If1ec9b943340687173827e114df1207001ec2daa
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
PD#SWPL-151874
Problem:
need do aipq for T5M.
Solution:
modify code to support.
Verify:
T5M
Change-Id: Ief28052e1df8f67fff4e291319511d48ca6e2075
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-151864
Problem:
dv not support different size for two slice
Solution:
vpp config same size for vd1 two slice, it means that
dv input size is same for two slice and overlap is
fixed 96. dv output size maybe different, it depends
on vpp slice[0].hsize and slice[1].hsize
Verify:
t3x
Change-Id: I9986a84968e63939843996ae59d42d82c7707c67
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-151748
Problem:
update hdmitx version for release.
sabrina u / kernel 5.15: hdmitx driver refactoring
sabrina release base from trunk11.20
audio mat question modified by cl:380286
Solution:
update hdmitx version
Verify:
verify on ohm
Test:
DRM-TX-40
Change-Id: Ie5ccf28423bbcecfdaddaf97a64fbfd692c3bf23
Signed-off-by: yahui.liu <yahui.liu@amlogic.com>
PD#SWPL-150752
Problem:
repeat frame cause scene change early.
Solution:
modify new frame do scene change detection.
Verify:
t5m
Change-Id: I1c798fb8da3308c1778184ce751263062bdea81f
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
PD#SWPL-145570
Problem:
code refactoring to determine allocating
buffer's size between Gralloc and Codec2
Solution:
set parameters to node for gralloc
Verify:
txhd2
Change-Id: I5812b4bf23b2697ebaf33674b7cb2dcc88025eba
Signed-off-by: xinli.gao <xinli.gao@amlogic.com>
PD#SWPL-147512
Problem:
LDIM requires a strict timing sequence to match with the vsync signal
Solution:
SPICC supports vsync/line-n triggering control, Add a interface to
start/stop the vsync triggering transfer for LDIM
Porting from 5.4 1f62b7d1
Verify:
t3 t982
Change-Id: Ida2f63cbe318dceebbe97514e41a588e4ea143d4
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-147883
Problem:
IV slot does not need cleaning.
Solution:
IV slot is not clean.
Verify:
S1A
Change-Id: Id5f9bf3b95573cacb53de2e85796b10ce96ea7be
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-130883
Problem:
need to support inline partition encryption
Solution:
add support inline partition encryption in
spi nand driver
Verify:
s1a
Change-Id: Iadb9b9ae121939ef37a3abbd603a5eec17500739
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
PD#SWPL-125462
Problem:
open the HDMI2.0 ,the color of image is changed
Solution:
add vf info for colorimetry
Verify:
t5m kernel5.15
Change-Id: I126786f130d59fe2977ad8ea46b921aadd302d67
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
PD#SWPL-142875
Problem:
deadlock will happen in mark bad block process.
Solution:
add rsv-ops interface in rsv-manage to avoid deadlock.
Verify:
c3
Change-Id: I3841a8d3ca8c8f48142828b03ba9aefdf21adc62
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
PD#SWPL-141054
Problem:
hdmi in top1+top2 idk case fail
Solution:
1.add top1 rdmif config for hdmi
2.modify chroma fmt to p444 for hdmi
because vdin dw is 444-10
3.support variable_fps
4.update hist read id only when vf content changed, to match
hist delay with cmodel
Verify:
t3x
Change-Id: Ib5a9bbb266d2105f4729afa12347ee8eb80fae3a
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-144572
Problem:
dewarp/ge2d interrupt resource usage between RTOS and Linux
Solution:
To avoid interfering with RTOS clock/power/interrupt resources,
turn on and keep power/clk first.
Poll the status of rtos,
then turn off power/clk and register interrupt.
Verify:
T7C
Change-Id: Ie2a3ae61df97c594324ffb3dde68d41250c946e3
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-143936
Problem:
show or hide video does not work
Solution:
add mute plane interface
Verify:
AP222
Test:
DRM-OSD-111
Change-Id: Ib5898c9a0bc3201d397a3a33a9c073f0799c3aee
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
PD#SWPL-141014
Problem:
txhd2 need to add media related thermal control
Solution:
1. add media cooling device. media module should call
media_cooling_register to register the cooling device.
and usually configure maxstate of the cooling device.
2. reconstruct cpucore cooling device.
Verify:
txhd2
Change-Id: I0576e0d91a3062b60f877a4e8577e4fe84e5f53b
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-143291
Problem:
mute function will use in other module isr
Solution:
remove it,and set mute use fixed bit
Verify:
txhd2
Change-Id: I7f09f1ea1efb6269eef6422b7e5730ecdadc484e
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-138069
Problem:
dv 444 low-latency not convert to 422 will abnormal
Solution:
dv 444 low-latency need convert to 422
Verify:
t5w
Change-Id: Iff9d00a31d135334feb5bc5943f82426768f5e31
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
PD#SWPL-142295
Problem:
vpp mute control conflict
Solution:
control on or off by module self
Verify:
txhd2
Change-Id: Id3f35903c5c409793fd303d0086975434e83e137
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-140211
Problem:
need update spinand info page.
Solution:
update new info page, for compatibility with A1 S1A C3.
Verify:
A1 S1A C3
Change-Id: I73ce561dc716aedd18ac2887af00fa912818794b
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
PD#SWPL-139694
Problem:
add more regs control in ddr cooling device
Solution:
add more regs control in ddr cooling device
Verify:
txhd2
Change-Id: I99c978d2034b3dcf01239752ce1a112f8e07afce
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>