Commit Graph

664 Commits

Author SHA1 Message Date
ruofei.zhao 9a3eedf287 hdmitx: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-191974

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-TX-5

Change-Id: I41a123996765919fb59de27a03e2822087f3ed44
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-11-07 05:53:03 -08:00
xiang.wu1 3ae279e31d hdmitx: Encapsulate hdcp api and remove drm callback [1/1]
PD#SWPL-186410

Problem:
need encapsulate hdcp api and remove drm callback

Solution:
1.remove drm hdcp callback
2.encapsulate drm hdcp api in hdmi common directory
3.move tx20 meson_hdcp.c code to tx20 hdmi_tx_hdcp.c
4.the differences in the HDCP process in the DRM HDCP API
are implemented in the TX20 and TX21 files respectively.

Verify:
SC2

Test:
DRM-TX-80

Change-Id: If9d995f06eb365a3fc4006be9949a83f89f8346d
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2024-11-06 21:59:12 -08:00
xing.xu 8b94b653b7 bandwidth: CF1 Single-frame Bandwidth Sampling [1/1]
PD#SWPL-179304

Problem:
Single-frame Bandwidth Sampling

Solution:
Chips before s6 use the DMC method to get the bandwidth
value of a single frame, chips after s6 use the decoder
internal method to get the bandwidth value of a single frame.

Verify:
s6.s7

Change-Id: I135d98a0087733c5df34c7e8f9be39f8f2c96741
Signed-off-by: xing.xu <xing.xu@amlogic.com>
2024-11-04 23:36:13 -07:00
hualing chen bce7e35cc0 media_proxy: CB2 move proxy to kernel common for 5.15. [1/8]
PD#SWPL-177051

Problem:
1  Di module can not call proxy api for 5.15.

Solution:
1  Move MediaProxy to kernel common for 5.15.

Verify:
t5m

Change-Id: I573f51392c809b77bf6a2e8194a4a3a451f1cc35
Signed-off-by: hualing chen <hualing.chen@amlogic.com>
2024-11-04 23:35:46 -07:00
zhenteng.tian 7f3da58ff7 display: change omx_index to frame_index in vf. [1/1]
PD#SWPL-188419

Problem:
change omx_index to frame_index for kernel 6.12

Solution:
change omx_index to frame_index for kernel 6.12

Verify:
SC2

Change-Id: I277a3a36953953fe470bb2b9c1758d60b2a28722
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
2024-11-04 23:35:28 -07:00
gan.zhang afdceb26b1 decoder: CB2 Pass the under input information to the upper layer. [1/3]
PD#SWPL-179486

Problem:
In stream mode, when the decoder cannot decode the data, it
needs to pass the under input information to the upper layer.

Solution:
Pass the under input information to the upper layer.

Verify:
Ohm

Change-Id: I55530bcd0085c87dfa752ca831ee76b070c1bce4
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
(cherry picked from commit a47ac8298b)
2024-11-04 23:34:24 -07:00
Hangyu Li d00d7e7181 tee: add secure table API [1/1]
PD#SWPL-176853

Problem:
provide API for t6d secure table function

Solution:
add API for t6d secure table

Verify:
t6d

Change-Id: If9aaf0dee3c970a5de73428b29c3f7e24f71a0b3
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2024-11-04 23:33:20 -07:00
Hao Shi 1c59f2f201 codec_mm: synchronization with kernel5.15 [1/1]
PD#SWPL-188419
PD#SWPL-188420

Problem:
synchronization with kernel5.15

Solution:
synchronization with kernel5.15

Verify:
adt4

Change-Id: If3b112e79d62d1b63f537110a86f3e5966ac33f3
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-11-04 01:59:28 -07:00
Liming Xue d64c1cade0 thermal: kernel6.12 add ddr thermal control driver [1/1]
PD#SWPL-185025

Problem:
refactoring ddr control driver

Solution:
add ddr control driver

Verify:
sc2

Change-Id: I4a04a49064d88aff0cd90784dcdc6e5b05a53920
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-11-01 00:50:36 -07:00
Zelong Dong 18410be2c8 mailbox: support device id & command for IR [1/3]
PD#SWPL-182441

Problem:
support device id & command for IR

Solution:
support device id & command for IR

Verify:
t6d

