Commit Graph

648613 Commits

Author SHA1 Message Date
Bencheng Jing
9cb5683ddf amvecm: add sharpness0 cvbs table in driver [1/2]
PD#OTT-2339

Problem:
Testing CVBS Video Index Part FAIL

Solution:
add sharpness0 cvbs table in driver

Verify:
U212

Change-Id: I91047de0e852c77e70ad95aad3e6830fde7097f4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-17 19:52:42 +08:00
Luan Yuan
79a2e874b6 Revert "amvecm: add sharpness0 cvbs table in driver [1/2]"
This reverts commit 4001dd156e.
2019-04-16 23:52:09 +08:00
Luan Yuan
06cfbd413d Revert "partition: change vendor size [1/2]"
This reverts commit a219789bb2.
2019-04-16 19:27:45 +08:00
Xiaoming Sui
46b3f61e5a avsync: tsync: fix blackscrean issue when replayed [1/2]
PD#TV-2802

Problem:
The image is stuck or blackscrean for a few seconds
when the DTV stream is replayed.

Solution:
when audio pts and video pts discontinue, then
adjust the pcr source clock.

Verify:
X301

Change-Id: Id0a74e2d4106a30b426bfa7a4faa70451db9b79e
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
2019-04-16 15:17:27 +08:00
Rongjun Chen
11e6bde6f9 WIFI: add mem size for bcm wifi [2/5]
PD#SWPL-3773

Problem:
wifi open fail issue

Solution:
add mem size to fix wifi open fail issue

Verify:
r311

Change-Id: Iab6cd8664026639f5aae108a3bd84faa38708487
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
2019-04-16 13:41:02 +08:00
Luan Yuan
2c2b94bef9 picdec: add picdec dev node for u200 u211 u212 w400 sm1 [1/1]
PD#SWPL-4551

Problem:
ImagePlayer cannot play picture

Solution:
add picdec dev node for u200 u211 u212 w400

Verify:
franklin

Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1
Signed-off-by: xi an <an.xi@amlogic.com>

Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-16 10:55:20 +08:00
Liang Ji
a219789bb2 partition: change vendor size [1/2]
PD#SWPL-6586

Problem:
Android P trunk can not compile 64bit kernel
Android P vendor size is not enough,
64bit kernel and isp so  etc ,
the size exceeds 256M

Solution:
change vendor size from 256M into 320M

Verify:
galilei

Change-Id: Icc7b3d7c8d56f5c361acf9722bba6422b8dc3af2
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-15 20:54:50 +08:00
Bencheng Jing
4001dd156e amvecm: add sharpness0 cvbs table in driver [1/2]
PD#OTT-2339

Problem:
Testing CVBS Video Index Part FAIL

Solution:
add sharpness0 cvbs table in driver

Verify:
U212

Change-Id: I91047de0e852c77e70ad95aad3e6830fde7097f4
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-15 20:35:49 +08:00
Zhongfu Luo
644d912568 defendkey: TL1: support secure upgrade check [4/4]
PD#SWPL-5002

Problem:
TL1 need to support defendkey secure upgrade check

Solution:
1.modify the way of get random

Verify:
TL1 skt board verify pass

Change-Id: I76b29800de787c5e5b18e023d84c1161c9b1643a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2019-04-15 16:27:53 +08:00
Zongdong Jiao
396ad38985 hdmitx: fix wrong 420 valid_mode [1/1]
PD#SWPL-6896

Problem:
In the HF1-31 Iter 03 test, the Rx EDID's max tmds clock is 600MHz,
and it doesn't claim that it supports Y420 modes. But
echo 2160p60hz,420,8bit > /sys/class/amhdmitx/amhdmitx0/valid_mode
'cat valid_mode' will get 1.

Solution:
Add Y420 8bit check

Verify:
G12/U212

Change-Id: I0a128eb33aeb2b4bcbf253eff49e9c5186386af1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-04-15 16:00:58 +08:00
Hong Guo
fed72eb16b SUSPEND: add alarm wakeup function [1/1]
PD#SWPL-7062

Problem:
add alarm wakeup function.

