PD#SWPL-165584
Problem:
The missing parts in Kernel6.6 are patched from Kernel5.15.
Solution:
Porting from kernel5.15 to kernel6.6.
Verify:
sm1_ac200
Change-Id: I8251ddd66885e47314009e50981b190c4f74d51e
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
PD#SWPL-168978
PD#SWPL-169060
Problem:
The size of vdec_info and vframe_counter_s of
the kernel and player are out of sync causing
tsplayer AMSTREAM_IOC_GET_MVDECINFO to fail.
Solution:
force structures to be byte-aligned
Verify:
t5w s4d
Change-Id: I14f2388d82288cbaa97dbc309a486f908bf597db
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
PD#SWPL-160400
Problem:
remove amlogic media cooling device driver
Solution:
use thermal api to register media cooling device directly
Verify:
t3x
Change-Id: Ie9c5563e1809a1fed942b963a17648e104076486
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-164404
Problem:
Back permissions are not separated from
front permissions.
Solution:
Separate back's permissions from front
and control them separately
Verify:
s5
Change-Id: I9e6465d5b8b45143a51c440d1a24160ad80087fb
Signed-off-by: xing.xu <xing.xu@amlogic.com>
(cherry picked from commit ecb7e8f56c)
PD#SWPL-160457
Problem:
memcpy beyond individual struct members
Solution:
create a named mirror of an anonymous struct union
Verify:
sc2&sm1
Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
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>
(cherry picked from commit 6fca55e0c8)
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>
(cherry picked from commit e6a13e09e4)
PD#SWPL-160157
Problem:
add api to get input param for vpp when pre-link
Solution:
add api to get input param for vpp
Verify:
t5m
Change-Id: I5f1198c94dfc840f5024d1fdb61bda2f5c5e8f4e
Signed-off-by: rong.wang <rong.wang@amlogic.com>
PD#SWPL-147355
Problem:
due to lockup when dmc irq ratio is too high
Solution:
use dmc irq thread when irq ratio is too high
Verify:
local
Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-157145
Problem:
kernel6.6 need support bak spinlock
Solution:
1.Migrate the driver to ensure normal functions.
2.Add the mbox communication configuration address
Verify:
ba400 and av400
Change-Id: I35f29a83aacb6f8366aa226abd60d4dfea41f8b2
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#SWPL-155817
Problem:
too many module parameters make booting slowly
Solution:
change module parameters to video node
Verify:
a4
Change-Id: Id7f386e8e136a7f8cb34c71fe3ca76c8f869bd97
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-152551
Problem:
read chipid fail
Solution:
the chipid can be read by reading registers, but the register address is
set in DTS, which is prone to setting errors. It can be read through a
unified command, so there will be no previous problems.
Verify:
s905x2
Change-Id: I69b9e3236a338655e2fbc2293baa917d2c04312c
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-151245
Problem:
kernel6.6 will not distinguish different versions of kernel.
so we do not make compatibility code in 6.6.
Solution:
revert compatibility code for kernel 6.6.
Verify:
local
Test:
local
Change-Id: I24b8acac62cec05ffb2f637a86f91789f1d0b905
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
PD#SWPL-151470
Problem:
many of module parameters are no longer in use, but have not been deleted,
which affects memory and performance. all module parameters are now
disabled and can only be used after the application is approved.
Solution:
disabled all module parameters
Verify:
a4 a5
Test:
none
Change-Id: I27ee98a0437542d7b8a3da437c1525e0afded6b1
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-150034
Problem:
enable pagetrace for amlogic-6.6.
Solution:
update the function interface according to 6.6.
Verify:
local.
Change-Id: I48fef620a1da21a40f38da4abe59b44d211ce015
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-150782
Problem:
bring up kernel6.6
Solution:
fix some code problem
Verify:
sc2 c2 a4 a5
Test:
local
Change-Id: I6b9affa83e6d46f6b857f4b542991bc70de4bfb5
Signed-off-by: Dezhen Wang <dezhen.wang@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>