PD#SWPL-188365
Problem:
meson_cpufreq.c(v1) is amlogic's older cpufreq driver, and
aml_cpufreq.c(v2) is used uniformly on kernel6.6.
Solution:
aml_cpufreq.c(v2) is already used on A5/SC2/SM1.
Verify:
sc2_ah212
Change-Id: Ieab8bd4b6b229051724bedee1e16a657673f39ca
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-182182
PD#SWPL-190334
Problem:
TEXTOFFSET was changed from 0x00208000 to 0x02008000, causing some
devices to fail to start.
1. t5d Android U upgrade project, ko becomes build, uImage size
increases to 36MB. It is too big to relocate.
2. There is only 48MB in 0x020080000~0x5000000 area, and cannot
open kasan.
Solution:
1. use new config CONFIG_AMLOGIC_RAMDUMP_TEXTOFFSET instead of
CONFIG_AMLOGIC_RAMDUMP. And TEXTOFFSET is 0x00208000 default.
2. Use a new solution instead of modifying TEXT. Specifically,
during kernel panic, move 0-24MB to a higher address. Reboot to
uboot and then copy back.
Verify:
T5D
Change-Id: Ifcbf7883969161ff2872d3300ee9b756dc949917
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-192182
Problem:
The g12a mailbox dtsi configuration does not
accommodate the new mailbox driver architecture
Solution:
Change g12a mailbox dtsi to accommodate the new
mailbox driver architecture
Verify:
G12A
Change-Id: I0e6b34a2ea8529ea22aed8afcb5e8107bc7d93e3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
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>
PD#SWPL-190823
Problem:
Reported a problem with Coverify.
Solution:
Make changes as prompted.
Verify:
Local scan
Change-Id: Ied6f42d3d6d477f054e9ed60405df2c236036c6d
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
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>
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-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)
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>
PD#SWPL-190195
Problem:
Lock system infers dwc_otg deadlock
Solution:
This inference is unreasonable, and ignore it.
Verify:
sc2
Change-Id: Iae8505d4ff38e230d725e9d86e5783d7c1f766c5
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-191023
Problem:
there are compile errors on kernel 6.12 because of missing dmabuf manager
Solution:
add dmabuf manager on kernel 6.12
Verify:
sc2
Change-Id: I7685afac9665cdd0ab53bf93b53be96bb6defc7c
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-182441
Problem:
only support power key and one custom key
Solution:
support multi wakeup key event, kernel ir drivers
gets framecode from bl30 by mbox
Verify:
t6d
Change-Id: I0f118bbbec12a9e86d3cc8e37128fb906bc22f12
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-182441
Problem:
need to support mbox for some func
Solution:
1. get wakeup framecode
2. enable/disable debug log
3. set wakeup key table
4. enable/disable bl30 ir
5. get the last powerkey
Verify:
t6d_br301
Change-Id: I40e3d6eb08903533f975eba87e18a24148055b70
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
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>
PD#SWPL-180331
Problem:
there are 2 IR controllers (2x2 multi-format) in T6D
Solution:
support all IR devices in one common input device
Verify:
t6d_br301
Change-Id: Ib01291b4b3e399ae4b1d15df5aa055339b6ece6c
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-180331
Problem:
there are 2 IR controllers (2x2 multi-format) in T6D
Solution:
support multi IR devices
Verify:
t6d_br301
Change-Id: I597bea15e9b919279f8267344221d5721f9559df
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-180331
Problem:
the number of input devices are fixed, up to 3.
Fixes: Ie8c857e0761 ("remote: supports ir functions of various ID")
Solution:
alloc input device dynamically
Verify:
t6d
Change-Id: Ic519000f4a8e6faf0020711ddecb56fd50aa8d80
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-168630
Problem:
driver was crash when probeing
Solution:
1. allow one irq_no was declare in ir dts node
2. check raw decoder thread before wakeup
Verify:
s7d_bm201
Change-Id: If11ebe6edf84322e953c5189dfcc9594bff8ab62
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-163059
Problem:
legacy ir controller was updated to multi-format ir controller
and each controller have a IRQ
Solution:
support 2 IRQs in ir driver
Verify:
s7d_bm201
Change-Id: I268562144440d642e4f635dbe76bb45f799d6bee
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-145760
Problem:
support hibernate mode for ir
Solution:
support hibernate mode for ir
Verify:
s4
Change-Id: Ied8d29fc620b6650583b10b7bb30b309e697fcc3
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-190589
Problem:
current CFS optimization is incompatible with EEVDF
Solution:
temporarily disable the feature
Verify:
on SC2
Change-Id: Ifc632b69a19738e7024687b7936305fa914117b0
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-188348
Problem:
ker6.12 souce code is old. And ramdump
is not working properly.
Solution:
1. sync ramdump.c from ker5.15.
2. enable CONFIG_AMLOGIC_RAMDUMP
3. modify TEXTOFFSET=0X0200800 for ker 32bit
Verify:
SC2_AH212
Change-Id: Id19ba0ef1302e9cf4cdf379d10c625519a8eef36
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-188508
Problem:
read no map memory failed when arm build
Solution:
check memory map when arm build
Verify:
local
Change-Id: Ic9b3d81f21c287ddab4b7c908bbd94c56139d8b4
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>