Solution:
add alarm wakeup function.

Verify:
g12b_w400,test pass.

Change-Id: I0ad6e373b52bfd8d628ad3c8964637174b5fc643
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-04-12 20:13:54 +08:00
Ting Li
2a480561fb picdec: add picdec dev node for u200 u211 u212 w400 sm1 [1/1]
PD#SWPL-4551

Problem:
ImagePlayer cannot play picture

Solution:
add picdec dev node for u200 u211 u212 w400

Verify:
franklin

Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1
Signed-off-by: xi an <an.xi@amlogic.com>
2019-04-12 19:57:09 +08:00
Yingyuan Zhu
79883263fd AC200: fix home button has no function [1/1]
PD#SWPL-6694

Problem:
home button has no function in sm1-ac200

Solution:
add home button configuration in dst node

Verify:
test pass on sm1-ac200

Change-Id: I670480c6dfd7f833e737adaddbe5981d84091203
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2019-04-12 16:12:21 +08:00
Evoke Zhang
6be67a49ba lcd: add mipi-dsi support for sm1 [2/2]
PD#SWPL-6114

Problem:
add mipi-dsi support for sm1

Solution:
add lcd_chip_sm1

Verify:
verify by S905x3

Change-Id: I1b95676ad1300f8cbf859f89b557f680cccff117
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-04-12 15:43:17 +08:00
renjiang.han
eead0b2e8a amvideo2: add keep last frame [1/1]
PD#OTT-2452

Problem:
Black screen in the middle of the cut.

Solution:
add keep last frame.

Verify:
on U212

Change-Id: Ib24f066e0682c7427024a74d9bf8cc9b8a310d62
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
2019-04-11 20:55:02 +08:00
xiaoliang.wang
ddf73459b7 device: changes for s905x3 ac213 bring up [3/3]
PD#SWPL-6970

Problem:
for s905x3 ac213 bring up, support multi-dts

Solution:
s905x3 ac213 bring up

Verify:
AC213

Change-Id: I4a22f4ce5b927db7d0197028abb12e6b669e7dc8
Signed-off-by: xiaoliang.wang <xiaoliang.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-11 20:36:33 +08:00
rongrong zhou
a71fda4316 ptsserv: fix pts lookup fail issue [3/3]
PD#SWPL-3730

Problem:
playback not smooth

Solution:
if p2 lookup fail, set p2 = p

Verify:
  verified by x301

Change-Id: I181eae2ba40edd937df12e0925c2a55c856162ba
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2019-04-11 15:50:17 +08:00
Nan Li
5c18ac7c4d emmc: modify data delay_step [1/1]
PD#SWPL-6200

Problem:
emmc calibration delay set error.

Solution:
modify delay_step to 250ps.

Verify:
verify by s912.

Change-Id: I1c0e31ae6bdda8b0f105e12f3efc81b5474376d6
Signed-off-by: Nan Li <nan.li@amlogic.com>
2019-04-11 14:37:53 +08:00
huijie.huang
7ab2c469ae power: S905Y2 limit cpu and gpu freq to reduce HDMI TX consumption [1/1]
PD#SWPL-4653

Problem:
optimize the S905Y2 power consumption

Solution:
limit CPU and GPU frequency, reduce hdmi tx consumption

Verify:
test pass on u221

Change-Id: I1d95068f8beb5616c9aeea91122b5233e479db8b
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2019-04-11 11:14:40 +08:00
ruixuan.li
ead21518eb sm1: emmc run hs200 busmode [1/1]
PD#SWPL-5404

Problem:
emmc report data crc error in hs200 busmode

Solution:
set hs200 co_phase to 2 and did not reset the
hs200 co_phase and tx_phase when adjust tuning is
find the error point in sm1

Verify:
verify pass on sm1_s905d3_ac200

Change-Id: I56aa8eb666fb55641db75878a3488f66c721bd6d
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2019-04-09 21:09:24 +08:00
ruixuan.li
60de06dcc1 sm1: modify 400k co_phase [1/1]
PD#SWPL-5404

Problem:
emmc report response crc error in high speed mode

