PD#SWPL-188671
Problem:
Prealloc Mechanism based on multi decoder instance.
Solution:
Add an instance number attribute to adapt the pre-allocation mechanism
in multi-channel scenarios.
Verify:
T6d
Change-Id: Iec0248a761903816e4a11373ed34fb0b5cde1532
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-197863
Problem:
need support check_retry and exit logic for more lcd_extern usage
Solution:
add check_retry and exit cmd support
Verify:
ay301
Change-Id: I5e0fab730cffc1d6994b444d5152777552f83304
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-198192
Problem:
need transmit lcd bootargs to kernel
Solution:
update lcd bootargs transfer to kernel via lrm
Verify:
ay301
Change-Id: I662951fffd6aa14cb565ad0fb055986f900425f3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-201548
Problem:
different modules use different address path
of dev_ion.h
Solution:
move dev_ion.h to include/linux/amlogic/media/,
unify the address path of dev_ion.h
Verify:
ohm_wv4
Test:
kernel compile pass
Change-Id: I1c25128d86d36e4c5d0ea8dbd00c1872f0aac9d6
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
PD#SWPL-198828
Problem:
switch eye protect mode, color not change when dv enable
Solution:
add eye protect support when dv enable, except sink-led
Verify:
s905x4
Change-Id: I8e9a2d805cf6f1cd21410a86046d6779e5dec51f
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-196854
Problem:
ldim/tcon ko build failed
Solution:
main info
1. porting code from 5.15 to 6.12
2. last CL:500745
3. delete EDP related code
4. do not support unifykey
Verify:
sc2/s7d
Change-Id: I71b2e6a644373d2aaffa33bb783d4d2270b6e9d3
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
PD#SWPL-196779
Problem:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role
Solution:
add role file conrtol the usb mode:
/sys/class/usb_role/drd-role-switch/role
Verify:
crg usb
Change-Id: I471ea5d28cf8e70544d4add9b49b074f6dd56c54
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-199409
PD#SWPL-197196
Problem:
kernel 6.12 optimize code architecture
Solution:
hdmitx20 and 21 implement a common main entrance
hdmitx20 and 21 use common hdmitx_dev struct
Remove function pointer calls in drv.c
hdmitx: Implement a public main entrance
implement amhdmitx probe
implement amhdmitx remove
implement suspend/resume
Verify:
s905X4/s905X5M
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: Iddd4bcd97552f86a1c5fdd72f488705f9722c953
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-192100
Problem:
The 32-bit kernel cannot use the ramdump function.
Because the .text section is typically at 0x00108000,
which will be overwritten by the BL2E/BL33 after
reboot. And the PC side is unable to parse it.
Solution:
1. After kernel panic, use DMA to copy the 0-24MB
region to the 0x09000000 area.
2. Reboot to bl33z, fill compress_section[1] with
the 0x09000000 region.
3. Analyze it using the same method as before.
Verify:
sc2
Change-Id: I3e22beb06321289c6643d3f05ec2d910d5ce0beb
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-196869
Problem:
when pwm's clk be locked by tee, all pwm should follow tee.
so, should support wifi 32K on pwm tee module.
in case of clk of wifi's pwm channel being locked.
Solution:
add double channel to match wifi 32K legacy used.
Verify:
s6
Change-Id: I09a0ccbdf191ed31f86a6e3fc006672368eedd15
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-199195
Problem:
prevent the driver from relying on common related configs.
Solution:
remove the memory related configs in vendor driver.
Verify:
local.
Test:
build pass.
Change-Id: Ibbc35ccbee708bb26ab6ecd41522302f309bbb37
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-197097
Problem:
Support screenshot and crop features for AVBCD Wrapper.
Solution:
Support screenshot and crop features for AVBCD Wrapper.
depend on cl:
507199
Verify:
AH212
Change-Id: I8d48a0b6fc750d9a6140b6c42dced09e0f37580b
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
PD#SWPL-195582
Problem:
Support VP9/AV1 No Head
Solution:
Support VP9/AV1 No Head
Verify:
SC2
Change-Id: I9b9a6dc28098141c56b9fb8282a977a48925551a
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
(cherry picked from commit bf7c56d00e96e03869b2da3e6d33bd5c690f1445)
PD#SWPL-198594
Problem:
coverity issues in amfc driver;
Solution:
1, fix coverity issues;
2, sync driver to support 576Mhz freq;
3, check if soc support amfc;
Verify:
local
Change-Id: Ie0afa615f09fc79e7e4757b5066f3f5aa008e944
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-197735
Problem:
USB phy drivers are messy.
Solution:
Refactor usb phy driver to use phy apis and
group soc-related ops together in separated
soc-tagged file.
Gather scattered dts phy nodes and use one
core phy driver to parse them.
Verify:
s905x5m.
Change-Id: Ie01a105ba77df2d1de50df1cf5ed82b81b8027e5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-195922
Problem:
No amfc driver on 6.12
Solution:
add it
Verify:
local
Change-Id: I781fad57d8d0ecee60a9157a628fef23c2f2c76b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-186685
Problem:
src_crop has conflict with user crop and overscan setting
Solution:
1. Update crop calculation flow, apply src_crop and user crop together
2. pass the crop information to AFD module
Verify:
Verified on t5w
Change-Id: I8c0d7359153b5fcea5d4abf6abc3b2593bd9a4bc
Signed-off-by: brian.zhu <brian.zhu@amlogic.com>
(cherry picked from commit 45cae0f4e6)
PD#SWPL-189234
Problem:
support for vdec core interlace.
Solution:
support for vdec core interlace.
Verify:
S905X4
Change-Id: I64ecff0b113ca14ba64a455d465fcaadbad5fca3
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
(cherry picked from commit 5caba87741)
PD#SWPL-188294
Problem:
expend get video info ioctl to get vframe souce crop
Solution:
update api of get video info
Verify:
sc2
Change-Id: I6928c9d28d9123a062297a2c04e23af66f476669
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#SWPL-194784
Problem:
kernel6.12 UBSAN error:
index 141 is out of range for type 'struct dtd[16]'
Solution:
When dtd_idx is less than 15, idx++
Verify:
sc2
Test:
DRM-TX-38
Change-Id: I0cf5b2d6728e5f13770b0941eaf8ddb9e63e60f3
Signed-off-by: zhou.han <zhou.han@amlogic.com>
PD#SWPL-195155
Problem:
vpp needs to perform line skipping while high bandwidth
Solution:
add the corresponding flag check
Verify:
t5m
Change-Id: I0663dbb6dd0fb90058f8afba4ec7d75c76d77dc6
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
(cherry picked from commit 170cdf7d3d)
PD#SWPL-196879
Problem:
some page fall into cma pool, causing slow cma allocation.
Solution:
add GFP_NO_CMA flags.
Verify:
sc2.
Change-Id: I5a319b7ce85d735e14289786fb5b80cc59f73009
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>