PD#SWPL-184150
Problem:
add memory related trace info
Solution:
1, __alloc_page and __alloc_pages_slowpath: use trace event and vendor hook
2, cma_alloc: use vendor hook in aml_cma.ko
3, handle_pte_fault: use kretprobe
4, trace meminfo periodly
Verify:
sc2_ah212
Change-Id: Icf5695f421832c00c5cad7026663f66b2dcc58a5
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-191471
Problem:
there is compiling error when CONFIG_MMC is disabled
Solution:
add empty function for aml_sd.h
Verify:
t6d
Test:
Boot
Change-Id: I30f1a37558a9e8758caf15aa03420665721e5b97
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-191710
Problem:
secure permission needs to be set for the pwm_clk register
related to voltage regulation. Relevant clk configurations
need to be stored in bl31. kernel configurations need to
be deleted.
Solution:
fix pwm clk related to voltage regulation to secure
Verify:
s6_bl201
Change-Id: I5d7eb80055a120cfa2342c48dbfc1b7c8d87d1c8
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-184689
Problem:
DSP needs to support low power mode.
Solution:
Add dts config for DSP suspend.
Enable mailbox path for DSP to ARM.
Verify:
S6
Change-Id: Ib1198d260e9658a486d8e75817af8ebbb751d164
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
PD#SWPL-188670
Problem:
Prealloc Mechanism based on single decoder instance.
Solution:
Add prealloc function for decoder
Verify:
T6d
Change-Id: Ic88eda66e6eda55607e8846125533295a7cc7f9e
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-193338
Problem:
boot_ctrl in command line is not safe
Solution:
save boot_ctrl into regs of venc
Verify:
t6d
Change-Id: Id170c88f6f775ecee5531690c2e5d16098480f42
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
PD#SWPL-178215
Problem:
An I/O operation with a large amount of read and write data is divided
into multiple I/OS with a small amount of data, resulting in degraded
I/O performance
Solution:
config req-size as 512KB
Verify:
s7,s7d,T5M
Change-Id: I876c5d4f7e7677a94c40eff37b057678ebd21a75
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-193604
Problem:
modify to vdin1 do crop rather than amlvideo2
Solution:
support
Verify:
T982
Change-Id: Ie1033ad8318ddb407d593e378b73d81c5afc5edd
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-186183
Problem:
recent soc slcnand switch to new page info
Solution:
1. page_info.c move to /drivers/mtd/common from /drivers/spi/
2. slcnand support new page info
Verify:
BR309-T950D5_SOCKET #48
Change-Id: If1d8ea15e922349cc880ce98a7c6cb04f97e8e41
Signed-off-by: zhikui.cui <zhikui.cui@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>
PD#SWPL-189410
Problem:
optimize check format function
Solution:
optimize check format function
Verify:
s6
Change-Id: I5291589046c6d9ea073aff8f75d9fa3b55e280f4
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-192343
Problem:
lcd get config need separate as a individual file
Solution:
lcd get config separate as a individual file
Verify:
ay301, br301
Change-Id: Ib4106ba378e6532125d68f8ef4363ba70bf483b7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-192045
Problem:
lcd and bl power step need management together
Solution:
add bl power step in lcd power step
Verify:
T5M/T6D
Change-Id: I8f21381a6c7474238b08178d0379201eaa6b9df4
Signed-off-by: jie.dai <jie.dai@amlogic.com>
PD#SWPL-192342
Problem:
After factory reset or burning up,8822es has sdio data error
and sdio I/O error.It also has kernel warning
with I/O operation.
Solution:
add 8822es(0xa822) sdio clk to 167M
Verify:
SDMC
Change-Id: Ia4a08297d28c6b380ff3380a58a95b2b07656b48
Signed-off-by: li.dong <li.dong@amlogic.com>
PD#SWPL-192044
Problem:
need lcd bits(per pixel) to support more format
Solution:
use lcd bits per pixel
Verify:
T5M
Change-Id: I04eaea425d7235b33a2a4ac52a051e8c6b485701
Signed-off-by: jie.dai <jie.dai@amlogic.com>
PD#SWPL-191072
Problem:
tvp_pool is too big which affects system efficiency.
Solution:
During secure playback, to alloc mem according to actual requirements
Verify:
T6d
Change-Id: I119a41322e9e1028de73851e3620a50ec8d819a2
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-149860
Problem:
1.ErrorMonit requires additional debug
levels to be set to the driver.
2.ErrorMonit needs to receive the error
information from the driver in real time.
Solution:
resman driver needs to add nodes so that
ErrorMonit can get the error information
in real time.
Verify:
S905Y4
Change-Id: I8feaacc2e03b201a568b8abbdf77ba4c5e2e0859
Signed-off-by: zhewen.luo <zhewen.luo@amlogic.com>
PD#SWPL-191789
Problem:
add iotcl to get chip cls
Solution:
add iotcl to get chip cls
Verify:
verify on t5m
Change-Id: I2f578e0b0296da5c9a826963b9524572368164b9
Signed-off-by: zhan.wang <zhan.wang@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>
PD#SWPL-189005
Problem:
To use scatter/gather DMA, protocol driver has to use a nonstandard
struct spicc_transfer;
Every transferring would alloc/free lots of coherent memory, it maybe
cause unexpected issues.
Solution:
Fix nonstandard ccxfer issue;
dirspi IF apply the uniform function to achieve timing configurable;
Replace coherent memory with normal memory mapped;
Add transferring cs_change support;
Fix issue of parent clk not fixed though assigned in dts.
Verify:
s7 bh201, t3x bc302
Change-Id: I0680e11f411404ab383cd8af7c8b12ffe0a2b633
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
PD#SWPL-187281
Problem:
unmute_add is invalid for ufr_switch_type 1 and 2.
Solution:
optimize mute/unmute flow, support unmute_add function for common flow
Verify:
bc302
Change-Id: I35f496c70339e786a55cd20f02ee30dd1f02da17
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-184743
Problem:
BUG: KASAN: use-after-free in ge2d_monitor_thread+0xa00/0xec8
Solution:
1. to avoid releasing the wrong address due to no assignment
use kzalloc to replace kmalloc
2. modify the repeated application and release of clut8 table memory
3. modify the condition to avoid be released while processing context
Verify:
t7
Change-Id: Id2dbc8ee370651d77c45b12e442f3ca5b59b622d
Signed-off-by: Jian Cao <jian.cao@amlogic.com>