Solution:
modify 400k co_phas

Verify:
verify on ac200

Change-Id: I8bd0cbeb121e7a35a5f96791449187150e650d9e
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2019-04-09 21:09:18 +08:00
ruixuan.li
ae94743b0c sm1: disable emmc calc_f methods [1/1]
PD#SWPL-5404

Problem:
sm1 usb fixdiv mode set adjust cause error

Solution:
disable emmc calc_f in dtsi.

Verify:
test pass on sm1 ac200

Change-Id: I4459bf4faa2141a9e684b1e5bb95fb806eecbbfa
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
2019-04-09 21:09:11 +08:00
long yu
e93578a8ff storage: emmc: Adjust the tuning mode of controller for HS200 [1/1]
PD#SWPL-2634

Problem:
eyetest mode is a little unstable

Solution:
adjust the tuning mode of the fixed adj

Verify:
R311

Change-Id: I6112e0078bf013d2a4cfe4ff04210f1d15e3439d
Signed-off-by: long yu <long.yu@amlogic.com>
2019-04-09 21:08:20 +08:00
Xing Wang
68b0e6e685 audio: codec: un-mute ad82584 in default [1/1]
PD#SWPL-6810

Problem:
android version, no sound for spk
ad82584 is mute in default.

Solution:
un-mute ad82584, and add delay for de-pop

Verify:
ac200

Change-Id: Id78eb77b5e1a0ebed0a16a9b97992c6a07f78cde
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
2019-04-09 20:44:58 +08:00
Yong Qin
f73ac42d26 cec: remove print [1/1]
PD#SWPL-3750

Problem:
when debug on, too more log

Solution:
delete

Verify:
verified on android p

Change-Id: Iabaaa4fa205da5453a303c98bce8b71b55c5f77b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-04-09 20:37:00 +08:00
he.he
cc6ebaab66 USB: amldevread data failed [1/1]
PD#SWPL-5292

Problem:
g12b-revB, some u disk amldevread test failed.

Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.

Verify:
g12b revB

Change-Id: Ibbf924c93d193d7e40c4d8121a4616a8d1caeaaa
Signed-off-by: he.he <he.he@amlogic.com>
2019-04-09 20:14:07 +08:00
Yi Zhou
f0aaf17ba7 hdmitx: fix flash screen when resuming and playing hdr [1/1]
PD#SWPL-6169

Problem:
when resuming and playing hdr films, flash screen will happen
under LG TV

Solution:
quantization range has changed between UI and playing hdr
films. we keep quantization unchanged. Same as MTK.

Verify:
s905x2

Change-Id: I071abecfba705dbd44d33c2673d4938c39f419cf
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-04-09 19:26:10 +08:00
MingLiang Dong
95ef0262e5 hdr: TL1 HDR gamut bug fix [1/1]
PD#SWPL-5248

Problem:
1. finetune TL1 HDR.
2. workaround fix ootf overwrite
3. workaround fix gamut bug

Solution:
TL1 HDR gamut bug fix

Verify:
verify on TL1

Change-Id: Iaf9535f3b6d096967f67ba118ff54eeb2c5c01c5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-04-09 17:10:35 +08:00
MingLiang Dong
823a874dfd hdr: modify hdr gamut mtx for TV [1/1]
PD#SWPL-4638

Problem:
hdr video, color is light

Solution:
modify hdr gamut mtx, use bt2020rgb to 709rgb mtx

Verify:
verified on x301

Change-Id: Ia87493a57196b6a3a87c93535fed325b163cb562
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-04-09 17:10:12 +08:00
Bencheng Jing
b728fb136f di: disable cue for g12a [1/2]
PD#SWPL-6142

Problem:
disable cue for g12a

Solution:
disable cue for g12a

Verify:
U212

Change-Id: I276fa0b8605110b709feaceb6d23d9b566c16a44
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-09 10:52:27 +08:00
Jihong Sui
08fbe839ce deinterlace: pq: add scene change detection for tl1 [1/1]
PD#TV-1361

Problem:
Add scene change detection for DM (read part),
start from TL1 by VLSI(Zheng.Bao).

