Jianxiong Pan [Fri, 22 Mar 2019 06:48:48 +0000 (14:48 +0800)]
dts: add dts-id for sm1 and g12a_u200. [1/1]
PD#SWPL-5865
Problem:
add dts-id for sm1 and g12a.
Solution:
sm1_ac200_2g
g12a_u200_1g
g12a_u200_2g
Verify:
no test.
Change-Id: Id09b2b811529d11b85898e5f3e83f558dc7ba5f6
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Hanjie Lin [Fri, 22 Mar 2019 06:04:22 +0000 (14:04 +0800)]
dts: arm: disable cpu idle [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
cpu idle has not ready, disable it
Verify:
AC200
Change-Id: I5dd4bf8d2940587b10b8c85ff64122ce931bfb85
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
zhiqiang liang [Wed, 20 Mar 2019 07:00:40 +0000 (15:00 +0800)]
cpu: add the cpuid check interface [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
add the cpuid check interface
Verify:
AC200
Change-Id: Ifa7dd8fb0b6ec621411652acf6b799e69c4069b7
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
zhiqiang liang [Mon, 18 Mar 2019 14:50:37 +0000 (22:50 +0800)]
dts: modify the dts for skt and ac200 board [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
modify the dts for skt and ac200 board
Verify:
AC200
Change-Id: I5e5d52329d7a190ad2b4bd967be837b4ae91ea11
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
zhiqiang liang [Mon, 18 Mar 2019 13:01:31 +0000 (21:01 +0800)]
dts: add the chipid for sm1 bringup [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
add the chipid
Verify:
PxP
Change-Id: I7164a4fff39932f81de1b5c4404f1ad0d878484c
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Jianxiong Pan [Mon, 18 Mar 2019 06:53:06 +0000 (14:53 +0800)]
dts: sm1: add sm1_s905d3_ac200 and sm1_s905d3_skt dts. [1/1]
PD#SWPL-5865
Problem:
add sm1 dts.
Solution:
copy from g12a_s905d2_u200.dts.
Verify:
no.
Change-Id: Idcd997d2c1a52a247c55ad41b557941314dfcb2c
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
zhiqiang liang [Fri, 15 Mar 2019 07:07:16 +0000 (15:07 +0800)]
dts: add the partition info for sm1 bringup [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
add the partition info
Verify:
PxP
Change-Id: I779369d92780f9380cb634a90cabb012df11859d
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Jiyu Yang [Wed, 13 Mar 2019 02:30:06 +0000 (10:30 +0800)]
dts: use mesong12a-bifrost instead [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
commit dts for SM1 bringup
Verify:
PxP
Change-Id: Ifdbc751e2fa9ecb3d747c114ac820ab60021294d
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
zhiqiang liang [Wed, 13 Mar 2019 03:14:11 +0000 (11:14 +0800)]
dts: modify dts for SM1 bringup with SMP [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
modify dts for SM1 bringup with smp
Verify:
PxP
Change-Id: Ie83ad7434acfb8c6232a8e373dfc63ef0ba9b87e
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
zhiqiang liang [Tue, 12 Mar 2019 07:20:22 +0000 (15:20 +0800)]
dts: rename dts for SM1 bringup [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
rename dts for SM1 bringup
Verify:
PxP
Change-Id: I991b6a0fb65cf9a03c6cb75a1ad8823a067e6bdd
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
zhiqiang liang [Mon, 11 Mar 2019 11:46:30 +0000 (19:46 +0800)]
dts: commit dts for SM1 bringup [1/1]
PD#SWPL-5865
Problem:
SM1 bring up
Solution:
commit dts for SM1 bringup
Verify:
PxP
Change-Id: Id117d7ff130c67feb8ca04657d8a4ad463793fed
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
MAINTAINERS
long yu [Wed, 6 Mar 2019 06:21:48 +0000 (14:21 +0800)]
storage: emmc: Compatible with G12B revA and revB [1/1]
PD#SWPL-5575
Problem:
not Compatible with G12B version a and b
Solution:
add revA match-data
Verify:
G12B-W400 RevA and RevB
Change-Id: Iee09861f7b162ee0660ea12dab60a238a9ae6be5
Signed-off-by: long yu <long.yu@amlogic.com>
he.he [Tue, 19 Feb 2019 06:50:29 +0000 (14:50 +0800)]
usb: revB usb EL compliance test [2/1]
PD#SWPL-4941
Problem:
EL27,28,29,31 failed in the el compliance test.
tl1 frameworks test result(USB20CV) failed.
Solution:
Change the parameters (0x10 and 0x38) of usb phy
to solve the el failed problem and modified the
dwc_otg_pcd_handle_enum_done_intr function to solve
the USB20CV failed problem.
Verify:
verify on revB
Test: Pass
Change-Id: I9d7dc6472f95c6bcdf2c031222db4fed25be8a13
Signed-off-by: he.he <he.he@amlogic.com>
Nan Li [Tue, 26 Feb 2019 02:19:07 +0000 (10:19 +0800)]
sdio: set sdio hs mode co_phase [1/1]
PD#SWPL-5152
Problem:
Setup time in sdio highspeed mode of g12a is
inconsistent with the protocol standard.
Solution:
set co_phase = 2.
Verify:
u212
Change-Id: Ifc4576ce83c810c2ae5cbd57fe53d12959a9acca
Signed-off-by: Nan Li <nan.li@amlogic.com>
Luan Yuan [Mon, 1 Apr 2019 05:42:57 +0000 (13:42 +0800)]
config: replace stack protector config [1/1]
PD#SWPL-4617
Problem:
CONFIG_CC_STACKPROTECTOR_STRONG will increase stack size for some large
functions and may cause stack overflow problems or increase real stack
usage after we have enabled VMAP STACK config. But direct remove it
from defconfig will cause CTS fail.
Solution:
using CONFIG_CC_STACKPROTECTOR_STRONG_AMLOGIC for real stack protect
config
Verify:
p212
Change-Id: Ic7d205459523f6156b1014f139b4da31068165ae
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Hong Guo [Thu, 14 Mar 2019 02:55:36 +0000 (10:55 +0800)]
cpufreq: set fixpll to 1G when cpufreq init. [1/1]
PD#SWPL-5392
Problem:
set fixpll to 1G when cpufreq init.
Solution:
set fixpll to 1G when cpufreq init.
Verify:
test pass on A311D-W400
Change-Id: I65eb70b86eca5192f8d153ac59a24a03d6018421
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Brian Zhu [Sun, 20 Jan 2019 16:19:47 +0000 (00:19 +0800)]
vpp: disable vd2 again if the last vframe is MVC [1/1]
PD#SWPL-4003
Problem:
VD2 keep displaying after keep last frame for mvc streaming
Solution:
check the last frame type and disable vd2 again
Verify:
verify by tl1
Change-Id: Ia2b598331e8f65c02974d41c498408bee40a407e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Rongjun Chen [Thu, 29 Nov 2018 10:40:14 +0000 (18:40 +0800)]
wifi: change mem size to support multi wifi [2/2]
PD#SWPL-2210
Problem:
multi wifi not support
Solution:
add multi wifi support
Verify:
ampere
Change-Id: Iea32268fd081a71a1ade00e56a2dcecd975da849
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
deng.liu [Thu, 14 Mar 2019 11:42:45 +0000 (19:42 +0800)]
common: NN API implementation [1/3]
PD#SWPL-86
Problem:
Android tensorflow lite ,NN API implementation
Solution:
NN API implementation
Verify:
Local on galilei
Change-Id: I699a53b3fa2fd199cea7ef4db2f439ef49536a9c
Signed-off-by: deng.liu <deng.liu@amlogic.com>
Daniel Rosenberg [Fri, 20 Jul 2018 23:11:40 +0000 (16:11 -0700)]
ANDROID: sdcardfs: Change current->fs under lock
PD#SWPL-5666
Problem:
STS test fail
testPocCVE_2018_9515
Solution:
bug:
111641492 from security
Verify:
U212
Change-Id: I79e9894f94880048edaf0f7cfa2d180f65cbcf3b
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Jiamin Ma [Tue, 19 Feb 2019 10:19:27 +0000 (18:19 +0800)]
debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718
Problem:
Will have "PC=0, LR=0" issue when try to
show active cpu stacks via sysrq
Solution:
Save the addr of current interrupted task's context to the
interrupt stack first, so that we can easily obtain pt_regs
later
Verify:
Locally on Ampere
Change-Id: I1cc5095e0ec356bed90f76cdf9af1b2617ce7834
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Jiamin Ma [Thu, 31 Jan 2019 08:41:15 +0000 (16:41 +0800)]
debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718
Problem:
The task stack address is not saved to irq_stack_ptr-0x08,
so when switching from irq stack to task stack, we can not
obtain the right task stack address
Solution:
save task stack address to irq_stack_ptr-0x08
Verify:
Locally on Ampere
Change-Id: I8ad9a45cee33681cc00de3a0bb264dbd9f1b859f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Tao Zeng [Fri, 15 Feb 2019 06:17:36 +0000 (14:17 +0800)]
mm: close vmap stack print for armv7 [1/1]
PD#SWPL-2681
Problem:
If cpu support idle/hotplug, there are many vmap stack prints:
[ 74.096973@1] cpu 1, vmap stack:[
e8e90000-
e8e91de0]
[ 74.097084@1] cpu 1, irq stack:[
e8e92000-
e8e93de0]
[ 74.105901@3] cpu 3, vmap stack:[
e8ee0000-
e8ee1de0]
[ 74.105984@3] cpu 3, irq stack:[
e8ee2000-
e8ee3de0]
Solution:
Close these debug print
Verify:
P212
Change-Id: I000df1f0952328af9f359f20341eb0fe88590056
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
tao zeng [Fri, 30 Nov 2018 10:01:31 +0000 (18:01 +0800)]
mm: optimize thread stack usage on ARMv7 [1/1]
PD#SWPL-2681
Problem:
Kernel stack usage is large when running many tasks.
Solution:
Map kernel stack to module space and handle page-fault
for stack fault. This can save about 50% memory of stack
usage
Verify:
p212
Change-Id: Ie894bc8f00cb525ddf8ac63c6d99d9c6e937fdc0
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Nanxin Qin [Tue, 12 Mar 2019 12:35:54 +0000 (20:35 +0800)]
codec_mm: changes the prot of pages to PAGE_KERNEL. [2/2]
PD#SWPL-4597
Problem:
Probabilistic full-screen display mosaic after seek 8K H265
Solution:
alloc mem area with the cached which from the vmap. this way
can improve the efficiency of I/O.
Change-Id: Icf18b9cd57bdc54f832aa827a535399939b28611
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Nanxin Qin [Wed, 30 Jan 2019 03:42:22 +0000 (11:42 +0800)]
codec_mm: fixed some issues of the mem operation. [1/2]
PD#SWPL-3593
Problem:
the memory data might be discordant.
Solution:
1. opitimize the mem mapping and change the page type to nocache.
2. modified the way of flush mem which from lowmem or highmem.
Verify:
x301
Change-Id: I82351c235915c98a86fd201c2ff3994e4d2085ec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Rong Zhang [Wed, 23 Jan 2019 12:04:29 +0000 (20:04 +0800)]
media_module: vdec [1/1]
PD#OTT-1699
Problem:
not support multi-vdec user data read
Solution:
Add getting available user data vdec interface
Verify:
Verified U212
Change-Id: I9ec65367935ac42a83808db23f2fb08f694e1483
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
Jian Hu [Mon, 4 Mar 2019 12:01:08 +0000 (20:01 +0800)]
clkmsr: axg: delete hard code which added during bringup [1/1]
PD#SWPL-5356
Problem:
when cat clkmsr node in sysfs, i2c bus does not work
Solution:
delete hard code
Verify:
verify on axg s400
Change-Id: Ib01f251f4b77685db5a57df395f1c1a75620c07b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Zhuo Wang [Tue, 5 Mar 2019 05:45:26 +0000 (13:45 +0800)]
ethernet: remove internal_phy_remove [1/1]
PD#SWPL-5478
Problem:
system will crash rately if not init success
Solution:
remote internal_phy_remove function for chip
later then g12a
Verify:
verify on u200 board
Change-Id: Id6c3bf77c2a448aee9675deff47dc106206146d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Yi Zhou [Wed, 13 Feb 2019 02:34:30 +0000 (10:34 +0800)]
dv: hang when home during DoVi playback [1/1]
PD#SWPL-4406
Problem:
SDR meta size > 0 during DoVi to SDR transition
Solution:
fixed SDR meta size to 0 for SDR
Verify:
u212
Change-Id: I92129163da0df9c81bb508ce56b78268fbd87a2e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Kai Song [Wed, 13 Feb 2019 02:12:39 +0000 (10:12 +0800)]
codec_mm: Fix cma clear and rebuild map for codec_mm. [1/1]
PD#172483
Problem:
To avoid A73 core speculative data loading from protected
memory, which triggers SError fault, the mapping of the
protected region should be cleared. In codec_mm driver, the
page structure pointer used to clear the mapping is wrong.
Although the memory is allocated from CMA, because we are
using CMA_res mode the address from CMA_res_pool is actually
a physical address, similar as reserved memory case. As a
result, the mapping to protected address is not cleared.
Solution:
1.Add "mem->from_flags ==
AMPORTS_MEM_FLAGS_FROM_GET_FROM_CMA_RES" case processing.
Verify:
Run YTTV and there is no SError crash after the fix.
Change-Id: Ia912337c1d7d5a55800fc55ad1d61016f9710f4d
Signed-off-by: Kai Song <kai.song@amlogic.com>
Yong Qin [Wed, 13 Mar 2019 06:05:34 +0000 (14:05 +0800)]
di: play 1080i timing always print di err[1/1]
PD#SWPL-5807
Problem:
1080i always print di err,modify di pre idle register
define are wrong
Solution:
1.modify register define according g12a
Verify:
g12a
Change-Id: I13400d8b18e0e85894ba8d10afc0ae119874aab4
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
shihong.zheng [Tue, 6 Nov 2018 12:29:19 +0000 (20:29 +0800)]
canvas: get canvas w/h for frame check [2/2]
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>
Peng Yixin [Sat, 16 Feb 2019 02:23:57 +0000 (10:23 +0800)]
media_module: add function to statistics drop frame on video layer [1/1]
PD#SWPL-1885
Problem:
We need a function to statistics drop frame.
Solution:
Add a function to statistics drop frame.
Verify:
Verified U212
Change-Id: I30b429c2f3710c5c8d0da6ec083060c9cc3e61ad
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
Brian Zhu [Sat, 2 Mar 2019 12:52:35 +0000 (20:52 +0800)]
vpp: refresh the vd/osd blend ctrl when enable/disable video [1/1]
PD#SWPL-4932
Problem:
The vd/osd blend ctrl is not correct when disable video
Solution:
Refresh the vd/osd blend ctrl for that case
Verify:
Verified on tl1
Change-Id: I6a7bfc58c810279cdfbf55f3d6a51e94890b4899
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Nanxin Qin [Sat, 26 Jan 2019 17:21:20 +0000 (01:21 +0800)]
tee: add an interface for the teeload with swapping. [1/1]
PD#SWPL-2367
Problem:
building err and issue of compatibility.
Solution:
1. fixed building err without merging media_modules
2. add a new api tee_load_video_fw_swap
Verify:
p212,u212
Change-Id: Ifeedf2f3fa04b2427dccf2ac3940bad6860362d6
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Nanxin Qin [Thu, 20 Dec 2018 08:59:53 +0000 (16:59 +0800)]
tee: add swapping of the fw for the tee loading. [3/7]
PD#SWPL-2367
Problem:
can not playback hevc after update video fw.
Solution:
add swapping of the fw for the tee loading.
Verify:
p212,u212
Change-Id: I698e43ba8e71060f85be4b468c4c61d625f46d4a
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Pengcheng Chen [Tue, 26 Feb 2019 09:08:35 +0000 (17:08 +0800)]
osd: move wait hw vsync for afbc when phy_addr==0 only before chip g12A [1/1]
PD#SWPL-5148
Problem:
bootvideo stuck when starting to play
Solution:
wait hw vsync for afbc when phy_addr==0 only before chip g12A
Verify:
tl1
Change-Id: I883c8f6699729854a852fc70c22b5629aa025c60
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jian Cao [Thu, 15 Nov 2018 09:37:14 +0000 (17:37 +0800)]
osd: osd: screen blank when boot [1/1]
PD#172587
Problem:
screen blank when boot
Solution:
modify free_scale_switch
Verify:
verified on tl1 dev board
Change-Id: I3c53e832c83c71bd8e98f71fcd654865a467df3c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Shunzhou Jiang [Thu, 24 Jan 2019 01:46:06 +0000 (09:46 +0800)]
clk: g12a: clear pcie cntl5 for save power [1/1]
PD#SWPL-4583
Problem:
cntl5 caused power increase
Solution:
clear pcie cntl5 when pcie clk disabled
Verify:
test pass on g12a skt
Change-Id: I495590af2ccb81eb5ae90c86008679def8673a70
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Jianxiong Pan [Fri, 15 Feb 2019 12:07:42 +0000 (20:07 +0800)]
printk: fix print_time bug when run dmesg [1/1]
PD#SWPL-4900
Problem:
printk_prefix() passes NULL buf to print_time() to get the length of
the time prefix; when printk times are enable, the current code just
return "snprint(NULL, 0, "[%5lu.000000]", (unsigned long)ts)"
but in the SMP case, we add cpu core id at the end of time prefix, the
format is "[%5lu, %06lu@%d]", this gives a wrong size(shorter).
this will make buf get out of boundary, when run dmesg.
Solution:
replace [%5lu.000000] with [%5lu.000000@0]
Verify:
g12a-u200
Change-Id: Ic74b9f466b5af5aac7e6569a1afc7a46d9594050
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
changqing.gao [Thu, 21 Feb 2019 09:19:06 +0000 (17:19 +0800)]
mm: The first 1MB mem is wasted for CPU series coming after TXLX [1/1]
PD#SWPL-3744
Problem:
For the previous Amlogic CPU series(before TXLX), the CPU booting vector
locates at physical address starting from 0x00. To avoid influencing cpu
booting procedure, we have to reserve the first 1MB physical memory. But
it has changed since TXLX, the normal text section can safely use 0~1M
physical address. So it's no need to reserve the first 1MB in DTS.
Solution:
Change the starting address of usable memory from 0x100000 to 0x0 for CPU
series coming after TXLX.
Verify:
Locally on W400
Change-Id: I2df7859a38feca48abd58459e8b231ee15ada9e2
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts
Jianxiong Pan [Tue, 19 Feb 2019 06:57:21 +0000 (14:57 +0800)]
dts: fix the warnings when compiling the g12a device tree. [1/1]
PD#SWPL-4967
Problem:
warning when compiling the g12a device tree.
Solution:
fix the warning.
Verify:
locall.
Change-Id: I1f93c788d1914441e48305c04330701bfd718b87
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Jihong Sui [Mon, 21 Jan 2019 08:52:35 +0000 (16:52 +0800)]
deinterlace: modify suspend function [1/1]
PD#SWPL-4196
Problem:
atv suspend/resume, DI deadlock causing hangup
Solution:
add unreg process and clear timer/tasklet
Verify:
tl1
Change-Id: Id50de8649455f0a2f77ad2fcb585bf233d5c362f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Zongdong Jiao [Fri, 22 Feb 2019 01:53:13 +0000 (09:53 +0800)]
hdmitx: rename HDMI_IEEE_OUI to avoid conflicts [1/1]
PD#SWPL-4705
Problem:
In 61207 patch, the define HDMI_IEEE_OUI is conflicted with the kernel
head file include/linux/hdmi.h
Solution:
rename HDMI_IEEE_OUI
Verify:
GXL/P212
Change-Id: I75a12734e85478f22edf0b48636ed86e60302b58
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Zongdong Jiao [Mon, 18 Feb 2019 09:33:22 +0000 (04:33 -0500)]
hdmitx: add auto low latency mode(ALLM) [1/1]
PD#SWPL-4705
Problem:
Lack ALLM function
Solution:
Add ALLM function
Verify:
GXL/P212
If Rx supports ALLM, then
echo 1 > /sys/class/amhdmitx/amhdmitx0/allm_mode
otherwise it will set failed, cat allm_mode and will get 0.
Change-Id: I00233e5a5aac133b405590e7df78c7c4805ed0ef
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Zongdong Jiao [Tue, 20 Nov 2018 04:37:30 +0000 (12:37 +0800)]
hdmitx: add rx latency info [1/4]
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>
Guosong Zhou [Tue, 19 Feb 2019 06:43:42 +0000 (01:43 -0500)]
camera: config adapter buffer size from dts [1/2]
PD#SWPL-4934
Problem:
kernel panic when adjust adapter memory size
Solution:
config adapter buffer size from dts
Verify:
verify by w411
Change-Id: Ie66cf57e870e140dd63516672c7f90f7d9ddda72
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Jiamin Ma [Mon, 18 Feb 2019 08:44:22 +0000 (16:44 +0800)]
license: add missing license header [1/1]
PD#SWPL-4728
Problem:
Missing license header
Solution:
Add correct license header
Verify:
Compling passed
Change-Id: I291a41172f9ecf2cde7f7705e99ecb20567c9c8f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Hanjie Lin [Tue, 19 Feb 2019 05:42:16 +0000 (13:42 +0800)]
perf: fix sys_cpu_status0 reg error dts [1/1]
PD#SWPL-4843
Problem:
CtsSimpleperfTestCases 1 Fail on p231
Solution:
gxl,gxm,txl perf sys_cpu_status0 reg config error
modify it
Verify:
p212
Change-Id: Ie6e8747e8e4f02734bd7883ce6dcbc3fd3d28829
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm/boot/dts/amlogic/mesontxl.dtsi
arch/arm64/boot/dts/amlogic/mesontxl.dtsi
Brian Zhu [Mon, 18 Feb 2019 13:56:29 +0000 (21:56 +0800)]
vpp: correct the vpp dummy reg for g12a/g12b/tl1 [1/1]
PD#TV-1565
Problem:
After g12a chip, vpp post dummy reg was changed. The
test_screen/rgb_screen sysfs did not work.
Solution:
Use the correct vpp post dummy reg for those chip
Verify:
Verified on X301 and W400
Change-Id: I1cb718a1f7040804b63d0197de0bb6aafe233357
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Shuai Li [Fri, 15 Feb 2019 02:39:14 +0000 (10:39 +0800)]
audio: remove unused PDM controls which cause panic [1/1]
PD#SWPL-3907
Problem:
PDM controls are dynamically added or removed.
This will bring in panic.
Solution:
Remove the unused controls.
Verify:
Need stress test.
Change-Id: I69f63a0516e0812e9abb86e42f091ecb496004d4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Hanjie Lin [Thu, 31 Jan 2019 02:58:01 +0000 (10:58 +0800)]
sched: eas: add sched-energy support for gxm [1/1]
PD#SWPL-4651
Problem:
Kernel 32bit Support for S912(kernel 4.9)
Solution:
add arm/arm64 sched-energy dts
Verify:
q201
Change-Id: I13077632b730d5f2b1427b3d9bee9ff24031cfcd
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Hanjie Lin [Mon, 18 Feb 2019 12:03:16 +0000 (20:03 +0800)]
perf: arm: enable pmuserenr [1/1]
PD#SWPL-4673
Problem:
userspace can't access perf monitor cnt with "mrc ... c9,c13,0"
Solution:
actually userspace should check perf monitor cnt access permissions first
before use, so this is a workround.
enable pmuserenr with "mcr ... c9,c14,0" in several places:
1, perf probe
2, cpu idle (state>0) exit
3, cpu online
4, system resume after suspend
Verify:
u212
Change-Id: Ib09682d1d47545dfef8b088283ddbbf390630d3e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Brian Zhu [Tue, 29 Jan 2019 16:13:45 +0000 (00:13 +0800)]
vpp: disable sr scale up when vskip > 2 [1/1]
PD#TV-2331
Problem:
SR insert unnecessary scale up to make scale down ratio
too larger.
Solution:
disable SR core0 which is before pps when mif vskip is > 2
Verify:
Locally on X301
Change-Id: I810fbae20f337e6eeb0a8e88d9758f78ad224254
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Tao Zeng [Mon, 28 Jan 2019 02:18:11 +0000 (10:18 +0800)]
config: replace stack protector config [1/1]
PD#SWPL-4617
Problem:
CONFIG_CC_STACKPROTECTOR_STRONG will increase stack size for some large
functions and may cause stack overflow problems or increase real stack
usage after we have enabled VMAP STACK config. But direct remove it
from defconfig will cause CTS fail.
Solution:
using CONFIG_CC_STACKPROTECTOR_STRONG_AMLOGIC for real stack protect
config
Verify:
p212
Change-Id: I1ccba2ef6ab5ea6f2987af2986e0cf222da1a7c7
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Nan Li [Fri, 1 Feb 2019 01:59:00 +0000 (09:59 +0800)]
emmc: optimize the conditions of fixdiv calc [1/1]
PD#SWPL-4857
Problem:
fixdiv calc Affect the use of other chips
Solution:
Adjust the usage conditions for the fixdiv calc func, witch
pdata->calc_f from dts.
Verify:
verify by g12b
Change-Id: I9598e2a24f76c76f4312c2694029fe4bb0f534d4
Signed-off-by: Nan Li <nan.li@amlogic.com>
Shunzhou Jiang [Fri, 1 Feb 2019 01:45:46 +0000 (09:45 +0800)]
clk: g12a/g12b: update pcie clk parameter for jitter [1/1]
PD#SWPL-4745
Problem:
update pcie parameter for jitter
Solution:
clear pcie clk parameter
Verify:
test pass on g12a skt/w400
Change-Id: I354d643c412c37fb6c99fc49ac5bd70ab12be008
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Brian Zhu [Thu, 28 Feb 2019 19:16:45 +0000 (03:16 +0800)]
vpp: sr: correct the sr core0 enable switch operation [1/1]
PD#SWPL-5113
Problem:
SR core0 enable switch register is latched as default. It
will cause the screen flicker when operating this bit in vsync.
Because the frame size will be out of sync with back-end module.
Solution:
1. For g12a, no latch ctrl. So did not disable sr core2 enable bit.
2. For g12b/tl1, disable the latch function.
Verify:
Verified on U212/w400/x301
Change-Id: I54027b71ef8a6066004b3bd32ed1633b4bfa351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Shunzhou Jiang [Fri, 22 Feb 2019 09:18:36 +0000 (17:18 +0800)]
clk: g12a/g12b: fix syspll overflow when freq larger than 2.1g [1/1]
PD#SWPL-5076
Problem:
syspll overflow
Solution:
div 1000 when round rate
Verify:
test pass on g12a skt/w400
Change-Id: I021a1e8fd1280b27e21e5b4c8983b91fb89e84ba
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Hanjie Lin [Tue, 26 Feb 2019 06:57:44 +0000 (14:57 +0800)]
dts: g12b: modify sched-energy dts for w400 revision-b [1/1]
PD#SWPL-5020
Problem:
modify sched-energy dts for w400 revision-b
Solution:
modify dts
Verify:
local.
Change-Id: I6686abc10bf07ec0e601eb9a72b7657ca3e1d991
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
pan.yang [Mon, 4 Mar 2019 07:29:15 +0000 (02:29 -0500)]
dts: add new frequency for A53 core at all g12b RevB dts [1/1]
PD#SWPL-5020
Problem:
need 1.9G for A53 core in g12b RevB.
Solution:
add 1.9G frequency for A53 core in RevB dts.
Verify:
local test.
Change-Id: Ic4085c05b3b9d18f759720e3d268d5e4629faba7
Signed-off-by: pan.yang <pan.yang@amlogic.com>
Jianxiong Pan [Mon, 25 Feb 2019 08:41:15 +0000 (16:41 +0800)]
dts: fix amlogic-dt-id error in g12b dts. [1/1]
PD#SWPL-5020
Problem:
amlogic-dt-id error in g12b dts.
Solution:
specify amlogic-dt-id by dts name.
Verify:
local test.
Change-Id: I11a737ec61221c2dc9fcd4e3761c380ac5b5044b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Jianxiong Pan [Tue, 19 Feb 2019 05:01:57 +0000 (13:01 +0800)]
dts: g12b: copy g12b dts [1/1]
PD#SWPL-5020
Problem:
copy g12b dts.
Solution:
copy.
Verify:
local.
Change-Id: Ibd6423bd0cc99e98bf1d6359068f9f0719ad177f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
MingLiang Dong [Wed, 27 Feb 2019 07:05:40 +0000 (02:05 -0500)]
hdr: used line_n_int to trigger osd rdma [2/2]
PD#SWPL-4582
Problem:
g12b revb osd blend shift issue still exist
when hdr enable/disable
Solution:
used line_n_int to trigger osd hdr rdma,
this workaround can fix shift issue
Verify:
verify by g12b revb
Change-Id: I062c31dbb5729463bae539e2ea25281d715665c9
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Pengcheng Chen [Wed, 20 Feb 2019 01:38:02 +0000 (09:38 +0800)]
rdma: used line_n_int to trigger osd, dv and hdr rdma [1/2]
PD#SWPL-4582
Problem:
g12b revb osd blend shift issue still exist
when dv and hdr enable/disable
Solution:
used line_n_int to trigger osd, dv and hdr rdma,
this workaround can fix shift issue
Verify:
verify by g12b revb
Change-Id: Ie9747b2f7aaa3a7997245f82d15831c4c3da41cf
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Yi Zhou [Mon, 25 Feb 2019 12:02:11 +0000 (20:02 +0800)]
dv: remove g12b ver B from the status of SDR mode [1/1]
PD#SWPL-4582
Problem:
g12 verA has a hardware bug.Therefore,dv cores
must keep working even if under sdr mode
Solution:
g12B verB has fixed this bug, so remove this chip id
Verify:
verify by g12b revb
Change-Id: Ice1aa1364319fa12d5a896fdfd106450f1a04d3d
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Pengcheng Chen [Mon, 14 Jan 2019 09:07:48 +0000 (17:07 +0800)]
osd: add g12b revb to check osd shift workaround [1/1]
PD#SWPL-4582
Problem:
g12b revb fix osd blend shift issue
Solution:
add g12b revb to remove shift workaround
Verify:
verify by g12b revb
Change-Id: I6cefba0b5b5cce35d928edafdc359adff0165866
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
he.he [Fri, 25 Jan 2019 07:44:08 +0000 (15:44 +0800)]
usb: check SoC rev [1/2]
PD#SWPL-4582
Problem:
Need to check Soc rev to distinguish G12B revB.
Solution:
Check Soc rev set version and phy-interface for g12b revB.
Test: make w400 bootimage
Verify:
pass on W400
Change-Id: I338d7f0eed7bb61660625343404f756f0edf0d54
Signed-off-by: he.he <he.he@amlogic.com>
Qiufang Dai [Wed, 23 Jan 2019 13:39:38 +0000 (21:39 +0800)]
cpuversion: add SoC rev api [1/2]
PD#SWPL-4582
Problem:
Need api to distinguish G12B revB
Solution:
Add rev A/B/C api
Verify:
W400
Change-Id: I5cf82fcfc513f621513914cf83d18fe5c5ec081d
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
yuehu mi [Thu, 17 Jan 2019 12:51:44 +0000 (20:51 +0800)]
usb: remove usbphy reset 500ms wait [1/1]
PD#SWPL-4949
Problem:
kernel slow startup
Solution:
remove usbphy reset 500ms wait
Verify:
marconi platform insert U disk, power on boot verify OK
Change-Id: Ieb01e59ad428f98c3df303c7b3bee28397970c74
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
Kaifu Hu [Thu, 20 Dec 2018 05:20:53 +0000 (13:20 +0800)]
dv: dolby vision support on t962x [1/1]
PD#SWPL-3318
Problem:
Android P not support dolby vision on t962x
Solution:
Porting code support dolby vision
Verify:
t962x/r311
Change-Id: I85afd05d2cb21a7105ea345f07e7e581bba5e927
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Jian Cao [Tue, 27 Nov 2018 06:42:57 +0000 (14:42 +0800)]
osd: osd: screen blank after boot logo [1/1]
PD#172587
Problem:
screen blank after boot logo
Solution:
correct default display information
Verify:
verified on tl1 ref board
Change-Id: I94237b5241eacee6965bfe4ea0426bb8e9f494f1
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
osd: tl1 hold line fix needn't shift workaround [1/1]
PD#172587
Problem:
tl1 hold line fix needn't shift workaround.
Solution:
remove shift workaround int tl1
Verify:
verified by x301
Change-Id: I96d99758ba6f93622c34a8e69c4a3f769fdfad49
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
usb: bringup usb for tl1 [1/1]
PD#172587
Problem:
bringup usb for tl1
Solution:
bringup usb for tl1.
disable usb device sof interrupt for tl1.
Verify:
verify on tl1 skt.
Change-Id: Ifbcd3b406145ac39709ff2df795544086277f00e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm/boot/dts/amlogic/mesontl1.dtsi
Hong Guo [Mon, 14 Jan 2019 07:53:22 +0000 (15:53 +0800)]
CPUFREQ: Setting different cpufreq tables according to efuse information. [1/1]
PD#SWPL-4035
Problem:
Setting different cpufreq tables according to efuse information.
Solution:
Setting different cpufreq tables according to efuse information.
Verify:
g12a_u200, verify pass
Change-Id: I1bf571f332244f5727ef3cd8743f215f71248146
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Shunzhou Jiang [Wed, 9 Jan 2019 09:42:52 +0000 (17:42 +0800)]
mailbox: mailbox: add chip performance info read from efuse [2/2]
PD#SWPL-4035
Problem:
cpu driver need read efuse data
Solution:
add interface to read data
Verify:
g12a_skt
Change-Id: Ia5d74c3fa057d06426b4277652e508714400a30f
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Hong Guo [Tue, 22 Jan 2019 06:25:58 +0000 (14:25 +0800)]
cpufreq: add more syspll freq info [1/1]
PD#SWPL-4035
Problem:
add more syspll freq info.
Solution:
add more syspll freq info.
Verify:
g12a_u200, verify pass
Change-Id: I3e2a587f5ebaa20126e6ad5c37bd9d2730a75125
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Jian Cao [Tue, 22 Jan 2019 09:16:17 +0000 (17:16 +0800)]
gdc: reset alloc flag when free dma buffer [2/2]
PD#SWPL-4354
Problem:
alloc flag is not correct when free dma buffer
Solution:
reset alloc flag when free dma buffer
Verify:
test pass on g12a-u200
Change-Id: Idfc0be5b394d18799232f6239b3f6c6df9181ce0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Fri, 18 Jan 2019 07:33:52 +0000 (15:33 +0800)]
ge2d: reset alloc flag when free dma buffer [1/2]
PD#SWPL-4354
Problem:
alloc flag is not correct when free dma buffer
Solution:
reset alloc flag when free dma buffer
Verify:
test pass on g12a-u200
Change-Id: I4aea27f38ebda72cfe77183423600c918b836d7c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Brian Zhu [Fri, 25 Jan 2019 05:27:59 +0000 (13:27 +0800)]
vpp: force vd2 using preblend when playing mvc [1/1]
PD#SWPL-3381
Problem:
vd2 used postblend as default after g12a chip
Solution:
force vd2 using preblend when playing mvc
Verify:
Locally on u212
Change-Id: Ia7fab8ad70ed1e58b7ade241828afab288b94bec
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Hanjie Lin [Fri, 14 Dec 2018 11:39:58 +0000 (19:39 +0800)]
perf_event: aml pmu interrupts routing on g12b [1/1]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Hanjie Lin [Wed, 2 Jan 2019 05:36:09 +0000 (13:36 +0800)]
defconfig: arm: code score is low by Antutu benchmark [1/1]
PD#SWPL-3704
Problem:
32bit code score is low by Antutu benchmark.
PD#SWPL-3704
Solution:
enable CONFIG_SCHED_WALT CONFIG_CGROUP_SCHEDTUNE CONFIG_SCHED_TUNE
referenced by arm64
Verify:
w400
Change-Id: I6f461020b0fb0e42be94f1c66f5c38defb2c6ea1
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Yi Zhou [Tue, 15 Jan 2019 07:31:13 +0000 (15:31 +0800)]
dv: close afbc2 when playing sources with unnecessary el [1/1]
PD#SWPL-915
Problem:
DOLBY only sets the enhancement for the first frame ->
Vd sets cur_dispubf2 according to enhance ->
codec_mm keeps the last frame according to cur_dispbuf2,
so it fails -> AFBC2 access to the released content causes the trigger.
Solution:
close afbc2
Verify:
r321
Change-Id: I03c431a6ea11b8aabf97b1f0b21f717024be2f62
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Pengcheng Chen [Fri, 18 Jan 2019 05:30:52 +0000 (13:30 +0800)]
osd: fix osd_reverse casued afbc decode error [1/1]
PD#SWPL-4335
Problem:
osd_reverse casued afbc decode error
Solution:
add afbc prefect reverse when osd_reverse
Verify:
verify by tl1
Change-Id: I11730121e62935683480f42db7c43365bc91bf31
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jiamin Ma [Thu, 17 Jan 2019 11:42:45 +0000 (19:42 +0800)]
Kconfig: fix errorly select meson8b for ARMv8 AARCH32 [1/1]
PD#SWPL-4320
Problem:
The meson8b and arm64_a32 are both selected in Kconfig,
which is quite misleading
Solution:
Disable meson8b when arm64_a32 is selected
Verify:
Locally passed for Ampere
Change-Id: I93f55239ea90bf8cf6b96e108b6fd4a239de32b4
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Pengcheng Chen [Fri, 11 Jan 2019 02:54:46 +0000 (10:54 +0800)]
gdc: add gdc dma_buf input/output support [2/2]
PD#SWPL-4036
Problem:
gdc don't support export dma_buf
Solution:
add gdc dma_buf input/output support
Verify:
test pass on w400
Change-Id: I67a60ede01e5c01630a00fbae2821430a870c2b8
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
MAINTAINERS
Pengcheng Chen [Thu, 3 Jan 2019 07:50:50 +0000 (15:50 +0800)]
ge2d: add ge2d dma_buf support [1/2]
PD#SWPL-4036
Problem:
don't support dma_buf
Solution:
add ge2d dma_buf support
Verify:
test pass on w400
Change-Id: I1277d04fb30753e579d5edc5f46f2406dc27217a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Ruixuan Li [Tue, 8 Jan 2019 10:33:59 +0000 (18:33 +0800)]
emmc: modify dtb malloc method [1/1]
PD#SWPL-3951
Problem:
buffer malloc for dtb may failed
Solution:
malloc may sleep to wait for enough memory
Verify:
pass on p212
Change-Id: Ib4c266c17140d2a6abf2aea6c02b2ff591f0fe08
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Bichao Zheng [Fri, 15 Feb 2019 08:34:28 +0000 (16:34 +0800)]
gpio_led: g12a: give up using led-trigger cpu0 [1/1]
PD#SWPL-4876
Problem:
32bit will operate led-trigger cpu0 in cpu idle enter/exit causing
system led flashing.
Solution:
give up using led-trigger cpu0.
Verify:
g12a_u211 g12a_u212
Change-Id: I106a4fe0e35923919f5bbc34113fa73a4ca28577
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
Jian Hu [Tue, 18 Dec 2018 09:07:20 +0000 (17:07 +0800)]
clk: g12a: add bt656 clock [1/1]
PD#SWPL-3359
Problem:
the bt656 clocks were missing
Solution:
1.add bt656 clocks
2.fix several errors for media clocks
Verify:
test passed on u200
Change-Id: Iff69e790c78335930d6b2ea54f7544aca464e1fb
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Xuhua Zhang [Wed, 19 Dec 2018 03:32:30 +0000 (11:32 +0800)]
bt656: fix bt656 bugs [1/1]
PD#OTT-1022
Problem:
bt656 can not work well.
Solution:
1. add clock control
2. fix bt656 id bug
Verify:
G12A U200
Change-Id: I2aaecee33fd590497d5a11cf3618fc07264f02a5
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Yong Qin [Mon, 14 Jan 2019 08:50:12 +0000 (16:50 +0800)]
cec: ceca register access fail [1/1]
PD#SWPL-4133
Problem:
cec a register access fail and cause watchdog reboot
Solution:
reduce wait counter, and check clk register
Verify:
P215
Change-Id: Ic9d97e1eca9428ffd0c4a6bfe008cd9d8303075b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
drivers/amlogic/cec/hdmi_ao_cec.h
Yong Qin [Tue, 8 Jan 2019 09:02:34 +0000 (17:02 +0800)]
di: aptimise di flow, add some protection [1/1]
PD#SWPL-3976
Problem:
To prevent “stall when access DDR through memory interface”
Solution:
1.aptimise NRWR register access flow
2.add arb on/off and status check
3.add reset protect
4.add nr_en disable before arb status check
5.add nr_write_done sel
6.modify VPU_WRARB_MODE_L2C1 from vlsi feijun's suggest
Verify:
tl1, txlx
Change-Id: Ifb0f4f0502d957ffb2b07805575c27f4166d5717
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
jintao xu [Thu, 31 Jan 2019 11:15:24 +0000 (19:15 +0800)]
omx: add print into level control [1/1]
PD#SWPL-85
Problem:
print into level control
Solution:
print into level control
Verify:
U212
Change-Id: Ib0fdc02f26e75c20e48171bca5ebef072947d78c
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
jintao xu [Wed, 16 Jan 2019 02:14:49 +0000 (10:14 +0800)]
omx: add two layer support [3/6]
PD#SWPL-85
Problem:
Need support two video layers feature
Solution:
1: Add videosync.
2: amlvideo support multi-instance
Verify:
U212
Change-Id: I3570fad361ba5bd388dd46c51a66da056fa7a1fd
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
MAINTAINERS
drivers/amlogic/media/deinterlace/deinterlace_hw.c
Brian Zhu [Thu, 17 Jan 2019 19:25:21 +0000 (03:25 +0800)]
vpp: add osd and video zorder control [2/6]
PD#SWPL-85
Problem:
Upper layer need control osd and video layer zorder
Solution:
1.Add video layer zorder interface by sysfs and ioctl
2.Switch the osd and video layer order in vsync
Verify:
Verify on U212
Change-Id: Ic50e81784b865cc57e4ab9a63d74806f7a8721cf
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Brian Zhu [Tue, 15 Jan 2019 21:12:00 +0000 (05:12 +0800)]
vpp: add two layers support for each chips [1/6]
PD#SWPL-85
Problem:
Need support two video layers feature
Solution:
1.Add vd2 mif config
2.Add vd2 pps calculation and config
3.Add vd2 axis/crop/screen mode interface by sysfs and ioctl
4.Add layer query/alloc/free interface
Verify:
Verify on U212
Change-Id: I71fc9ab2ae0230c3e84c4b790e77d2c790951642
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
wenfeng.guo [Mon, 12 Nov 2018 03:15:24 +0000 (11:15 +0800)]
sr: add support for tl1 [1/1]
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>
Brian Zhu [Thu, 15 Nov 2018 16:38:41 +0000 (00:38 +0800)]
video: vpp: add vd afbc YUV 422/444 support for tl1 [1/1]
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>
Brian Zhu [Wed, 26 Dec 2018 10:55:36 +0000 (18:55 +0800)]
vpp: sr: disable core0 and core1 scaler latch [1/1]
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>
Chao Liu [Tue, 12 Feb 2019 09:38:30 +0000 (17:38 +0800)]
dts: g12a/b: config hw rng with dts [1/1]
PD#OTT-2062
Problem:
Boot up time with power cable is longer than boot up with usb cable
Solution:
config hw rng with dts
Verify:
android p + u212
Change-Id: I61613e945dbc9be06f2cbb29aae5043c84fca1de
Signed-off-by: Chao Liu <chao.liu@amlogic.com>