Change-Id: I42f6a0117cf8ce3891c9a97885ad3216d54a0f29
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2024-10-28 17:05:03 +08:00
shipeng sun bad2afe409 media_video: sync codec_mm/dmabuf_manage driver [1/1]
PD#SWPL-188425

Problem:
sync codec_mm/dmabuf_manage driver

Solution:
sync codec_mm/dmabuf_manage driver

Verify:
sc2_ah212

Change-Id: Ic58fc1ee0d4d5edbbd9e0f2c33764aefdc8e6c86
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
2024-10-23 21:57:30 -07:00
Jianxiong Pan 2e3b0ba666 mm: 32bit: add pagetrace function. [1/1]
PD#SWPL-188508

Problem:
add pagetrace debug tool

Solution:
track page alloc and free info.

Verify:
sc2.

Change-Id: I7efc3d90fc1fbfe8df1b5c2a051623ae3354d0f1
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-23 19:23:46 +08:00
Jianxiong Pan daf7531fc9 mm: 32bit: enable amlogic cma. [1/1]
PD#SWPL-188508

Problem:
add amlogic cma.

Solution:
boost cma alloc.
add more debug info.

Verify:
sc2.

Change-Id: Id9e7d96e635d7c4ebb2fe7c55859855377305f06
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-10-23 01:45:08 -07:00
Ao Xu 6cc9aab0a3 drm: sync 5.15 CL to 6.12 drm driver [1/1]
PD#SWPL-188410

Problem:
6.12 drm driver bringup

Solution:
sync 5.15 CL to 6.12 drm driver
delete CONFIG_AMLOGIC_KERNEL_VERSION related code

Verify:
sc2

Test:
DRM-OSD5,DRM-OSD-16

Change-Id: I27819e8d5c733961e0816a84050d0367f22df8fe
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-10-17 22:46:45 -07:00
Zhongfu Luo e0d45b543e efuse: add efuse_obj encrypted data write command [1/1]
PD#SWPL-189350

Problem:
add efuse_obj encrypted data write command

Solution:
add efuse_obj encrypted data write command

Verify:
SC2 AH219

Change-Id: Ib69518de4d8eb33c0681a6f8ccdec9ad7009c2a3
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2024-10-16 20:20:54 -07:00
song.han 095ef042a5 iotrace: add preempt protections at hooks [3/4]
PD#SWPL-185970

Problem:
BUG: sleeping function called from invalid context
	at kernel/sched/completion.c
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1,
	name: swapper/0
Preemption disabled at:
[<c0428468>] queue_stop_cpus_work+0x60/0x1bc
[<c030dc24>] show_stack+0x28/0x2c
[<c105e624>] dump_stack_lvl+0x48/0x54
[<c0371660>] ___might_sleep+0x1c4/0x1e8
[<c10621b8>] wait_for_completion+0x28/0x58
[<c0428180>] stop_machine_cpuslocked+0x10c/0x208
[<c106ac28>] patch_text+0x20/0x28
[<c0501254>] __jump_label_update+0x7c/0xec
[<c05002b8>] static_key_enable_cpuslocked+0x8c/0x100
[<c050034c>] static_key_enable+0x20/0x28
[<c0441acc>] tracepoint_add_func+0x38c/0x400
[<c0441c00>] tracepoint_probe_register+0x54/0x6c
[<c0db6974>] ftrace_ramoops_init+0x288/0x2fc
[<c163cb30>] aml_iotrace_init+0x46c/0x550
[<c03020a0>] do_one_initcall+0x104/0x364
[<c1601f90>] do_initcall_level+0xa0/0x15c
[<c1601ec0>] do_initcalls+0x58/0x88
[<c1601d04>] kernel_init_freeable+0x114/0x160
[<c105fe24>] kernel_init+0x20/0x1c4
[<c0300134>] ret_from_fork+0x14/0x40

Solution:
add preempt protections at hooks

Verify:
t5w

Change-Id: I4cfd069ca0b4ba2c9bd6e8202391577aff09d227
Signed-off-by: song.han <song.han@amlogic.com>
2024-10-15 04:30:08 -07:00
ruofei.zhao 81d299f688 cvbs: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-188407

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-CVBS-3

Change-Id: I4718bc933eadabbaef5880f03e99b51cd086de75
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-10-15 00:42:47 -07:00
he.he e148bae334 usb: move xhci and dwc3 to common_drivers [1/1]
PD#SWPL-188390