Solution:
1. add control in function noise_meter_process;
2. add debug information:
cat /sys/class/deinterlace/di0/nr4_param
3. set NR2_CUE_MODE[11:10] as 3; (by feijun)

Verify:
tl1

Change-Id: Ib34d1b403539ba5fe5135d6608bfa2cf27490826
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-04-09 10:52:22 +08:00
zhiwei.yuan
02d97948c6 di: enable lock win will cause green screen [1/1]
PD#SWPL-3877

Problem:
lock window cause green screen

Solution:
disable lock win as default

Verify:
verified by t962x2_x301

Change-Id: I59f3047b9fdd7e4b6ad4750740ddca58bfe8d79a
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-04-09 10:33:02 +08:00
zhiwei.yuan
687e8745cb di: TL1 Scrolling subtiltes jitter seriously than p321 [1/1]
PD#SWPL-3877

Problem:
mcinfo canvas configuration is incorrect

Solution:
correct canvas config

Verify:
verified by t962x2_x301

Change-Id: I93958044faed25994d83a53948e226729357d2aa
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-09 10:32:46 +08:00
Bencheng Jing
e7b027fe18 amvecm: fix g12a/g12b sharpness0 addr wrong [2/2]
PD#SWPL-5919

Problem:
add offset for g12a/g12b sharpness0

Solution:
db offset for g12a/g12b sharpness0

Verify:
u212

Change-Id: I9d800d7c8b4446cb19dc39777bc1f940b0d6124c
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-04-08 21:14:53 +08:00
Luan Yuan
dbea5d067f dts: disabled pcie [1/1]
PD#SWPL-6662

Problem:
bootup spend 25s

Solution:
disable pcie and enable usb 3.0

Verify:
verify by w400

Change-Id: I5ea3526989b4d89cffb4e875487e2b80b5d15f0b
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-08 14:43:11 +08:00
Hang Cheng
16c23afb74 cec: remove func that may cause deadlock [1/1]
PD#SWPL-5836

Problem:
kernel panic when read cec reg

Solution:
remove func that might cause sleep in spinlock,
so as to avoid deadlock

Verify:
S805X-P241

Change-Id: I8394f69bdbeff6673c795a221c08ef76164c5bdb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-07 11:40:47 +08:00
deng.liu
dadba88db1 common: NN API implementation,upload 64bit dts [1/1]
PD#SWPL-86

Problem:
Android tensorflow lite ,NN API implementation

Solution:
NN API implementation

Verify:
Local on galilei

Change-Id: I7c1a3a68005218544d0a3c7a7360c9ee38fc53de
Signed-off-by: deng.liu <deng.liu@amlogic.com>
2019-04-07 11:39:49 +08:00
Liang Ji
b1ab63a5cb avb_ab: add avb check for product product [1/2]
PD#SWPL-6168

Problem:
avb+abupdate with care map.txt cann't boot up
because of check product partition

Solution:
add avb for product partition in dts

Verify:
ampere

Change-Id: I0310853965340d9b810a89cbf1719f9ba002261d
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
2019-04-07 11:34:41 +08:00
shuanglong.wang
851419d02a video: hold frame for non-tunnel mode [1/1]
PD#SWPL-6179

Problem:
PLAY-AL1-30FPS-HEAAC exist multi short frame every 16.6s

Solution:
Hold one frame in case occur pattern broken. Problem occur as this,
for non-tunnel mode, amlvideo vidioc_dqbuf  in omx so fast, then lead
decoder buffer quickly pushed to amlvideo queue with only current frame,
without next frame. Hold one frame we need next frame and next frame pts
after next frame, here we use next frame pts and a crease with duraion
as next next frame pts.

Verify:
verify by u212

Change-Id: Ie98c30791e785abb886aa19a7e930d191f5c2b3e
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-04-05 18:25:34 +08:00
Chuangcheng Peng
bbc4309101 dvb: sm1 bringup add one asyncfifo [2/2]
PD#SWPL-5403

Problem:
demux add one asyncfifo, need compatile

Solution:
demux compatile with previous code.

