PD#SWPL-3088
Problem:
g12b big-little cluster is different from other SoC with pmu
interrupts and registers.
software modifications must adapt to the difference.
Solution:
modify
Verify:
u200 w400
Change-Id: If9217c1025dff5c17d51790f8c216e31b7d6532b
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-3059
Problem:
vdin1 hisgram and screencap cannot be used simultaneously
Solution:
add vdin1 histgram,and make hist and screencap function to be compatible
Verify:
txlx r311
Change-Id: I759d1cdc69d59015ce845898990088eb6943cc41
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
PD#SWPL-4048
Problem:
omx can not detect first frame have toggled
Solution:
omx get first frame toggoled flag
Verify:
verify by p212
Change-Id: I632824390287dd0257dca23a009ff8851054f68d
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-4075
Problem:
add enhanced hsc adv num support
Solution:
add enhanced hsc adv num support
Verify:
verified on g12b-w400
Change-Id: I13b52a0b10e8f3830c57ff691ef3472a34cbe89c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-3876
Problem:
add support for nv16
Solution:
add support for nv16
Verify:
verified on g12a-u200
Change-Id: I34c9179ed4fde43b9bd00caa9505ea4c8ee78eb0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#GH-17
Problem:
sometimes cma allocation failed but it's hard to get
failed log and need recompile code.
Solution:
Add /proc/cma_debug to open cma debug message dynamic.
By default, no debug message is printed. If you write a
value large than 0 to this node, debug message will be
printed.
Verify:
p212
Change-Id: Ibcfd1d48be5f33f674f09df713dc2e493748c405
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#IPTV-1032
Problem:
Need support 1440x2560p60hz
Solution:
Porting VESA code and 1440x2560p60hz
Verify:
g12b/w400
Change-Id: I3cf38bebc29b76aed50fe2ced7b47e27f2d1af06
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
PD#TV-1586
Problem:
no atv format get func
Solution:
Add atv format get func
Verify:
verified by x301
Change-Id: Ia43d5a67370d2b025e1b32833a5408a5e7d251d4
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
PD#SWPL-3957
Problem:
tcon_type need extensible usage for special case
Solution:
tcon_type change to hex value
Verify:
x301
Change-Id: I26cb58ffc1cd2f525c8cf0f7c08b0d9cf66766e5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-1924
Problem:
On TL1, ramdump is not enabled.
Solution:
Add ramdump support for TL1 chips in kernel.
Also add sticky register config for other chips
Verify:
tl1_x301_v1
Change-Id: I67a11d128343ff9e615377b19914a3fc77b7acef
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-1738
Problem:
support frame crc32 check and dump yuv.
Solution:
support frame check and yuv dump in media_module, add interface
to get canvas width/height.
Verify:
u212
Change-Id: Ieadc95521c4a21bec5685f8c8926d3bb2f92637b
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-3702
Problem:
local dimming need analog pwm function
Solution:
add analog pwm support
Verify:
x301
Change-Id: I502bb7505947c1f3670f44d0d307f9546f1d57fd
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-3498
Problem:
ethernet need read data from efuse
Solution:
add interface to read data
Verify:
g12a_skt
Change-Id: I7ce7ffe2f194c875155e6db8acb55eb8ac5500a0
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
PD#OTT-1204
Problem:
don't support dvp camera
Solution:
add dvp camera gc2145 camera driver
Verify:
test pass on U200
Change-Id: I5927d49a93952587af7bb460a5c405293d692153
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-3719
Problem:
optimize sdio 1bit cfg fail for dts.
Solution:
move MMC_PM_KEEP_POWER setting from
amlsd_get_host_caps(). so modify dts to
set 1bit mode.
Verify:
p212
Change-Id: I268f25a9550058e7bbf3562eec53c8cd92b58b1b
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-2206
Problem:
decoding thread was blocked to wait scatter memory to be cached done. it
may take 30+ ms and lead to cts/vts fail
Solution:
not to wait scatter cached done. it save timing of system
Verify:
Verified U212
Change-Id: I75fa3e892e0b9b8023c07b62a31ebd43d3c92044
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
PD#SWPL-3776
Problem:
all sources are displayed as black screen except DTV
Solution:
Revert "camera: add dvp camera [1/1]"
Verify:
verify by x301
Change-Id: I3f094ed18de4be382798515e5c68eb5505df2373
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#OTT-1204
Problem:
don't support dvp camera
Solution:
add dvp camera gc2145 camera driver
Verify:
test pass on U200
Change-Id: I0451160d013cd15b32a11469926fe8be4c35c466
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-2404
Problem:
VAD for wake up
Solution:
Add vad driver to fetch VAD buffer and ALSA buffer, in userspace, they
will be combined for wakeup engine
Verify:
x301
Change-Id: I3b4de5fdfe173ce18e58a187a3adeda601e226b3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-3542
Problem:
2Gb SLC Nand ZDND2G08U3D-IA requested by Marketing
aka ZDND2GXXXXX module number
Solution:
add the nand id and MFR id into amlogic id table
adapt it's bad block identification
Verify:
AXG_S400
Change-Id: I6f0e2caf424e09c1f186beb42a146d92b675f161
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
PD#SWPL-3144
Problem:
The latch function cause the super scaler size asynchronous
Solution:
Disable sr core0 and core1 scaler latch
Verify:
T962x2 x301 board test pass
Change-Id: Iecbcc3e0c751093b6515f7b46973eca2157cd349
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-2456
Problem:
Lack the latency info of RX
Solution:
Add the latency info of RX
Verify:
T962E/R321
Change-Id: I480398466753dd93ca6e908d39157acadff6879f
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-3583
Problem:
After merge change:
http://scgit.amlogic.com:8080/#/c/55018/
Too many wrong kasan report occur when booting kernel
Solution:
Fix kasan poison address range when free wasted memory.
Verify:
P212
Change-Id: I576a7edb7b4e70f9c6c782639f433ad45bafba1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-3129
Problem:
1.verify manual pll mode
2.modify vlock hiu register access api
3.add a new fsm for tl1 test
4.add chip match data
Solution:
add function for tl1
Verify:
verified on tl1
Change-Id: I75f8d2a40437056135f8dd0fb241016a9ea680df
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-1767
Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller don't free it.
Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB during
run time.
Verify:
P212
Change-Id: Iba378792ec30003358b64384361c0f0c4c2800d8
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#172256
Problem:
ddr bandwidth prot config can only set 1 port for 1 channel. But
dmc controller support measure many ports on 1 channel.
Solution:
Using bit mask to support multi-ports config for one channel.
Verify:
P212
Change-Id: Iad79e6ebd6aeb74b0e31b3f1bee08de4fd557cc1
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#SWPL-2399
Problem:
Miss IR (power) key value when wakeup from freeze.
Solution:
Do not suspend/resume IR device under freeze mode
Verify:
x301_tl1
Change-Id: I7bdf0b847fa1a8b96bb2896426e15faf8143e820
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
PD#TV-1463
Problem:
new interface
Solution:
add color primary get ioctrl
Verify:
verify on TL1
Change-Id: I0d4880b6a224be153e80b3eeb11bb5a0352f9ed5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-1773
Problem:
After adding optimization of vmap stack, we can found stack usage
of each functions when handle vmap fault. From test log we see some
functions using large stack size which over 256bytes. Especially
common call path from fs. We need to optimize stack usage of these
functions to reduce stack fault probability and save stack memory
usage.
Solution:
1. remove CONFIG_CC_STACKPROTECTOR_STRONG and set STACKPROTECTOR to
NONE. This can save stack usage add by compiler for most functions.
Kernel code size can also save over 1MB.
2. Add some noinline functions for android_fs_data rw trace calls. In
these trace call it allcated a 256 bytes local buffer.
3. Add a wrap function for mem abort handler. By default, it defined a
siginfo struct(size over 100 bytes) in local but only used when fault
can't be handled.
4. reduce cached page size for vmap stack since probability of page
fault caused by stack overflow is reduced after function stack usage
optimized.
Monkey test show real stack usage ratio compared with 1st vmap
implementation reduced from 35% ~ 38% to 26 ~ 27%. Which is very
close to 25%, theory limit.
Verify:
P212
Change-Id: I5505cacc1cab51f88654052902852fd648b6a036
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#SWPL-1081
Problem:
Need get freed handle for DRM frame mode
Solution:
Add ioctl cmd to get freed handle
Verify:
P212
Change-Id: Ic0ce64061e334fdea5580d9f92b3e0b58caa88eb
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
PD#SWPL-1219
Problem:
On arm64, thread stack is 16KB for each task. If running task number
is large, this type of memory may over 40MB. It's a large amount on
small memory platform. But most case thread only use less 4KB stack.
It's waste of memory and we need optimize it.
Solution:
1. Pre-allocate a vmalloc address space for task stack;
2. Only map 1st page for stack and handle page fault in EL1
when stack growth triggered exception;
3. handle stack switch for exception.
Verify:
p212
Change-Id: I47f511ccfa2868d982bc10a820ed6435b6d52ba9
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
PD#SWPL-1910
Problem:
Black dot on cvbsout when local play 4k
Solution:
Set limit rang when vpp output yuv for cvbs
Verify:
test pass on u200/s905x
Change-Id: Ia3e93078eb1a00d8c974bae8cc373a3a679f8b9f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
PD#SWPL-1968
Problem:
some error edid need to be parsed
Solution:
add parsing for non-standard dv edid
Verify:
t962e (txlx)
Change-Id: Ia952ed59650fd0b1c665ca03175a38c1cf3ae5bb
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#SWPL-2613
Problem:
sr mux in vpp misc is set incorrectly.
Solution:
move the vpp misc operation together
Verify:
verify by x301
Change-Id: Ie813e5b04b97a4481c2e45bcf0c8b4c065fb9f69
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-714
Problem:
The last few seconds of the DD+ stream are not smooth by DTV playback.
Solution:
check the apts and vpts both discontinue,then replay the stream.
Verify:
P321
Change-Id: I6cbbdecc052dfe9fef76b44f36545b231332ee12
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
PD#SWPL-1207
Problem:
fix the filckered problem when playing transition
video in sdr tv
Solution:
when dv core2 don't run, the reset can't be executed
Verify:
r321
Change-Id: I719325f1722589e02a40d46442258b0d1e3feb17
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#172587
Problem:
lcd not work on real chip
Solution:
update pll, phy and channel_swap config
Verify:
skt
Change-Id: I737f7c253697ed281050ad9606cbf7d86a4b2e39
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#172587
Problem:
Add sr driver support for tl1
Solution:
add sr driver support for tl1
fix horizontal line when play video on 4K screen
Verify:
TL1 X301
Change-Id: I422f27eb5cf12f69dc57de295425536671e2df38
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
PD#172587
Problem:
Bringup TL1 vidoe driver.
TL1 need support YUV422/444 AFBC.
TL1 need check afbc source from decode or vdin.
TL1 need afbc compress loss mode.
Solution:
Merge from branch bringup/amlogic-4.9/tl1-20181111.
Verify:
verify on tl1
Change-Id: I0af62e7638db4e1c349df874ccffdeddcaa715af
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>