Problem:
move xhci and dwc3 to common_drivers

Solution:
move xhci and dwc3 to common_drivers

Verify:
sc2

Change-Id: Ie40bf88170c03820ae7cd2746172536d5e947ff7
Signed-off-by: he.he <he.he@amlogic.com>
2024-10-15 00:00:01 -07:00
ruofei.zhao 5bf8f3d774 hdmitx: sync kernel 5.15 code to kernel 6.12 [1/1]
PD#SWPL-188403

Problem:
sync kernel 5.15 code to kernel 6.12

Solution:
sync kernel 5.15 code to kernel 6.12

Verify:
SC2

Test:
DRM-TX-5

Change-Id: Ie0be7d1be5cf2f5fd197fc77441b5f9d2eff8a1a
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
(cherry picked from commit 8e6c3c05d52f2aad51382d8f51938e647f09b6e4)
2024-10-15 12:25:49 +08:00
Xingxing Wang c54ece12be thermal: Kernel6.12: sc2 bring up-Power-Thermal/Sensor [1/1]
PD#SWPL-188364

Problem:
thermal bringup of sc2 kernel612

Solution:
adjust driver code for kernel upgrade

Verify:
SC2

Change-Id: I4d60b9f55036d3e371f60eb43452eba943799d87
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-10-14 01:05:59 -07:00
Jianxiong Pan b09ac4c011 mm: add page trace. [1/1]
PD#SWPL-185599

Problem:
add page trace debug tool.

Solution:
add track info about allocate and free pages.

Verify:
sc2.

Change-Id: I9d9212dfc9d5d06ded3179502b1e02fe6accad05
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-09-29 16:38:52 +08:00
Wanwei Jiang 5b4ccd2e6a bringup: porting media dvb and audio modules [1/1]
PD#SWPL-183292

Problem:
porting media dvb and audio modules

Solution:
1. porting dvb auto patches
2. modify strlcpy() to strscpy()
3. remove the flag DRM_UNLOCKED, need owner to check
4. modify the code due to the change of
the remove function in struct platform_driver
5. add the header file of linux/vmalloc.h for vmalloc() and vfree()
6. modify files_lookup_fd_rcu() to task_lookup_next_fdget_rcu()
7. use shrinker_alloc() to alloc memory and initialize
8. modify __assign_str(dst, src) to __assign_str(dst)
9. modify asoc_rtd_to_cpu() to snd_soc_rtd_to_cpu()
10. modify pwm_apply_state() to pwm_apply_might_sleep()

Verify:
local

Test:
probe success

Change-Id: I6105f65f79ee4a2c197fd6305f59fa064b583d6b
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2024-09-26 19:20:48 +08:00
Junyi Zhao 9fe0727ebb pwm: sc2 bringup pwm on kernel6.12 [1/1]
PD#SWPL-185502

Problem:
sc2 bringup pwm on kernel6.12

Solution:
Suitable for the pwm driver

Verify:
sc2_ah21

Change-Id: Ic12b347e91969136938011890b4e5babe72deca1
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-09-25 15:27:50 +08:00
Feng Chen 4fb1e346d7 spi: updates from tag spi-v6.11 [1/1]
PD#SWPL-185086

Problem:
spi building error.

Solution:
porting changes from spi-v6.11 core:
- spi_device
1.Single chipselect -> Array of physical chipselect
2.Single gpio_desc -> Array of GPIO descriptors
3.GPIO cs only use gpio_desc relate interface

- spi_message
1.delete is_dma_mapped flag

- spi_transfer
1.add tx/rx sg dma mapped flag

- remove Compatibility layer
1.spi_master -> spi_controller
2.spi_master_get_devdata -> spi_controller_get_devdata
3.spi_master_get -> spi_controller_get
...

Verify:
Local.

Change-Id: I7d2ee96cd9a09c67892ba9a2233580cf258e6813
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2024-09-14 11:56:35 +08:00
Jianxiong Pan d193aaf4b7 mm: add aml_cma. [1/1]
PD#SWPL-185599

Problem:
add aml cma module.

Solution:
cma multi-core allocation
add more debugging information

Verify:
sc2.

Change-Id: I019b56395206404478eaf3c53581c3fb709bb0f8
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-09-13 03:52:37 -07:00
chen.xu 884e9f19b4 video_composer: vc support dec set screen mode [1/1]
PD#SWPL-182281

