PD#SWPL-182299
Problem:
kernel panic due to accessing a member variable of vf
Solution:
obtain the frame_index before processing with GE2D
Verify:
T3X
Change-Id: I075c13e4ca158d3b7875945a70966b2ca6f3e56f
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-189562
Problem:
Memory allocated by devm_kmalloc does not set the space to 0.
Solution:
Use devm_kzalloc instead of devm_kmalloc.
Verify:
S6/BL201
Change-Id: I7bc9d5a62596c2a25b45cdd3066afb1fd48aedc0
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-189563
Problem:
When the kernel is configured to feed the watchdog
in user space, and if the watchdog is enabled
in U-Boot, the driver probe will disable the watchdog.
Solution:
Synchronize register status to driver.
Verify:
T6D/BR301
Change-Id: I3e06113bf468a8b461e1c3f76b5c0d14a6df83d9
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-189570
Problem:
no wifi 32K pwm after boot to kernel
because pwm clk was been closed
Solution:
ignore unused pwm
Verify:
s7_bh201
Change-Id: I053455a8210b3940335be2162ba6e553c7d6c966
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-187355
Problem:
Not get buf from VT when disconnect.
Solution:
Add get buf flow in VQ.
Verify:
txhd2
Change-Id: I999091809493c9859672b21502fce057016568b3
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-189489
Problem:
cur_tab could be NULL when the wakeup key isn't
include in kernel ir keymap
Solution:
check cur_tab, use input 0 as default if cur_tab is NULL
Verify:
t6d
Change-Id: Ifb2f0760b823a50faf822976845b553e111ed72a
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
PD#SWPL-189431
Problem:
yocto program need support mipi camera in s6
Solution:
add checkout for mipi camera dts
Verify:
local
Signed-off-by: shuanshuan.jiang <shuanshuan.jiang@amlogic.com>
Change-Id: Iac4cccd9eea4d48a804f2c165ad62fdce78b8c67
PD#SWPL-187126
Problem:
blurred screen when set doy by dot mode
Solution:
change delay when set doy by dot mode
Verify:
t3x
Change-Id: Idb92004ccaf19de819e789b7f9b2ad24a0ded0e9
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
PD#SWPL-190039
Problem:
exception in absolute value operations on unsigned int
Solution:
convert a unsigned int to a signed int for processing
Verify:
T5M
Change-Id: I546dad80fe2c93d2889d248dec27f26ba4d71aa5
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
PD#SWPL-189257
Problem:
can not use GFP_KERNEL in ISR
Solution:
modify malloc flag
Verify:
t6d
Change-Id: I94afa8540668c8e24e915b96eea1ce4f5030fe89
Signed-off-by: Huijuan Xiao <huijuan.xiao@amlogic.com>
PD#SWPL-189174
Problem:
1 The en bit of gen_clk is incorrectly configured.
2 The driver is automatically generated using the latest auto_clk_driver
scripting tool.
Solution:
Fixed
Verify:
s6_bl201
Change-Id: I441d66947241a5a0ded5be6e60280c49deedea50
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-186417
Problem:
dmabuf free a memory twice when dma_buf_fd return error
Solution:
only free a memory once
Verify:
sc2
Change-Id: I3a5f8c488cbd38fef74df11f855acd21bf2db4f5
Signed-off-by: jing.li1 <jing.li1@amlogic.com>
PD#SWPL-189723
Problem:
This hub no longer recognizes any disks
after unplugging the U-disk once.
Solution:
debug aml_xhci_disable_port
Verify:
s7d
Change-Id: Ie463b8bb239951881f2e2489af8de0c7d7bf2ea8
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-186065
Problem:
enable s6 cpu pdvfs
Solution:
use different index by efuse vmin
Verify:
S6
Change-Id: Ib72389afdd77b675a7187696f3db59201f0af4ef
Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
PD#SWPL-189562
Problem:
PDD needs to be enabled by default and print a line
of log to the serial port when triggered.
Solution:
Added pdd_monitor driver, which mainly implements
the following functions:
1. Print log to the serial port when triggered.
2. Provide a simple interface for user space.
Verify:
S6/BL201 T6D/BR301
Change-Id: I2b02847049994ab7bb02c1d24126949df23b30e1
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-189316
Problem:
tvafe works first and then connects to the signal,
but some formats cannot be recognized
Solution:
Reset when plugging in
Verify:
t5m
Change-Id: Ief5c83ded420ea46b96e28c14f0667d4edc1cee1
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-182182
Problem:
The .text addr of Kernel 32bit is 0. When enabling the
ramdump, it needs to be offset to 24MB+.
Solution:
1. modify textofs-y := 0x02008000, LOADADDR=0x02008000
2. enable for .ko link error: CONFIG_ARM_MODULE_PLTS
3. disable AUTO_ZRELADDR (less than 128MB, not necessary)
4. enable for crash debug: CONFIG_AMLOGIC_RAMDUMP, CONFIG_KALLSYMS,
CONFIG_KALLSYMS_ALL, CONFIG_DEBUG_INFO, CONFIG_FRAME_POINTER,
CONFIG_DEBUG_KERNEL
5. add trace_android_vh_ipi_stop() for ker 32bit IPI_STOP.
Verify:
sc2, T5D, T5W, TXHD2, S4D
Change-Id: I22fff913a9550c029baef93933fea240bf58bbc0
Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
PD#SWPL-188127
Problem:
tee provide the new interface tee_sectbl_secmem_set
which can support little-grained memory protection
Solution:
First stage -- codec_mm use new interface to replace
the old interface tee_protect_tvp_mem
depends on CL:
448900
482499
Verify:
T6d
Change-Id: I568d29ef5919c44243f94306eab3afd09a83925b
Signed-off-by: lele xiang <lele.xiang@amlogic.com>
PD#SWPL-189420
Problem:
seg not clr.
Solution:
clr seg when hpd low.
Verify:
t5m.
Change-Id: I7cfecf2cbf8469b39101ec0e3fb5c6054af671b8
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
PD#SWPL-179339
Problem:
the active video of AV/ATV port is not centered.
Solution:
1. Disabled DE auto algorithm.
2. Set h/V start position according to the signal standard
3. modify dc_level setting of TXHD2
Verify:
T5W/TXHD2
Test:
54200/TG39
Change-Id: I705d7d7446987fd5a981fb46db03dfeddfa36008
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-187183
Problem:
vicp scaler flow error.
Solution:
Modify variable type form signed int to unsigned int.
Verify:
t3x
Change-Id: I9dad65de01058b6ab73e642ee1b18a6cf1df88fb
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-189327
Problem:
need key flag info
Solution:
add key flag command
Verify:
s6
Change-Id: If77ae46dfba7c696c1e6093b977d694f7fb2cd97
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
PD#SWPL-187708
Problem:
need support phy tuning for txhd2
Solution:
support phy tuning for txhd2
Verify:
be311
Change-Id: I3fe83545b9eebe6f1df18dd649068939b5b7e860
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-187343
Problem:
Some chips have their m4/dsp disabled by efuse, which would cause fail
starting of m4/dsp. In this case, the reserved resources in the dts
should be released.
Solution:
Read the efuse register to confirm whether m4/dsp is disabled or not
and release the reserved space in dts when it is disabled.
Verify:
a1/c2/c1/sc2/tm2/g12a/sm1/t7c/t3/t3x/s6
Change-Id: I6f2fc1ad2ff159af525b2b17855b91ae83e54d3a
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-181092
Problem:
HD SD change cause blinking on screen
Solution:
match matrix settings when input signal type change.
Verify:
verify on t5m
Change-Id: I9bd5e9a78bde3075be94df8078ad0ed094923289
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
PD#SWPL-189596
Problem:
The version number command changed
Solution:
Update hdmirx driver version number
Verify:
t5w
Change-Id: I6b41197cdcae23ae48cc05de50ffd3109b7d61e6
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
PD#SWPL-189433
Problem:
correct crop adjust when 2 slice with dv on
Solution:
correct crop adjust when 2 slice with dv on
Verify:
t3x
Change-Id: I79d7e9845ead2b5a2ca737afeca21c4af13e0672
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-184798
Problem:
When switching to non post-link mode, vd1 will be block one vsync
Solution:
Do not switch vd1 afbcd mux
Verify:
Verified on t6d
Change-Id: I7137b107e7db16b4f0daba16b23fe995e60bb30a
Signed-off-by: brian.zhu <brian.zhu@amlogic.com>
PD#SWPL-185154
Problem:
The power state of part of the power domain
after STD is wrong.
Solution:
After the STD returns, power is restored
based on the previous state
Verify:
T7c
Change-Id: Ia29039c317c30061606e71c52ac227782a87db8b
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
PD#RK-1160
PD#SWPL-189554
Problem:
Performing HDCP certification when the signal is unstable
may cause some TVs to be unable to decode the signal properly.
The TV will trigger hot plugging and keep repeating this
process, causing the TV to be unable to display properly.
Solution:
need postpone auth time wait TV side signal detection stable
Verify:
t223
Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82
Change-Id: Iea4884f8e68ad262b4bbb18dc2677b83c36c873c
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
PD#SWPL-187520
Problem:
support screen record video but no video.
Solution:
1.if has video send normal frames, if no video send black frames.
Verify:
T982
Change-Id: I5d647731ae69e18a4754a553162abd931828cdcd
Signed-off-by: chen.xu <chen.xu@amlogic.com>