This reverts commit febc85e083.
PD#SWPL-183570
Revert multi2 api because it is not compatible with some old projects.
Change-Id: I209e83a07af6096234789ff7993ea3f6befa3d45
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-182359
Problem:
use aml_ddr_tool.h as ddr_tool drivers common head file
Solution:
use aml_ddr_tool.h as ddr_tool drivers common head file
Verify:
local
Change-Id: Ie2abc7e3405192192b9de65374371b6301934933
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-181880
Problem:
hdr10plus func need open or not
Solution:
add code
Verify:
local
Change-Id: I30696cb2ac0df9e98e99f5ac9b57ffdeccd3b95d
Signed-off-by: can.zhang <can.zhang@amlogic.com>
PD#SWPL-181881
Problem:
S6 need to support multi2
Solution:
Add api for multi2
Verify:
Verified on bl201
Change-Id: Ifb6d02d198efacea99c1360ec37d2d5de7b79086
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-181954
Problem:
uImage not decompressed by AMFC
Solution:
1, change zstd tools to append size at end of uImage;
2, change scripts to support uImage decomperss by AMFC
Verify:
t6d
Change-Id: I2f2465a2247085c150a1c7f42ede688011745071
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-177588
Problem:
video_composer need notify frame display info to mediaproxy
Solution:
notify frame display info to mediaproxy
Verify:
T5M
Change-Id: Icd7f8f030a78245086dd0c3eba5cd1e7d3761e70
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-180143
Problem:
drm should not call rdma write register by video channel.
Solution:
re-implement ctm api, drm just set matrix parameters, then amvecm
will write register in vsync isr.
Verify:
t7c
Change-Id: I68700d65fa494fab2552414044b011c2ef21bdeb
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-178926
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>
PD#SWPL-179075
Problem:
dmc monitor not filter cma allocation function by default.
Solution:
set the special migrate flags for dmc monitor.
Verify:
local.
Change-Id: Ie55a22685edc386c1e2af53a31269669e852d089
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-180965
Problem:
AV out of sync on t5m causing ms12 test failure
Solution:
1.change the vdin frame buffer number to 11 on t5m
2.return the real frame buffer number to vpp
3.add irq cnt into vframe for vlock
Verify:
t5m
Change-Id: I753f573faa80f8b17e3cd6ff041268d89e49ba6c
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-176827
Problem:
1.need to access to memory physical above 4G.
2.sdio/sd/emmc need to use sg-link mode
Solution:
1.dma access to memory physical addresses
above 4G for MMC Host
2.sdio/sd/emmc use sg-link mode
Verify:
S6 bl201
Change-Id: I1726a8c086b2d665aefb32043ee19a251d0cdb3b
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-176242
Problem:
dmaheap driver need support debug & class node
gralloc need use ioctl to get dmaheap info
Solution:
add class and debug node for dmaheap
add dmaheap ioctl for gralloc
Verify:
s7d
Change-Id: I60fa73f6c51bbb37fc81531e61b28ecd1fbf700f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
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>
PD#SWPL-176719
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:
s7
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
Change-Id: I343be31d409cf1480b5681acc1ec83fd7a7fad5c
PD#SWPL-175916
Problem:
need support different unmute time for upper layer UI switch
Solution:
support different unmute time for upper layer UI switch
Verify:
bc302
Change-Id: I2018f8380ba186f2a232adfb8a24c734bf95bdc3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-177679
Problem:
S6 usb high power.
speed-drop usb devices.
u2phy disconnect, squelch & edgedrv cali
Solution:
Optimise suspend logic by holding usb controller reset bit,
usb controller comb reset bit, usb2_phy_reset_bit, usb3_phy_reset_bit
.Besides:
1. reset usb3_apb_reset_bit and leave it set then modify corresponding
static regs for low power.
2. off unused usb3phy digital 100M clk.
3. Some quirky devices take >2s to turn on Rterm and begin polling
after resume, which is seen in the new clean usb3 phy. This leads
to wait_for_connected timeout when resuming. Add XHCI_MISSING_CAS
for xHC to workaround by asserting warm reset at resume.
The speed-drop usb devices TX maybe unstable at insertion, leading to
CDR KI overload. Delay freq tracking start point by modifying fr_en
delay 1us->300us.
Modify params in driver & dts.
Verify:
BL201.
Change-Id: I4d6139ecad79e8582ada818338fcf53a1d66b131
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-175417
Problem:
if any cmd resp timeout error in HS400es will not
continue to send the stop command.
Solution:
if there is cmd resp timeout error, we need to
send stop command additionally.
Verify:
txhd2
Change-Id: Id6652ab18e8e7b4281e06d8ff537986bdf60a31e
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-179542
Problem:
dirspi_async is designed for the ldim isr. Unfortunately, the
clk_set_rate and clk_get_rate it calls use a mutex lock, which
will lead to a mutex lock panic.
Solution:
Set spi speed in spi_setup only when controller_data use_dirspi=1
Pre-save the spi speed to avoid calling clk_get_rate
Verify:
t5m
Change-Id: I4fdf9d3be687901a5e8cffa1f838f99551b7d94a
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-177527
PD#SWPL-173088
PD#SWPL-173090
Problem:
The HPD signal may be come from HDMI HPD, but eARC has HPD
status from status bits
Solution:
Add reading EDID data in external plugin handler with mutex
No external plugout handler
Verify:
sc2, t7c
Test:
DRM-TX-38
Change-Id: I443e69aa6c8949a0d49df476108414431fd067d7
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>