Problem:
video_composer need support dec set screen mode.

Solution:
1.while dec set screen mode, vpp using this 1st priority.

Verify:
T982

Change-Id: I71d9cdb4d7b7ed452427f55e6e8767709d35b052
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-08-16 18:30:17 +08:00
Qianggui Song 8826705da5 gpio: porting gpiolib-sysfs from common [1/1]
PD#SWPL-177061

Problem:
Some customer neeed to support gpio sysfs in gki mode

Solution:
Porting common gpiolib-sysfs to common_driver

Verify:
T7_an400 & txhd2_be311

Change-Id: Ia27fa2ae0f9bdaf2f36104fb834e1320d011cc32
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-08-08 00:00:38 -07:00
Yongjie Zhu dc2fdf3fae UVM: add mandatory patch from 5.15 [1/1]
PD#SWPL-175813

Problem:
linux yocto video play abnormal

Solution:
add mandatory patch from kernel5.15
https://scgit.amlogic.com/#/c/430163/
https://scgit.amlogic.com/#/c/433582/
https://scgit.amlogic.com/#/c/436414/
https://scgit.amlogic.com/#/c/374305/
https://scgit.amlogic.com/#/c/423490/
https://scgit.amlogic.com/#/c/393444/
https://scgit.amlogic.com/#/c/421681/

Verify:
yocto+kernel6.6

Change-Id: I15df449878ab3e18b13a71739a68d26e766433b7
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2024-07-25 20:34:09 -07:00
shuanshuan.jiang 158555d250 camera: optimize power sequence in kernel 6.6 [1/1]
PD#SWPL-173264

Problem:
costing more time when insmod camera module

Solution:
1.optimize power sequence
2.optimize cam probe pipeline
3.sync code by kernel 5.15

Verify:
local

Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
Change-Id: Iebe069f57b2d3a5246b005d70dc945a1b52e2ba9
2024-07-24 04:07:49 -07:00
hai.cao 8b463e0b48 vpu: vpu code sync from 5.15 [1/1]
PD#SWPL-168198

Problem:
sync code from 5.15 but include module parameters

Solution:
sync code

Verify:
sc2

Change-Id: I62702243b4cb767ef11185970a51f168b5a448a8
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-07-12 08:26:57 -07:00
shipeng sun eeac0ca0af dmabuf_manage: CB1 Remove unused code [1/1]
PD#SWPL-176200

Problem:
Remove dmabuf_manage and secure vdec heap's unused code

Solution:
Remove dmabuf_manage and secure vdec heap's unused code

Verify:
ohm_wv4

Change-Id: Ib88ff7393c41767e275a4db26035bdc00ba2d4db
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
2024-07-04 18:43:45 -07:00
chen.xu c6e2355b3f video_process: kernel 6.6 Bring up [1/1]
PD#SWPL-160496

Problem:
kernel 6.6 Bring up

Solution:
Bring up

Verify:
sc2

Change-Id: I59407f6e0d1c0d805c4e5f5fb47b8773288ed681
Signed-off-by: chen.xu <chen.xu@amlogic.com>
Signed-off-by: Dezhen Wang <dezhen.wang@amlogic.com>
2024-06-27 12:14:38 +00:00
jinbing.zhu 785fba0bde amvecm: sc2 kernel bringup. [1/1]
PD#SWPL-160481

Problem:
sc2 kernel bringup

Solution:
sc2 kernel bringup

Verify:
sc2

Change-Id: I97d289891dd4d32b28545f895eff3096d68c4aff
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-06-27 12:13:42 +00:00
jinbiao a36dc56a68 MMC: porting from kernel5.15 to kernel6.6 [1/1]
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>
2024-06-27 12:13:14 +00:00
hai.cao ba23f39770 ge2d: sync code from 5.15 [1/1]
PD#SWPL-170108

Problem:
sync code

Solution:
sync code

Verify:
sc2/sm1

Change-Id: I3cfc5a0a9dde62bfc3682de444ab0ae1d3e509b7
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-06-27 12:12:45 +00:00
Xingxing Wang 2e2721d41e thermal: remove amlogic media cooling device driver [1/1]
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>
2024-06-27 12:12:40 +00:00
ruofei.zhao e757acdb0a hdmitx: kernel 6.6 bringup [1/1]
PD#SWPL-160498

