Commit Graph

781 Commits

Author SHA1 Message Date
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
Chuan Liu 80e6ab68ea clk: a4: Update scmi-clk [1/1]
PD#SWPL-171039
PD#SWPL-166131

Problem:
scmi-clk in bl31 has been updated, and the kernel also needs to be updated.

Solution:
1 Move fixpll, sys_clk and axi_clk to bl31;
2 Add oscin, sys_pll_div16 and cpu_clk_div16.

Verify:
a4_ba400

Change-Id: I6fcfa71420fd1c3147e0a874ed91f7ffa053f3ab
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-12 15:05:51 +08: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
shihong.zheng 0ec1d8f8ee media: h266 format define. [1/1]
PD#SWPL-172885

Problem:
media_modules h266 code depend on h266 format define.

Solution:
define h266 format for video decoder

Verify:
s6 pxp

Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
(cherry picked from commit 8582af4d3a)
2024-06-27 12:14:55 +00: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
jiebing chen ba4f6edc6a Audio: SM1 kernel 6.6 need support oe pin function [1/1]
PD#SWPL-160450

Problem:
oe pin can't work

Solution:
add oe pin control

Verify:
sm1-s905d3-ac200

Change-Id: I2eef3dbaf43f6fa2c4f231b0ab629ad4a80404d6
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-06-27 12:13:25 +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
Hao Shi 542455ffdc amvdec: optimize vdec_info and vframe_counter_s [1/1]
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>
2024-06-27 12:13:08 +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
Hao Shi 7f29312c62 amvdec: optimize vdec_info and vframe_counter_s [2/2]
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>
2024-06-27 12:12:00 +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
yiting.deng 50e103fc8a clk: a4: kernel6.6 upgrade clk-scmi [2/2]
PD#SWPL-161078

Problem:
a4 kernel6.6 upgrade clk-scmi

Solution:
1. update clk scmi(bl31 and kernel)
2. change to dvfs v2 to adapt scmi clk

Verify:
a4_ba400

Change-Id: I8b05e9c6aad5a18a9f64bb17f174915193c54446
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-04-02 01:51:06 -07:00
rong.wang 14e5a2131c deinterlace: add api to get input param for vpp [1/1]
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>
2024-03-29 05:49:09 -07:00
qinglin.li 783281ea84 dmc_monitor: use dmc irq thread when irq ratio is too high [1/1]
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>
2024-03-15 03:30:22 -08:00
hongyu.chen1 c20fac41a4 spinlock: porting spinlock to kernel 6.6. [1/1]
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>
2024-03-07 17:53:11 +08:00
hai.cao fb2f6a56ca video: remove module parameters [1/1]
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>
2024-03-01 01:23:23 -08:00
qiankun.wang 39148c4643 iotrace: iotrace vendor hooks and optimization [1/1]
PD#SWPL-149337

Problem:
iotrace read/write use vendor hooks.
iotrace optimization

Solution:
iotrace read/write use vendor hooks.
iotrace optimization

Verify:
sc2_ah212

Change-Id: If69ed5dce03ffa53f1c4819659fb80dfcad767c5
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-01-29 04:02:16 -07:00
xiangyang.yan 83338d6284 eth: fix resume panic when eth0 not up [1/1]
PD#SWPL-149411

Problem:
resume panic when eth0 not up

Solution:
add eth0 running check

Verify:
A113L2-BA400-DEV#033

Change-Id: I0cea425a813ca068667c2848cf13e5a8fa01f7d4
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-01-25 19:15:32 -07:00
hai.cao 38cc8f2d99 osd: add osd support [1/1]
PD#SWPL-153211

Problem:
add osd support

Solution:
add osd support

Verify:
a4

Change-Id: If70ffa98fa8206994e773ecfe9c3d3c816be8a27
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-01-25 19:14:14 -07:00