Qiufang Dai [Tue, 29 May 2018 08:54:38 +0000 (16:54 +0800)]
dts: fb: fine-tune fb for 2G mem
PD#165090: fine-tune fb cma/alloc for 2G mem
Change-Id: Ibbe35435eef867b34b46f090791477663b56270d
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
jianxin.pan [Tue, 29 May 2018 04:58:57 +0000 (12:58 +0800)]
eas: update g12b sched eneryg data
PD#165090: update g12b sched energy model data
Change-Id: I27d4ef858c49098042efb97ad5e60c0256bfecdd
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
jianxin.pan [Tue, 29 May 2018 06:10:23 +0000 (14:10 +0800)]
cpufreq: add core param to limit kernel boot cpufreq
PD#165090: add freqmax0 and freqmax1 to limit kernel boot cpufreq
add freqmax0=
1000000 to bootargs, and boot freq of cluster0 will be
limited to 1G.
Change-Id: I5cb44727f74c574669663887473a80f87ddf61a7
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
jianxin.pan [Mon, 28 May 2018 07:34:37 +0000 (15:34 +0800)]
sched: disable SD_WAKE_AFFINE
PD#165090: remove WAKE_AFFINE to get better balance when heavy loading
Change-Id: Id5650e9c3fd12b23be04f8f52a0f5c2e11c49199
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
shihong.zheng [Tue, 29 May 2018 08:17:11 +0000 (16:17 +0800)]
dts: g12b add ionvideo
PD#165090: add ionvideo dev
Change-Id: I58bc04485c417cc1774cc642b06e94d897d10a54
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Evoke Zhang [Sat, 26 May 2018 08:06:16 +0000 (16:06 +0800)]
lcd: add g12b support [2/2]
PD#165090: lcd: add g12b support
Change-Id: I437dbe99cf0a1d9517e61be82e640c7a32dda42d
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Dezhi Kong [Sat, 26 May 2018 06:32:53 +0000 (14:32 +0800)]
vdin/sr: add vdin/viu/sr support for g12b
PD#165090: vdin/viu/sr: add vdin/viu/sr support for g12b
Change-Id: I74e3d879774cddba531498612d88d0642b4ac915
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
Hong Guo [Tue, 29 May 2018 06:50:35 +0000 (14:50 +0800)]
PUFREQ: delete big core 1.896G.
PD#165090: cpufreq: delete big core 1.896G.
Change-Id: Ifd438722b67b22c604daabc0ded68d40893bb9a4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
gongwei.chen [Tue, 29 May 2018 05:15:55 +0000 (13:15 +0800)]
dts: g12b: enable cec
PD#165090: dts: g12b: enable cec
Change-Id: I8c6a173b255e02de2d3d1341ad616d7f86decf6e
Signed-off-by: Gongwei Chen <gongwei.chen@amlogic.com>
Long Yu [Mon, 28 May 2018 14:18:00 +0000 (22:18 +0800)]
emmc: support emmc HS200 for G12B
PD#165090: emmc: support emmc HS200 for G12B
Change-Id: I04d63f64b99f429b3c184555124ea6cbc8761199
Signed-off-by: Long Yu <long.yu@amlogic.com>
pengcheng chen [Mon, 28 May 2018 12:25:50 +0000 (20:25 +0800)]
osd_drm: osd drm for g12b bring up
PD#165090: osd drm for g12b bring up
Change-Id: Id69a152b22ba3e408d20fa494b9475c9ad3797de
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Huan Biao [Mon, 28 May 2018 08:25:14 +0000 (16:25 +0800)]
dts: g12b: enable g12b cooldev
PD#165090: thermal: enable g12b thermal cooldev
Change-Id: I2decf4844a9eeddc9f8187d23bc989be87ef7d14
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
jiamin ma [Mon, 28 May 2018 02:39:13 +0000 (10:39 +0800)]
unifykey: add node in dts and enble it by default
PD#165090: g12b bring up
Change-Id: Iffdc15cf07ed29169a8ee2bdf1c6d6faca626279
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
Hong Guo [Mon, 28 May 2018 08:43:37 +0000 (16:43 +0800)]
CPUFREQ: add big core cpufreq dts config for g12b.
PD#165090: cpufreq: add big corecpufreq dts config for g12b.
Change-Id: I5fc15d84df79ebd1267a59269f3a1d40e2e53651
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Qiufang Dai [Sun, 27 May 2018 10:11:34 +0000 (18:11 +0800)]
clk: add media clk and fine-tune clkmsr table for g12b
PD#165090: add clock isp, mipi, vipnanoq, gate etc.
Fine-tune clkmsr table
Change-Id: I4b15996eccac439ce91ac51365411fca7c38f320
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Qiufang Dai [Sun, 27 May 2018 09:55:19 +0000 (17:55 +0800)]
dts: change g12b skt memsize to 2G
PD#165090: change g12b memsize from 1G to 2G
Change-Id: Iea14e894ad8dae87aaf32aa258de774c8e3b12f5
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
pengcheng chen [Fri, 25 May 2018 12:48:40 +0000 (20:48 +0800)]
osd: bringup for g12b
PD#165090: osd: bringup for g12b
1. add g12b version type
2. init VPP_OFIFO_SIZE
Change-Id: Ia72964ceefd28fb9a536d8362b2fc53ecbb91207
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
gongwei.chen [Sun, 27 May 2018 07:05:41 +0000 (15:05 +0800)]
dts: g12b: disable wifi temp for Android launch
PD#165090: G12B bring up
Change-Id: I031fd49bd29052c5d83508a6e63a0f5b6a97e9fa
Signed-off-by: Gongwei Chen <gongwei.chen@amlogic.com>
jianxin.pan [Sat, 26 May 2018 15:52:58 +0000 (23:52 +0800)]
cpufreq: remove 1896M for A73
PD#165090: remove 1896M for A73, it cause panic
Change-Id: Iae806a4597d5c3bb071585ace05b45b2dfa89ff6
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Long Yu [Sat, 26 May 2018 14:19:59 +0000 (22:19 +0800)]
emmc: enable emmc driver
PD#165090: emmc: enable emmc driver
Change-Id: Ifd4549e03d57c486a4f742fea68aad0aea0fa25a
Signed-off-by: Long Yu <long.yu@amlogic.com>
Jian Hu [Sat, 26 May 2018 12:55:38 +0000 (20:55 +0800)]
arm64: dts: g12b: update i2c pin mux
PD#165090: arm64: dts: g12b: update i2c pin mux
1.add default drive-strength
2.add interal pull up
Change-Id: I061491372463d6b4f499594603837a6877179847
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Hong Guo [Sat, 26 May 2018 09:34:23 +0000 (17:34 +0800)]
CPUFREQ: add cpufreq dts config for g12b.
PD#165090: cpufreq: add cpufreq dts config for g12b.
Change-Id: If03ef64bf55641c771f475884df348b52b867329
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Shuai Li [Sat, 26 May 2018 09:05:15 +0000 (17:05 +0800)]
audio: add audio support for g12b
PD#165090: audio support added.
Change-Id: Ic6a52fa69a9f6c494bbd15de5964c5aca2a90672
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
shihong.zheng [Sat, 26 May 2018 07:53:26 +0000 (15:53 +0800)]
dts: decoder enable for g12b
PD#165090: enable decoder/codec_mm/amstream in dts
Change-Id: I6d221bb98c83a0ccfd33c16cb021b0aeea7c37e3
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
Yonghui Yu [Sat, 26 May 2018 07:18:48 +0000 (15:18 +0800)]
nand: add mtd supported on g12b
PD#165090: mtd nand added.
Change-Id: Ib0bc0e8f42a5a7a54b01ef3ffa31945aed5eb944
Signed-off-by: Yonghui Yu <yonghui.yu@amlogic.com>
Qiufang Dai [Sat, 26 May 2018 03:51:47 +0000 (11:51 +0800)]
clk: add clkmsr for g12b
PD#165090: add clkmsr for g12b
Change-Id: I320b0759b5f3f57e8683ec5732f6660df1f0e052
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Qiufang Dai [Sat, 26 May 2018 03:31:36 +0000 (11:31 +0800)]
clk: add sys1_pll/sys_pll for g12b
PD#165090: Add sys1_pll/sys_pll for g12b
These patch is compatible with g12a.
clk structur:
G12A: sys_pll(0xbd) ----> cpu_mux(0x67) ---> A53
G12B: sys1_pll(0xe0) ----> cpu_mux(0x67) ---> A53
sys_pll(0xbd) ----> cpu_mux1(0x82) ---> A73
Change-Id: I67b508f216db6124885154ea09ccb4868834e772
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
bichao.zheng [Sat, 26 May 2018 03:49:17 +0000 (11:49 +0800)]
pwm: pwm driver compatible with g12b
PD#165090: pwm: pwm driver compatible with g12b
pwm driver compatible with g12b,enable pwm controller pwm_AO_cd
pwm_ab pwm_ef for dvfs and wifi.
Change-Id: If65c4b5239ee0a4f4409aa85d9481645b44521e9
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
Brian Zhu [Sat, 26 May 2018 06:25:07 +0000 (14:25 +0800)]
vpp: enable amvideo module for g12b
PD#165090: vpp: enable amvideo module for g12b
Change-Id: Ifef976077e2578585aa02719bc85a67bc3c19185
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Nan Li [Fri, 25 May 2018 11:59:48 +0000 (19:59 +0800)]
sd: add mmc supported on g12b
PD#165090: emmc highspeed, sd highspeed.
Change-Id: Ia3899a29a97e354ec75943e21f7b1e4077f3376e
Signed-off-by: Nan Li <nan.li@amlogic.com>
Jian Hu [Fri, 25 May 2018 11:04:11 +0000 (19:04 +0800)]
arm64: dts: g12b: add i2c devicetree
PD#165090: arm64: dts: g12b: add i2c devicetree
Change-Id: I289d5b71ae0dc1080cb6c9e56c786a1937e124d6
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Jian Hu [Fri, 25 May 2018 09:09:08 +0000 (17:09 +0800)]
i2c: add support for g12b
PD#165090: i2c: add support for g12b
Change-Id: I2240e361dff3e3d56898ffb4f43c1ad4cadd3912
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Yi Zhou [Thu, 24 May 2018 11:11:55 +0000 (19:11 +0800)]
hdmitx: bringup for g12b to g12b3
PD#165090: hdmitx: bringup for g12b to g12b3
add g12b ic_type
Change-Id: I2b6871fc228a04dfffe0c5a0131b38a4cfbf6c64
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Yue Wang [Fri, 25 May 2018 06:22:33 +0000 (14:22 +0800)]
dts: add usb/pcie/ethernet/uart dts config on g12b skt
PD#165090: add usb/pcie/ethernet/uart dts config on g12b skt
Change-Id: Idba2f66ccac904564f49427269474ec27499a58e
Signed-off-by: yue wang <yue.wang@amlogic.com>
Huan Biao [Fri, 25 May 2018 08:16:15 +0000 (16:16 +0800)]
thermal: enable thermal sensor for g12b
PD#165090: thermal: enable g12b thermal sensor dts
Change-Id: Ia7dbdf0330bacbd50bc1f1c599abac439ff38985
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Qiufang Dai [Fri, 11 May 2018 09:31:59 +0000 (17:31 +0800)]
clk: add g12b.c for g12b new clocks
PD#165090: add g12b.c for new clocks, include sys1_pll
Change-Id: If9234037eab5439cf1abfbcecc70c9f4eab6c954
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Qiufang Dai [Fri, 25 May 2018 04:16:29 +0000 (12:16 +0800)]
dts: add g12b skt dts
PD#165090: add g12b skt a311d dts
Change-Id: Icdb5f8aea3d83d74731c7828986bac01da39c7bb
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Hong Guo [Wed, 23 May 2018 08:50:53 +0000 (16:50 +0800)]
CPUFREQ: add cpufreq dts config for g12b.
PD#165090: cpufreq: add cpufreq dts config for g12b.
Change-Id: I5478b967d14a574a3b435743363cdb23969b38e9
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
kele bai [Fri, 18 May 2018 10:48:20 +0000 (18:48 +0800)]
di: add madi&mcdi&nr4 for g12b
PD#165090: di: add madi&mcdi&nr4 for g12b
Change-Id: Icebb9761915e005afca90974efc9c96d0d8b0c63
Signed-off-by: kele bai <kele.bai@amlogic.com>
pengcheng chen [Sat, 12 May 2018 07:46:26 +0000 (15:46 +0800)]
osd: add mali-afbc frame reset for g12b
PD#165090: osd: add mali-afbc frame reset for g12b
Change-Id: If0176807a1a845a1eebb6c53ad05fdff2e5a1654
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Xingyu Chen [Wed, 9 May 2018 09:05:14 +0000 (17:05 +0800)]
pinctrl: add extra pin-groups for g12b
PD#165090: pinctrl: add extra pin-groups for g12b
The pins on G12B are compatible with the G12A, but it introduces
extra mux function for a few of pins.
Change-Id: I686a952b85dd014cc9de95364dd7dec4e1a53ee7
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Brian Zhu [Thu, 10 May 2018 15:19:14 +0000 (23:19 +0800)]
vpp: enable the video data path for g12b
PD#165090: vpp: enable the video data path for g12b
Change-Id: I35fd1e61d97d4d416f70f954c58217b70740e6f3
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Qiufang Dai [Mon, 7 May 2018 13:04:23 +0000 (21:04 +0800)]
media: adds the register ops for g12b
PD#165090: adds the register ops for g12b
Change-Id: Id7bb271934e5826b65fbf992dff9798fb6323e40
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
pengcheng chen [Fri, 4 May 2018 14:02:25 +0000 (22:02 +0800)]
osd: bringup for g12b
PD#165090: osd: bringup for g12b
Change-Id: Ib1f721f695482a90716273555c7802a925145227
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Evoke Zhang [Mon, 7 May 2018 03:11:34 +0000 (11:11 +0800)]
vpu: add g12b support
PD#165090: vpu: add g12b support
Change-Id: I16fcd32700a5868209cd30563435b54f27a157a5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Qiufang Dai [Mon, 7 May 2018 06:29:49 +0000 (14:29 +0800)]
clk: add sys1_pll for g12b
PD#165090: add sys1_pll for g12b
Change-Id: Icc1be3df1ca9ba2863ce49e0acf0be872e2dd411
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Qiufang Dai [Mon, 7 May 2018 03:37:14 +0000 (11:37 +0800)]
cpuver: g12b: add cpuversion api for g12b
PD#165090: add cpuversion api for g12b
Change-Id: I64a5edb8953258b2033fe6aab05e75890ff7e9ae
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Yi Zhou [Fri, 4 May 2018 07:39:05 +0000 (15:39 +0800)]
hdmitx: bringup for g12b
PD#165090: hdmitx: bringup for g12b
1. update address of RESET0_REGISTER
2. open hdmitx function
Change-Id: I4878d25109058c67046003dc349572df2bb991a2
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
jianxin.pan [Sat, 28 Apr 2018 07:24:04 +0000 (15:24 +0800)]
sched: eas support
PD#165090: EAS support on g12b
Change-Id: Ic816ddef61e80f39944251f67ca8ebb2cb36f8ae
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
Yan Wang [Mon, 23 Apr 2018 07:37:16 +0000 (15:37 +0800)]
dts: g12b: initial add g12b
PD#165090: initial add g12b
initial G12B dts for bringup.
Change-Id: If7c390b2139055f637fb17fb4e3ce0acd71a6f17
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
Brian Zhu [Thu, 21 Jun 2018 18:06:16 +0000 (02:06 +0800)]
vpp: set vd & afbc's hold lines as vpp hold lines
PD#168549: vpp: set vd & afbc's hold lines as vpp hold lines
Change-Id: Ie5c1690ec57408d3650b8ad8a2538490edbd7430
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Evoke Zhang [Wed, 20 Jun 2018 07:15:45 +0000 (15:15 +0800)]
vpu: code coverity fix
PD#168737: vpu: code coverity fix
Change-Id: Icbeb972a7022531c9146559046c1bddd28f44ab3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
yicheng shen [Thu, 21 Jun 2018 11:32:22 +0000 (19:32 +0800)]
hdmirx: fix coverity errors
PD#167692: hdmirx: fix coverity errors
Change-Id: I685ff24dc791a2bfd233c7f6db3ce23bf6744207
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Nan Li [Fri, 22 Jun 2018 05:26:04 +0000 (13:26 +0800)]
emmc: add tuning retry.
PD#167389: add tuning retry when tuning points num == clk_div.
Change-Id: I9cc68c9c69c1aad55e8cc916a5d5a4f6441e3ace
Signed-off-by: Nan Li <nan.li@amlogic.com>
Long Yu [Fri, 27 Apr 2018 09:48:15 +0000 (17:48 +0800)]
emmc: Optimized hs200 mode with the known latest data line
PD#165333: emmc: Optimized hs200 mode with the known latest data line
Change-Id: Ic1581dbfbadda8e14879beabb4f7ae4a4a30546f
Signed-off-by: Long Yu <long.yu@amlogic.com>
Jihong Sui [Fri, 15 Jun 2018 07:57:10 +0000 (15:57 +0800)]
dtv_demod: fix atsc search bug and clear coverity warning
PD#168297: fix atsc search bug
1. change j83/atsc search mechanism;
2. delet 'set_frontend' in dvb_fronten.c
3. clear coverity warning;
Change-Id: I9f9905ce88dea435a9d7ac46617ea34786a0b176
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
shuanglong.wang [Tue, 19 Jun 2018 03:23:49 +0000 (11:23 +0800)]
video: Add pulldown pattern metrics pick from bug168503
PD#168503: video: Add pulldown pattern metrics
[Problem]
The 3:2,2:2,4:1 pulldown metrics information added in
framework
does not cover the cases for 4K, secure playback and tunnel mode.
[Solution]
Add the 3:2,2:2,4:1 pulldown metrics information in video
display driver from kernel space.
Change-Id: I2e09a797b1114bf9d6e2bdc07025a8f065f03635
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
Huan Biao [Thu, 7 Jun 2018 11:27:44 +0000 (19:27 +0800)]
ring: ring: add osc ring efuse info get cmd for g12 [3/3]
PD#165091:
Problem:
no osc ring efuse info
Solution:
add g12 osc ring efuse info get cmd
Verify:
g12 skt
Change-Id: I5adf6efd9787a6afeea38e959105f4a273a82bad
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
pengcheng chen [Thu, 21 Jun 2018 03:20:40 +0000 (11:20 +0800)]
osd: fix dfbshow display error in none 1080p mode
PD#168740: osd: fix dfbshow display error in none 1080p mode
Change-Id: Ia196cd2635d8cee1b62abd1793c1679b9674578e
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Yixun Lan [Fri, 25 May 2018 06:42:19 +0000 (14:42 +0800)]
network: enable UDP socket monitoring
PD#167119: network: enable UDP socket monitoring
this is need by VtsKernelNetTests, otherwise some test cases will fail
Error info:
testUdp (sock_diag_test.SockDestroyPermissionTest) ... skipped 'INET_UDP_DIAG not enabled'
testClosesUdpSockets (sock_diag_test.SockDestroyUdpTest) ... skipped 'INET_UDP_DIAG not enabled'
testReadInterrupted (sock_diag_test.SockDestroyUdpTest)
Tests that read() is interrupted by SOCK_DESTROY. ... skipped 'INET_UDP_DIAG not enabled'
testSocketAddressesAfterClose (sock_diag_test.SockDestroyUdpTest) ... skipped 'INET_UDP_DIAG not enabled'
Change-Id: I732f8d654a476614308992c756d5c8a8711bbbc9
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Yixun Lan [Fri, 25 May 2018 06:20:56 +0000 (14:20 +0800)]
network: enable VTI option
PD#167119: network: enable VTI option
this is need by VtsKernelNetTests, otherwise some test cases will fail
Error info:
ERROR: testAddVti (xfrm_tunnel_test.XfrmAddDeleteVtiTest)
Test the creation of a Virtual Tunnel Interface.
Change-Id: I19b05d7684ab97245f02384c4f50cee349f76131
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Yixun Lan [Fri, 25 May 2018 05:50:50 +0000 (13:50 +0800)]
crypto: enable sha512 algorithm
PD#167119: crypto: enable sha512 algorithm
this is need by VtsKernelNetTests, the xfrm test case
will require this option to work, otherwise will fail
errors info:
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv4_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv4_UDP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv6_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_256_IPv6_UDP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
testSocketPolicySimple_cbc-aes_192_hmac-sha512_512_512_IPv4_TCP (xfrm_algorithm_test.XfrmAlgorithmTest) ... ERROR
Change-Id: I7f2502c4c76c09f00fe2719aac3f26b9b0d7f772
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
xuhua zhang [Wed, 20 Jun 2018 03:35:24 +0000 (11:35 +0800)]
tvin: coverity fix
PD#168718: tvin: coverity fix
Change-Id: I196de9ae44fc443f5cb7050fad92bea9cd138c8a
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
Yi Zhou [Wed, 20 Jun 2018 10:28:13 +0000 (18:28 +0800)]
hdmitx: clean up deadcode
PD#168723: hdmitx: clean up deadcode
Change-Id: I9e9267d748ee002f76e70c0634d43cfaba333988
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
weijia.zhu [Tue, 19 Jun 2018 11:45:13 +0000 (19:45 +0800)]
audio: turn some log into debug mode
PD#168597: disable hdmi plugin log print
Change-Id: Ie6731ef35d17f12ad2e696d1f186350d58fda52e
Signed-off-by: weijia.zhu <weijia.zhu@amlogic.com>
Jianxin Qin [Thu, 21 Jun 2018 03:21:56 +0000 (11:21 +0800)]
usb: phy2: modify tuning sequence for aml-phy
PD#164286: usb: phy2: modify tuning sequence for aml-phy
The firt two steps of PHY tuning sequence only need to do once, so
we move them to initial function.
Change-Id: Ib6e0daa429aeea17007130a001d7fc0905307c1e
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
Matthew Shyu [Tue, 19 Jun 2018 11:04:13 +0000 (19:04 +0800)]
crypto: aml-dma: fix errors found in coverity check
PD#168725: fix errors found in coverity check
Change-Id: I7528dc0c6122d32e3f2937a4b1869031d10851af
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
Shuai Li [Fri, 15 Jun 2018 09:27:55 +0000 (17:27 +0800)]
audio: fix lineout L/R phase diff 7 degree issue
PD#168345: audio: fix lineout L/R phase diff 7 degree issue
Change-Id: I6768b9fc8324baf00a9b759f7a6e3faea2695371
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Huan Biao [Thu, 7 Jun 2018 06:36:06 +0000 (14:36 +0800)]
clk: ringmsr: add osc ring msr for g12 [1/1]
PD#165091:
Problem:
no osc ring msr function
Solution:
add g12 osc ring msr code
Verify:
g12 skt
Change-Id: I1fc9292b750cd402f81d3a0d6d8206cea94098b6
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Nian Jing [Wed, 20 Jun 2018 05:56:47 +0000 (13:56 +0800)]
cvbsout: cvbsout/vdac coverity fix
PD#168730: coverity fix
Change-Id: I0753c4ae9a4eed14a46a1f2bcda4cc11fbb0b351
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Yu Tu [Wed, 20 Jun 2018 03:14:39 +0000 (11:14 +0800)]
uart: fix support sysrq function. [1/1]
PD#167742: uart: support sysrq
Change-Id: I67b183942047428a3aea35cbcf8ffae490319ac8
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Lei Yang [Tue, 12 Jun 2018 10:20:30 +0000 (18:20 +0800)]
hdmirx: fix HDCP CTS issues
PD#168221: hdmirx: fix HDCP CTS issues
1. disable hdcp 1.1 feature && fastreauth function.
2. ignore dvi recovery logic when aksv was received.
Change-Id: I48c37d4b7e0da7309c743052e16b0d607daa4110
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
MingLiang Dong [Tue, 12 Jun 2018 03:08:59 +0000 (11:08 +0800)]
hdr: optimize hdr/hlg effect
PD#167989: hdr: optimize hdr/hlg effect
1. fix hdr->sdr exposure
2. fix hlg->hdr abnormal image
Change-Id: Ia72178084335940d4d6984f07c7b9d7b7025b5e8
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Matthew Shyu [Thu, 24 May 2018 08:23:42 +0000 (16:23 +0800)]
crypto: aml-dma: Enable HW crypto on G12A
PD#167825: Enable HW crypto on G12A and rework sha driver
1. allocate atomic mem to avoid sleep
2. rework import and export function for fixing race conditions
3. rework hmac setkey to avoid HW bug
4. Use fallback on AES-192
5. passed all AES and SHA related tests in tcrypt
Change-Id: I1c0dcbbad025f0d8d7c16f921948a8cb6d4b2548
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
kieth liu [Fri, 8 Jun 2018 07:51:56 +0000 (15:51 +0800)]
video: add sysfs video_inuse for vfm map share[1/9]
PD#165474: add sysfs video_inuse for vfm map share
Change-Id: Ic226eaf89cbd55dae14532b3c291485a8585b933
Signed-off-by: kieth liu <kieth.liu@amlogic.com>
Weiguang Ruan [Thu, 14 Jun 2018 07:48:14 +0000 (15:48 +0800)]
wifi: mac80211 add p2p0 [5/6]
PD#168467: wifi: mac80211 add p2p0
softmac wifi need mac80211 to register cfg80211 interfaeces
wlan0 is default, add p2p0 for Android WIFI P2P
Change-Id: I6fd48f85e010a1ec9e35954b85205634312c73d9
Signed-off-by: Weiguang Ruan <Weiguang.ruan@amlogic.com>
nengwen.chen [Fri, 15 Jun 2018 06:52:20 +0000 (14:52 +0800)]
atv_demod: Fix audio always mute and unmute during ATV playing. [1/1]
PD#167378: Modify atv demod for audio driver get atv audio data.
Change-Id: I221c6a94d3756d5361c140fdc88f25b65e33d114
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
pengcheng chen [Tue, 5 Jun 2018 01:39:38 +0000 (09:39 +0800)]
osd: add osd reverse support with cursor
PD#165875: osd: add osd reverse support with cursor
Change-Id: If9cac66bea53f4461e5570c6a405b9584f7b05b9
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Zhuo Wang [Fri, 15 Jun 2018 06:40:51 +0000 (14:40 +0800)]
ethernet: fix reboot error
PD#164611: fix error not support powerlow
Change-Id: I9d65b25bebcfb7afccc590629c7865ed490440de
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
pengcheng chen [Mon, 11 Jun 2018 08:54:47 +0000 (16:54 +0800)]
osd: add ion_alloc failed process
PD#167090: osd: add ion_alloc failed process
Change-Id: I4b6424f3bfaacc57553355a7115be0ed8f7feb34
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
Yi Zhou [Wed, 13 Jun 2018 06:32:33 +0000 (14:32 +0800)]
hdmitx: modify some modes parameters in ENCP
PD#167526: hdmitx: modify some modes parameters in ENCP
480p60hz,576p50hz,720p50/60hz,1080i50/60hz
Change-Id: Ia7b05ccbc20a200eb3684c7f4787e1c31a42cfc3
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Long Yu [Fri, 11 May 2018 07:39:04 +0000 (15:39 +0800)]
emmc: optimize ds and core clock alignment
PD#166221: emmc: optimize ds and core clock alignment
[problem] If the DS and core clock are aligned
at the beginning of the period, the program will
return directly without setting up CMD delay.
Change-Id: I65f32530884a2bea5171cc92e297a60f375a70f7
Signed-off-by: Long Yu <long.yu@amlogic.com>
Zhuo Wang [Thu, 14 Jun 2018 06:01:11 +0000 (14:01 +0800)]
ethernet: turn off led and phy power
PD#164611: u211 optimize power for phy
Change-Id: Ic5eb4684b221f84abc581520fe89cde4d271d1cf
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
Jianxin Qin [Fri, 4 May 2018 03:39:47 +0000 (11:39 +0800)]
usb: dwc3: add shutdown function for dwc3 driver
PD#164611: usb: dwc3: add shutdown function for dwc3 driver
In suspend mode, we will shutdown the USB controller for reducing
more power consumption.
Change-Id: Icfc3182fce4f5455397e5f11fd08693f763757b3
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
Yi Zhou [Mon, 11 Jun 2018 02:52:44 +0000 (10:52 +0800)]
hdmitx: fix ISA_DEBUG_REG0 address error
PD#162651: hdmitx: fix ISA_DEBUG_REG0 address error
Change-Id: If46fb55084c77a8f05b838d7676af548b5252add
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Zongdong Jiao [Wed, 13 Jun 2018 09:16:34 +0000 (17:16 +0800)]
hdmitx: optimize hpll shutdown
PD#164611: optimize hpll shutdown
HPLL shutdown is referenced from early suspend workflow.
Change-Id: I9dc33bea2d2d965ff97db0fb871175c537f8de67
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Yong Qin [Mon, 11 Jun 2018 07:06:45 +0000 (15:06 +0800)]
cec: for gxl cec tx timeout [1/1]
PD#168316: cec: tx timeout
1.support transwich ip for g12a
2.gxl tx msg timeout
Change-Id: I38936e429e45bb3bedf2526867e5f9a42494003c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Evoke Zhang [Tue, 12 Jun 2018 07:55:04 +0000 (15:55 +0800)]
lcd: mipi-dsi: set clk lane only according to clk_always_hs [2/2]
PD#168252: lcd: mipi-dsi: set clk lane only according to clk_always_hs,
remove restrictions by operation mode.
Change-Id: Icac07d74ae07d60edc6a6b507d06d962780e3984
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
xuhua zhang [Thu, 7 Jun 2018 06:15:16 +0000 (14:15 +0800)]
vdin: add reset_tvin_smr.
PD#167053: vdin: add reset_tvin_smr.
when cutting table, need reset tvin smr.
Change-Id: Ibe95526b696f73c0f17ff456b17cfb11afafac1b
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
Yong Qin [Wed, 6 Jun 2018 08:48:59 +0000 (16:48 +0800)]
cec: fix cts test bug and transwich cec bug
PD#167701: cec: sync code from 3.14
1.add weakup reason
2.set default cec version is 1.4
3.add hw reset for transwich ip when access
register fail
Change-Id: Ie664123213fcbdf68a7161f90322a12fee50f1ea
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Yue Wang [Wed, 13 Jun 2018 09:28:40 +0000 (17:28 +0800)]
usb: adjusted the sof interval to 125us through controller, then retested EL39.
PD#168365: usb: adjusted the sof interval to 125us through controller.
Change-Id: I9984e4dc5aa82808824949169ac8fadb4d0e7147
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Evoke Zhang [Fri, 8 Jun 2018 08:25:21 +0000 (16:25 +0800)]
lcd: add screen black support before backlight on [2/2]
PD#167706: lcd: add screen black support before backlight on
Change-Id: I5fd1eb644ae96dac279a00740d8488d4c14870cf
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
shihong.zheng [Wed, 13 Jun 2018 02:53:36 +0000 (10:53 +0800)]
media: add config for avsp_long_cabac
PD#167435: default disable avsp long cabac
gxl must config this option enable, other
platform disabled to reduce mem consume
Change-Id: If522dd11dd017d3c04d859a62acacc4355ec2382
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
yicheng shen [Thu, 7 Jun 2018 03:07:02 +0000 (11:07 +0800)]
hdmirx: add load22key handle
PD#153894: hdmirx: optimize load22key sw sequence
Change-Id: I888cbc2911e0739ec078e03cb475069cc4e1a49c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Jian Xu [Wed, 6 Jun 2018 05:11:19 +0000 (13:11 +0800)]
audio: set atmos bit to hdmirx side [1/1]
PD#167816:
When HDMI ARC connected,and the ARC sink support
ATMOS decoder,we need copy the edid bit in HDMIRX edid.
we need interface to set that bit to hdmirx.
Change-Id: Ic19bc17f166f8f10ba15e1e8b0de1f256296f9a5
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
Zongdong Jiao [Tue, 12 Jun 2018 02:34:38 +0000 (10:34 +0800)]
hdmitx: optimize hpll suspend
PD#164611: hdmitx: optimize hpll suspend
The BIT definition of RESET / ENABLE in G12A is different from
earlier chips.
HPLL suspend workflow:
1. set RESET as 1
2. delay 50us
3. set ENABLE as 0
Resume workflow is inverse, but no need anymore, it will be set
in set_disp_mode_auto().
Change-Id: I6e178466f865a643b4ef8d32dc59c99d1c96b94d
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Bencheng Jing [Mon, 11 Jun 2018 07:58:15 +0000 (15:58 +0800)]
amvecm: modify txhd and txlx r/g/b pre/post offset to 13bit
PD#168189: amvecm: modify txhd and txlx r/g/b pre/post offset to 13bit
Change-Id: I32814aae3be39dd077d0f2ed268bd0262e783060
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
manhao liang [Mon, 11 Jun 2018 07:52:24 +0000 (15:52 +0800)]
dvb: reduce the gap of pcr delayed.
PD#165243: Sen5 DVB player AV issue.
Change-Id: I9bccc7804346595c941ac8f2cf5ced7e68276ebd
Signed-off-by: manhao liang <manhao.liang@amlogic.com>
yicheng shen [Wed, 6 Jun 2018 05:39:31 +0000 (13:39 +0800)]
hdmirx: fix coverity errors
PD#167692: hdmirx: fix coverity errors
Change-Id: I044b9e84f090e1f7b1652891522eeb1adb1ed0ac
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
shuanglong.wang [Mon, 11 Jun 2018 02:53:23 +0000 (10:53 +0800)]
common: netflix: merge patch for fix 29.97 and 23.97 output evenly [1/2]
PD#165744: netflix: merge patch for fix 29.97 and 23.97 output evenly
NEEDLEPLAT-2057:
[Netflix][NTS] Video judders are observed during VP9/HEVC playback [1/1]
[Problem]
[Netflix][NTS] Video judders are observed during VP9/HEVC playback.
The problem happens at 'Boardwalk Twirl Ride' scene with seek point at 760
seconds. Seek before the point or the exact point will show stuttery video
display but a seek after the location or a short seek (swim operation in
NF's term) will make the playback smooth again. [Solution] The problem
is identified to be an uneven PTS timestamp for sample frames. In order
to get 29.97fps the timestamp of video samples are switching between a
30fps rate and some samples with longer duration so by average it's
29.97fps. The output rendering control has very strict timestamp comparison
between system time and the timestamp of video frame. When system time passed
the next video frame's timestamp, a new frame is toggled to display. For the
uneven PTS case, some frames have over 2 vsync duration and the others have
less than 2 vsync duration. Depending on the initial vsync offset, there is a
chance to have frames toggled in
13221322 vsync sequence, instead of a normal
always 2 vsync toggle one frame pattern. The change is to do a small adjustment
to the system time, based on initial system time and video timestamp so the "phase"
of the vsync can be set up to avoid such situation.
[Platform]
needle,stark
[Test]
Verify with Netflix Chime S1E8 29.97fps titles, 'Boardwalk Twirl Ride' scene.
Change-Id: I073481ce9e39f49555480a139e3b32d8cc047e1c
Signed-off-by: Tim Yao <tim.yao@amlog
NEEDLEPLAT-2604: [Netflix] Video judders during playback [1/1]
[JIRA] NEEDLEPLAT-2604
[Problem]
FRC caused video judders with 23.97fps source.
[Solution]
When source is 23.97 fps and output is 59.94hz, in order to make it
friendly to TV 3:2 pulldown detection, the video frame output should follow a
323232 patten, which means for each vsync, frames are repeated 3 times, then
switch to a new frame and repeat twice. Such repeating pattern will make the
average vsync toggle rate become 2.5 frame per vsync, to match 23.97 to 59.94
frame conversion rate. And TV side can also detect such patterns and do its best
recovery for MEMC processing. The problem with Netflix is the PTS of each vidoe
frame is not incremented in a constant duration, but with some frames bigger then
1/23.97 seconds and some are smaller. In Jira NEEDLEPLAT-2057 we have a similar
processing for the case when source is 29.97fps and output is 59.94hz and for this
Jira the reason is same. The fix for NEEDLEPLAT-2057 actually caused a side effect
because it tried to set the initial vsync phase to 0.5, to maximumly avoid the
problem, but for the 2:3 situation, a 0.5 phase make it worse because the average
FRC ratio is 2.5, so an initial 0.5 phase will always make the output pattern not
aligned at 232323 pattern when the duration of each frame is not even. This fix
is to move the initial phase to 75% so both cases should work fine.
[Test] Play typical HD source with 23.97fps and observe the playback smoothness.
Also double check Chimera Boardwalk Twirl Ride from seeking point 02:34:14 and
check the playback is smooth also.
Change-Id: I95c35d4ffa563f74b9afa7ae08f7ef22d1227706
Signed-off-by: Tim Yao <tim.yao@amlogic.com>
NEEDLEPLAT-3173: [NTS]Frame stuttering on 4K 60fps [1/1]
[JIRA] NEEDLEPLAT-3173
[Problem] The test clip is 4K 60fps and the output is 4K
59.94hz so a frame dropping always happen every 1000 frame. The clip is special
in that the duration (PTS growing distance) between each frame is not same. The
frame's PTS is incremened by (1530, 1530, 1440) to get an average of 1500 90K
unit increase. (1500 = 90k / 60), which equals two 17ms dutation then followed
by a 16ms duration frame to get an average of 16.6ms duration. The previous
commit for NEEDLEPLAT-2604 and 2057 are the efforts to solve this problem by
setting an initial phase, which can solve the problem for the uneven PTS for
23.97 and 29.97fps cases. However, for 60fps source, the initial phase can not
solve the problem because we can not maintain 1 vsync 1 frame switching always
because eventually we need drop a frame for every 1000 frames. It means that
during the playback, this initial phase will be shiftted. And when the vsync
switching happens at those uneven PTS boundary, the same problem happens.
[Solution] The change is a general frame switching improvement to avoid two
situations: a) In one vsync, there are two frames toggled (frame dropping),
but the next vsync there is no frame flipped because of its PTS has not arrived.
This will cause unnecessary frame dropping and what we do is to move the second
video frame to next vsync window. b) In one vsync, there are no frames be flipped
(frame repeating), but the next vsync will have more than 1 frame flipped. It's
also another frame dropping and what we do is to flip the next video frame in
this vsync instead. So the idea is to make the frame switching at video display
driver more smooth by avoid uneven frame flipping for each vsync. The timestamp
of the test clip is not correct, but we can use this method to make output
sequence smooth and avoid frame dropping.
[Platform]
needle,stark
[Test]
Verify with the special test clip according to the instruction. Verify
NEEDLEPLAT-2604 and 2057 also.
Change-Id: Ic4dfc8aa243cf01acae296ac53fc2587583e601f
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>