Problem:
HDMITX kernel 6.6 bringup

Solution:
sync kernel 6.6 from 5.15, enable dsc function
the sync CL include:
https://scgit.amlogic.com/#/c/426206/
https://scgit.amlogic.com/#/c/425508/
https://scgit.amlogic.com/#/c/413098/
https://scgit.amlogic.com/#/c/425473/
https://scgit.amlogic.com/#/c/416199/
https://scgit.amlogic.com/#/c/419244/
https://scgit.amlogic.com/#/c/408331/
https://scgit.amlogic.com/#/c/421932/
https://scgit.amlogic.com/#/c/407908/
https://scgit.amlogic.com/#/c/402992/
https://scgit.amlogic.com/#/c/420382/
https://scgit.amlogic.com/#/c/420354/
https://scgit.amlogic.com/#/c/418071/
https://scgit.amlogic.com/#/c/416409/
https://scgit.amlogic.com/#/c/414756/
https://scgit.amlogic.com/#/c/414074/
https://scgit.amlogic.com/#/c/415681/
https://scgit.amlogic.com/#/c/412060/
https://scgit.amlogic.com/#/c/410485/
https://scgit.amlogic.com/#/c/404671/
https://scgit.amlogic.com/#/c/412351/
https://scgit.amlogic.com/#/c/407531/
https://scgit.amlogic.com/#/c/410065/
https://scgit.amlogic.com/#/c/408037/
https://scgit.amlogic.com/#/c/382817/
https://scgit.amlogic.com/#/c/410626/
https://scgit.amlogic.com/#/c/383471/
https://scgit.amlogic.com/#/c/396307/
https://scgit.amlogic.com/#/c/405469/
https://scgit.amlogic.com/#/c/395382/
https://scgit.amlogic.com/#/c/395629/
https://scgit.amlogic.com/#/c/405368/
https://scgit.amlogic.com/#/c/389950/
https://scgit.amlogic.com/#/c/402494/
https://scgit.amlogic.com/#/c/401883/
https://scgit.amlogic.com/#/c/400201/
https://scgit.amlogic.com/#/c/398852/
https://scgit.amlogic.com/#/c/376790/
https://scgit.amlogic.com/#/c/379863/
https://scgit.amlogic.com/#/c/399130/
https://scgit.amlogic.com/#/c/395570/
https://scgit.amlogic.com/#/c/398790/
https://scgit.amlogic.com/#/c/396729/
https://scgit.amlogic.com/#/c/396240/
https://scgit.amlogic.com/#/c/395701/
https://scgit.amlogic.com/#/c/395399/
https://scgit.amlogic.com/#/c/395256/
https://scgit.amlogic.com/#/c/395349/
https://scgit.amlogic.com/#/c/395344/
https://scgit.amlogic.com/#/c/395319/
https://scgit.amlogic.com/#/c/391610/
https://scgit.amlogic.com/#/c/377962/
https://scgit.amlogic.com/#/c/383907/
https://scgit.amlogic.com/#/c/383677/
https://scgit.amlogic.com/#/c/376925/
https://scgit.amlogic.com/#/c/382875/
https://scgit.amlogic.com/#/c/383026/
https://scgit.amlogic.com/#/c/380617/
https://scgit.amlogic.com/#/c/380286/
https://scgit.amlogic.com/#/c/382651/
https://scgit.amlogic.com/#/c/380297/
https://scgit.amlogic.com/#/c/381509/
https://scgit.amlogic.com/#/c/380591/
https://scgit.amlogic.com/#/c/381717/
https://scgit.amlogic.com/#/c/379404/
https://scgit.amlogic.com/#/c/372316/
https://scgit.amlogic.com/#/c/380393/

Verify:
SC2
SM1

Test:
DRM-TX-5, DRM-TX-6, DRM-TX-8, DRM-TX-9, DRM-TX-10
DRM-TX-13, DRM-TX-14, DRM-TX-15, DRM-TX-18

Change-Id: Ic5a0d4b40bc433a0c7b5c2a5d13a0ebce26adf05
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-06-27 12:12:17 +00:00
xing.xu 531256e9af vdec: S5 Secure + no Secure play no smooth [2/3]
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)
2024-06-27 12:12:12 +00:00
Ao Xu aaf207f308 drm: sync drm driver [1/1]
PD#SWPL-160959