Verify:
verify at sm1

Change-Id: Iea0b7b5f69d3200062b9e757f2712b98926fb3b9
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-05 18:08:46 +08:00
Zhe Wang
4c4f748a0f audio: support 16ch i2s playback for SM1 [1/1]
PD#SWPL-5430

Problem:
new function lane 6 and lane 8

Solution:
support max 16 channel playback

Verify:
sm1_ac200, verify pass

Change-Id: I3af42a0b68bca8804afa042ad4a506a379b9bf86
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-05 17:41:53 +08:00
Huan Biao
baa8a5e660 thermal: move thermal dts for sm1 [1/1]
PD#SWPL-6675

Problem:
sm1 thermal dts issue

Solution:
move thermal dts for dtsi to board dts

Verify:
test pass on sm1_ac200

Change-Id: I3fa5f2f4b15bc78d322d94402b8d0894fd8cbd35
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
2019-04-05 17:40:52 +08:00
Jianxin Pan
28afc166d2 debug: enable ftrace_ramoops [1/2]
PD#SWPL-6028

Problem:
enable ftrce in ramoops

Solution:
enable ftrce in ramoops

Verify:
u200

Change-Id: I2403bf82c342416b7c34f2115b14dce623406997
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

dts: debug: enable ftrace_ramoops for new dts [1/1]

PD#SWPL-6028

Problem:
enable ftrce in ramoops for new dtbs

Solution:
enable ftrce in ramoops for new dtbs

Verify:
X301

Change-Id: I0643329a873a310d1078ebd898fec2d3cb75d43c
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-05 17:31:08 +08:00
Hong Guo
b43124beb0 cpufreq: dts: adjust cpufreq table for g12b [1/1]
PD#SWPL-5975

Problem:
adjust cpufreq table for g12b

Solution:
adjust cpufreq table for g12b

Verify:
test pass on g12b_w400

Change-Id: I037ab2a1718a2aae0f42a15b7d95f163bc77ca85
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-04-05 17:23:18 +08:00
Gongwei Chen
f824c3e8fe dts: g12a and g12b no audio output [1/1]
PD#SWPL-6171

Problem:
no audio output

Solution:
modify dts spdifout_a_mute

Verify:
Verify by Android P AOSP fermi

Change-Id: Ie19d22326154b8f59ce06dce994f8dd072e93170
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-05 16:33:48 +08:00
Xing Wang
e5d6848d01 audio: auge: support earc rx for sm1 [1/2]
PD#SWPL-5389

Problem:
earc rx dmac reset and clk issue

Solution:
fix earc rx dmac and clk

Verify:
ac200

Change-Id: Ie8e5582f1ee358a8cf694965c9963ae1eeb6685a
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-04-05 15:28:20 +08:00
Zhe Wang
af20b85afb audio: fixed conflict of SM1-bringup and mainline [1/1]
PD#SWPL-6486

Problem:
merge to mainline conflict.

Solution:
add clk change in dts

Verify:
sm1_ac200, verify pass

Change-Id: I37e7317cd795cd8cb9815ff20db49bc8644f0087
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-04-05 15:28:13 +08:00
Xing Wang
1f01dc8af5 audio: auge: support av out and amp spk for sm1 [1/2]
PD#SWPL-6192

Problem:
no sound from av and amp spk

Solution:
1) fix tocodec for sm1
2) add no mclk control for ad82584

Verify:
ac200

Change-Id: I63f0ec94d2f5b980249ac5c9c810c8e4d8410ea3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-04-05 15:28:05 +08:00
Xing Wang
31e8d4f328 audio: auge: add sound card for sm1 [2/2]
PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I4f65472af7a8399fb6fe003db608158e11bed566
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-04-05 15:27:52 +08:00
Xing Wang
9ac6f2565a dts: sm1: add sound card config [1/2]
PD#SWPL-6151

Problem:
sound card for sm1

Solution:
add sound card for sm1

Verify:
ac200

Change-Id: I1de0cfe1748d401ab0e21b0a244def37b277b1ff
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-04-05 15:27:08 +08:00