Problem:
need sync drm driver

Solution:
need sync drm driver

Verify:
sc2

Test:
DRM-OSD7, DRM-OSD-8, DRM-OSD-9

Change-Id: I328292635bffce869dd05c2f5f75bb348cc32921
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2024-06-27 12:12:06 +00:00
dezhi kong feb1833550 uvm: fix memory leak [1/2]
PD#SWPL-143214

Problem:
uvm sgt memory leak

Solution:
add free for sgt
add skip debug interface

Verify:
AndroidT kernel5.15 ohm

Change-Id: I8419e60318409a15bdec41d3918e875fc547778c
Signed-off-by: dezhi kong <dezhi.kong@amlogic.com>
2024-06-27 12:10:57 +00:00
lele xiang 7c31c529d9 codec_mm: CF1 provider the interface of preallocing tvp_pool. [1/2]
PD#SWPL-155060

Problem:
preallocing tvp_pool for av1 fg playback

Solution:
provider the interface of preallocing tvp_pool for decoder driver

Verify:
ap222

Change-Id: Iaad60b432a7a9ff1147a3b292120aa12e034dcf8
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
2024-06-27 12:10:46 +00:00
shipeng.sun aa96ada0c7 resourcemanage: Add res_sys_debug node to report debug level [3/4]
PD#SWPL-145651

Problem:
Add res_sys_debug node to report debug level

Solution:
Add res_sys_debug node to report debug level

Verify:
ohm

Change-Id: I07e86aa1c3c747232a5fbe2cdf5a2d06814888d3
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
(cherry picked from commit 0ed1ff0963)
2024-06-27 12:10:41 +00:00
gan.zhang e36bf83c88 codec_mm: add config for scatter alloc from DMA32. [1/1]
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)
2024-06-27 12:10:35 +00:00
zehong.luo 125b7fea95 decoder: CF2 add vdec unsupport format status [1/2]
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)
2024-06-27 12:10:30 +00:00
Sunny Luo 566751d363 spi: spicc&spiccv2: synchronizing with linux5.15 [1/1]
PD#SWPL-160427

Problem:
spicc&spiccv2 synchronizing with linux5.15

Solution:
spicc&spiccv2 synchronizing with linux5.15

Verify:
sm1 & sc2

Change-Id: I565e850f8c31cf01c2058a9f3320cc03adb93b5e
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2024-06-27 04:22:53 -07:00
song.han 57ec7b9e8b iotrace: module init_layout and data structure [1/1]
PD#SWPL-158475

Problem:
delete module layout base function
synchronous release module init layout
modify iotrace data struct

Solution:
as above

Verify:
sc2_ah212

Change-Id: Ifb186f768a4427f32f32625c4df86cd286dc30c5
Signed-off-by: song.han <song.han@amlogic.com>
2024-06-27 07:40:34 +00:00
mingxiu.sun 2fecc67eb3 vdin: kernel6.6 bring up [1/1]
PD#SWPL-160480

Problem:
kernel6.6 vdin bringup

Solution:
kernel6.6 vdin bringup

Verify:
sm1/sc2 kernel6.6

Change-Id: Ide808797921316e8f3fd9cf9d9814b028756f702
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2024-06-17 02:17:16 -07:00
yali.zhang f6f5683f1a demod: Demod & Tuner bring up [1/1]
PD#SWPL-160536

Problem:
kernel 6.6 Demod & Tuner bringup

Solution:
Demod & Tuner bring up

Verify:
verified at sc2

Change-Id: I496de78e52184a1074a8752d324696171aacfbc1
Signed-off-by: yali.zhang <yali.zhang@amlogic.com>
2024-06-05 02:26:13 -07:00
jinbing.zhu 74cb1e752d amvecem: amvecm clear module_param on 6.6 [1/1]
PD#SWPL-156600

Problem:
clear module_param

Solution:
clear module_param

Verify:
local

Change-Id: I5cac0fb2ba81a7b065b7bd66605c3edd47008a4a
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-05-21 04:01:42 -07:00
yuhua.lin 77f60e6613 vpu: sync code from kernel5.15 [1/1]
PD#SWPL-165418

Problem:
sync vpu code from kernel-5.15

Solution:
complete it

Verify:
local

Change-Id: I4f7aa4a7506d3ac963b3c6da641233082fd13fc3
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-04-28 14:44:28 +08:00