Commit Graph

650096 Commits

Author SHA1 Message Date
qi duan
236db30d4c DTS: TL1/TM2 internal phy led is H0/H1. [1/1]
PD#SWPL-16192

Problem:
ab301 ethernet can not link

Solution:
LED GPIO is GPIOH_0 and GPIOH_1
TL1 is the same gpio

Verify:
ab301

Change-Id: Id4e0a94a021d72d3b952d2dd15a86caf45a16ca0
Signed-off-by: qi duan <qi.duan@amlogic.com>
2019-11-06 18:59:28 -07:00
xianjun.liu
48127f7fce mtd: nand: support new slc nand [2/2]
PD#SWPL-14719

Problem:
4Gb SLC nand MT29F4G08ABAFAWP,MX30LF4G28AD requsted by Market

Solution:
add the nand id into amlogic nand flash id table

Verify:
AXG-S400

Change-Id: If2bd3cc90585b2a3cbcd500a9354cde4c65bc355
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
2019-11-06 18:55:44 -07:00
Zhengrong.Zhu
ee01dc30c3 hdmirx: Coverity defect cleanup:hdmi rx [1/1]
PD#SWPL-15167

Problem:
Coverity defect cleanup:hdmi rx

Solution:
Modify code according to coverity

Verify:
verify on the board of x3011

Change-Id: I1f8bac51101a5ae1a8a27ffd14e899b75ab99c04
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2019-11-06 05:20:15 -07:00
Mingyen Hung
f5badaa803 dts: km3: add attestationdevidbox to more platforms [1/1]
PD#SWPL-12224

Problem:
Support Device ID attestation on multiple platforms

Solution:
1. Add new key slot, attestationdevidbox, to unify keys

Verify:
1. Android P + all android platforms
2. run cts -m CtsKeystoreTestCases -t \
android.keystore.cts.KeyAttestationTest#testDeviceIdAttestation

Change-Id: I95ba42b2df808a4aec5ad47d00ec9684c36e4ad3
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2019-11-06 03:51:39 -07:00
yicheng shen
f698b3c413 hdmirx: fix hdcp2.2 error after resume [1/1]
PD#SWPL-15872

Problem:
ESM init failed after boot-up twice

Solution:
Use the correct HPI address when request_mem_region called.

Verify:
TL1 4g ddr

Change-Id: I5fd30166b3a36e5f4a12b8b6b893df9c9f20ddaf
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2019-11-06 03:43:55 -07:00
Ao Xu
fd4b1f532d drm: solve debug node write string issue [1/1]
PD#SWPL-15143

Problem:
userspace program use the write() syscall to write the node.
when write the strlen() length content, it will fail.

Solution:
use the buf[size] to instead of buf[size-1]

Verify:
U200

Change-Id: I886d9a1cbf3da459476bca76c9a5708ecbc20afe
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2019-11-06 03:26:29 -07:00
Zhengrong.Zhu
cf6bdda300 hdmitx: Coverity defect cleanup: VOUT [1/1]
PD#SWPL-13989

Problem:
Coverity defect cleanup: VOUT

Solution:
Modify code according to coverity

Verify:
verify on the board of U212

Change-Id: I787429350be37da84ccd85332e97d472f45d3826
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2019-11-05 19:50:23 -07:00
renjiang.han
a88d3b210c amlvideo2: Screen capture adds support for decoder data. [1/1]
PD#SWPL-16197

Problem:
The data from the decoder is not equipped with a canvas.

Solution:
screenshot adds support for vframes without canvas.

Verify:
on X301

Change-Id: I706b87d6f59da27ffda7ace0d3486d6d978a292a
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
2019-11-05 19:49:59 -07:00
nengwen.chen
3671939cf8 atv_demod: fix atv audio no output when line frequency offset over default [1/1]
PD#SWPL-16188, PD#TV-11641, PD#TV-10181, PD#TV-9714

Problem:
fix atv audio no output when line frequency offset over 200Hz.

Solution:
1.fix atv audio no output when line frequency offset over 200Hz.
2.atv demod version: [V2.15].

Verify:
verified by tl1.

Change-Id: Ic43c707d3401ea93909856ff83a6842e14f0fc61
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-11-05 18:58:53 -07:00
Tao Zeng
be5814a0af Merge "Revert "io: make register access in amvecm simple [1/1]"" into amlogic-4.9-dev 2019-11-05 03:59:41 -08:00
Jianxin Pan
8f2983fb44 Revert "io: make register access in amvecm simple [1/1]"
This reverts commit 7436b7dc4a.

revert this now, print_vpp_lut() stack is 1840, when this applied,
it will bigger than 1880. werror will be triggerd.

Change-Id: Ia7b084ee800081a75c70f4e6ea6ce739f113f2b8
2019-11-05 04:56:35 -07:00
Yong Qin
ea5ce3ec54 vdin: vdin add dolby vision de-scramble & scramble
PD#SWPL-14888

Problem:
New feature, dolby source vdin have de-scramble,
scrable function

Solution:
add feature for dv de scramble function

Verify:
tm2 ab301

Change-Id: Ib7c10fcf53232c84411ae366618b2ddcd9948527
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-11-05 03:25:28 -07:00
Shuai Li
a9e5f5eefd audio: fix might_sleep warning at bootup [1/1]
PD#SWPL-16123

Problem:
might_sleep() is triggered by regmap_read().

[    3.106894@0] Workqueue: events tl1_acodec_release_fast_mode_work_func
[    3.106903@0] [bc059af4+  16][<c020e3a8>] show_stack+0x20/0x24
[    3.106910@0] [bc059b1c+  40][<c05dff94>] dump_stack+0xb8/0xf4
[    3.106917@0] [bc059b44+  40][<c0258138>] ___might_sleep+0x1c8/0x208
[    3.106922@0] [bc059b6c+  40][<c02581ec>] __might_sleep+0x74/0xac
[    3.106928@0] [bc059bb4+  72][<c0393a80>] kmem_cache_alloc_trace+0x12c/0x2c0
[    3.106935@0] [bc059bfc+  72][<c06bd03c>] regcache_rbtree_write+0x2dc/0x4f0
[    3.106941@0] [bc059c1c+  32][<c06bbbd8>] regcache_write+0x64/0x6c
[    3.106945@0] [bc059c44+  40][<c06b9260>] _regmap_write+0x144/0x16c
[    3.106948@0] [bc059c64+  32][<c06bab4c>] regmap_write+0x4c/0x6c
[    3.106953@0] [bc059c74+  16][<c0c79088>] snd_soc_component_write+0x28/0x48
[    3.106958@0] [bc059c84+  16][<c0c790c4>] snd_soc_write+0x1c/0x20
[    3.106962@0] [bc059c9c+  24][<c0c7c0b0>] tl1_acodec_start_up+0x24/0x44
[    3.106967@0] [bc059cbc+  32][<c0c7c1b8>]
tl1_acodec_release_fast_mode_work_func+0x54/0xe4
[    3.106973@0] [bc059cfc+  64][<c0245dc8>] process_one_work+0x200/0x624
[    3.106977@0] [bc059d3c+  64][<c0246dc4>] worker_thread+0x58/0x5c4
[    3.106982@0] [bc059d94+  88][<c024c5c0>] kthread+0x128/0x144
[    3.106987@0] [00000000+   0][<c020885c>] ret_from_fork+0x14/0x38

Solution:
This is a mmio regmap constrain using spinlock_irq to protect the
critical read and write.
But if the default reg cache is not allocated, the read routine will
malloc() buffer which is non-atomic. That is the root cause of this warning.
So we add num_reg_defaults_raw to tell regmap to malloc the buffer at
initializing stage.

Verify:
TL1.

Change-Id: I42f87fa89bbe99762ada36337b5ed6565b06b891
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-11-05 02:32:46 -07:00
Jianxin Pan
7436b7dc4a io: make register access in amvecm simple [1/1]
PD#SWPL-15713

Problem:
There are too many register access in vsync isr from pq

Solution:
Make register access quicker

Verify:
TL1

Change-Id: I72972ccb8f2cf1bd53eda7fc40697cb5df4f5ede
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2019-11-05 02:14:39 -07:00
Yong Qin
b911d464ba cec: finetune cecb ARB rising time [1/1]
PD#SWPL-15616

Problem:
when cec bus conect other cec connector, may lose cec ARB

Solution:
finetune ARB rising time.

Verify:
tl1

Change-Id: Icf422505602f75307f0b91c7841f0aae5e09c22d
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-11-05 02:09:42 -07:00
qianqian.cai
db6ee17007 deintlace: register setting default disable hdr2 [1/1]
PD#SWPL-16107

Problem:
cpu_after_eq(MESON_CPU_MAJOR_ID_TM2)default disable hdr2

Solution:
default disable hdr2,from VLSI feijun
DI_HDR2_HIST_CTRL, 0x5510
DI_HDR2_HIST_H_START_END, 0x10000
DI_HDR2_HIST_V_START_END, 0x0

Verify:
verify on x301_t96x2

Change-Id: Ib646111fb866570a75775534e446807f1e3b4a91
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2019-11-05 01:31:25 -07:00
MingLiang Dong
238dc24e90 hdr: correct hdr10+ process path [1/1]
PD#SWPL-16139

Problem:
1. hdr10+ gen ebz curve error
2. hdr10+ process error

Solution:
1. fix hdr10+ ebz gen
2. correct hdr10+ process path

Verify:
verify on TL1

Change-Id: Ia33488ada2e0ebfe9b156f9f667188cf02164089
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-11-04 23:25:02 -07:00
Luan Yuan
da505d95b8 dts: add support s805y config. [2/3]
PD#SWPL-16193

Problem:
add support s805y config for anning.

Solution:
add support s805y config for anning.
Anning(P244) copy from P215, and change soc with s805y

Verify:
verify by anning.

Change-Id: I4e09521833f37d96066bf0643b0e99077cd0c7be
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-11-04 22:57:13 -07:00
Evoke Zhang
7be0e55421 backlight: add bl policy support [1/1]
PD#TV-11347

Problem:
sometimes need power on from uboot state in kernel

Solution:
add bl policy to support different power on mode

Verify:
x301

Change-Id: I13c289523c6a77d713b3a770a5cdaf02afd01a11
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-11-04 22:54:28 -07:00
Zongdong Jiao
254c7a75da hdmitx: add hdr_priority [1/1]
PD#SWPL-14089

Problem:
Need add 'hdr_priority' to mask sysfs 'dv_cap'

Solution:
Parse the variable 'hdr_priority' from uboot environment

Verify:
G12/U212

Change-Id: I6fca18669c068ac793ca9230c6497b0ef2cbe07c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-11-04 06:26:34 -07:00
Nan Li
4ee9cb927f sdio: optimize sdio suspend/resume [1/1]
PD#SWPL-16036

Problem:
When the system starts up, wifi is turned on.
When we manually turn off wifi and start the
suspend & resume operation, we will find that
the sdio error is reported when we wake up

Solution:
Add the sdio_notify() interface to notify the
sdio controller when wifi is on/off, enabling
the keep_power standard to be configured when suspend.

Verify:
TL1

Change-Id: I48e0c31bf7ea80d3efd4b0d41b4af378e859dc15
Signed-off-by: Nan Li <nan.li@amlogic.com>
2019-11-04 04:29:40 -07:00
Brian Zhu
b4c35287a5 dv: do not reset the tv core when resolution changed [1/1]
PD#SWPL-5167

Problem:
Reset tv core will cause the display flashing.

Solution:
remove the reset operation

Verify:
Verified on R311

Change-Id: Id9aa97dd0462d04bb2d83e5f0247acf3bcaabcd7
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-11-04 03:38:10 -07:00
nengwen.chen
668545bc2d atv_demod: fix atv non-std signal handle [1/1]
PD#TV-11542

Problem:
fix atv non std handle when video and audio are set at the same time.

Solution:
1.fix atv non std handle when video and audio are set at the same time.
2.atv demod version: [V2.14].
3.branch: amlogic-4.9-dev.

Verify:
verified by tl1.

Change-Id: I4bfc0e076ccde813329c315e4cbcead6e9bf6c94
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-11-04 02:35:09 -07:00
Tao Zeng
bc1f40df1b reserved_memory: change print of all reserved memory [1/1]
PD#SWPL-16049

Problem:
When boot, print information of all reserved memory is not nice
for reading.

Solution:
Change print format of reserved memory like:
        07400000 - 07500000,     1024 KB, ramoops@0x07400000
        05000000 - 05400000,     4096 KB, linux,secmon
        3f800000 - 40000000,     8192 KB, linux,meson-fb
        31c00000 - 3f800000,   225280 KB, linux,codec_mm_cma
        31c00000 - 31c00000,        0 KB, linux,codec_mm_reserved
        2e000000 - 30000000,    32768 KB, linux,ion-dev
        30800000 - 31c00000,    20480 KB, linux,vdin1_cma
        30000000 - 30800000,     8192 KB, linux,demod_cma
        2b800000 - 2e000000,    40960 KB, linux,di_cma
        2b400000 - 2b800000,     4096 KB, linux,emp_cma

Verify:
TL1 X301

Change-Id: I5a010118665a886896c7db8be2bb911813647e9e
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-11-04 02:07:10 -07:00
Xing Wang
960f88fbb7 audio: auge: add mixer for eARC RX/TX latency and capability [1/1]
PD#SWPL-6918

Problem:
lack function to read/write eARC RX/TX latency and capability

Solution:
add mixer for eARC RX set/get latency and capability
add mixer for eARC RX get latency and capability

Verify:
ab311

Change-Id: I0d8aa00af7d856493417dc881a1a8c40497b12a5
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-11-04 01:18:17 -07:00
Tao Zeng
b183f51456 mm: fix crash in vmap stack [1/1]
PD#SWPL-12145

Problem:
When switch IRQ stack, there is a 16 bytes miss match of irq
stack. This may cause context not match some times;

Solution:
Save sp to right place

Verify:
X301

Change-Id: I75dfa5208cb3cec050c1568ac78ae2e783ca106b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-11-03 23:05:07 -07:00
Tao Zeng
a8b8b96e53 kasan: fix pc crash if open kasan with vmap stack [1/1]
PD#SWPL-10141

Problem:
If open KASAN, connect wifi, and auto-start apk dianshijia, it will
soon crash as:
[ 56.655524@2] Unable to handle kernel NULL pointer dereference
               at virtual address 00000050
[ 56.658155@2] pgd = d0104000
[ 56.661008@2] [00000050] *pgd=00000000
[ 56.664744@2] Internal error: Oops: 80000005 1 PREEMPT SMP ARM
               common(O) firmware(O) media_clock(O) tb_detect(O)
               dnlp_alg ldim_alg mxl661_fe_32(O)
[ 56.709028@2] CPU: 2 PID: 4930 Comm: kworker/u9:3 Tainted: O 4.9.113 #1
[ 56.716908@2] Hardware name: Generic DT based system
[ 56.721858@2] task: f2632bc0 task.stack: c2010000
[ 56.726530@2] PC is at 0x50
[ 56.729301@2] LR is at 0x0

Solution:
Fix wrong pmd check address

Verify:
TL1 X301

Change-Id: I85e01418789801e0ef7691a9d8963c233e115b28
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-11-03 23:04:38 -07:00
Brian Zhu
11a8073a0f dv: remove the wrong operation for txlx when dv off [1/1]
PD#SWPL-5164

Problem:
Vsync operate the wrong registers on txlx chip.

Solution:
Add chip condition for txlx

Verify:
Verified on R311

Change-Id: Ic3c10b7ebdab9d72cc9f05fe68be2442a1be6200
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-11-03 22:28:15 -07:00
Shuai Li
c748be2be1 audio: wrong mclk_pad setting for TL1 [1/1]
PD#SWPL-16108

Problem:
Mclk_pad is set 0 by all three TDM module.
The result is that only the last one takes effect.

Solution:
Modify the mclk_pad setting and delete the unused one.

Verify:
TL1.

Change-Id: I2fa881e8ebcc2e7822dfbbea6a7ac0bfbc8ae0f9
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-11-03 21:02:17 -07:00
Ruoran Xi
b21859ba77 dts: increase codecmm to enable multiple encoder [1/1]
PD#SWPL-16131

Problem:
  codec memory too small to change video encode

Solution:
  increase codec memory size

Verify:
local

Change-Id: If09d00b97d607ba319c030516344dd3e9f96f7ec
Signed-off-by: Ruoran Xi <ruoran.xi@amlogic.com>
2019-11-03 20:51:39 -07:00
Jian Hu
2eea02e00c clk: tm2: disable the pcie pll internal module when suspend [1/1]
PD#SWPL-15470

Problem:
tm2 pcie pll power dissipation is high when suspend

Solution:
disable the pcie pll internal module when suspend

Verify:
tm2

Change-Id: I298a7a15c58ebd68c379b0281284d71425207b0e
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2019-11-01 09:21:23 -07:00
Zhe Wang
07d0ceddf2 audio: bringup a new resample module on SM1/TM2 [1/1]
PD#SWPL-5644

Problem:
bringup new hw resample modules on SM1/TM2

Solution:
bringup new hw resample modules on SM1/TM2
1) resample A is used for HDMIRX/SPDIFIN
2) resample B is used for LOOPBACK anti-aliasing
   if capture loopback data with 16KHz, enable it in dts.

Verify:
AB301

Change-Id: I0c2e403ff089a28e8d5695d854d13358ecffa313
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-11-01 09:19:17 -07:00
Zhengrong.Zhu
ba742cd907 hdmirx: Coverity defect cleanup:hdmi rx [1/1]
PD#SWPL-15167

Problem:
Coverity defect cleanup:hdmi rx

Solution:
Modify code according to coverity

Verify:
verify on the board of x3011

Change-Id: If325bcd7ca3a7f85cd17ac8b57e4a15284231ccc
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
2019-11-01 02:03:46 -07:00
Zhuo Wang
9fc94c6c35 ethernet: switch to gpio when suspend [1/1]
PD#SWPL-16033

Problem:
save pwr when suspend

Solution:
switch to gpio when suspend

Verify:
AB311

Change-Id: I1186263c1fccc82ac4299d95d606d35f5ee7c171
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-11-01 02:02:02 -07:00
Evoke Zhang
d456a5f43c tvafe: vbi: fix coverity [1/1]
PD#SWPL-15873

Problem:
Coverity defect cleanup.

Solution:
Coverity defect cleanup.

Verify:
x301

Change-Id: I4c5c5e8d01dbd8eb3389937e45461775ab1ac4ca
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-11-01 00:00:43 -07:00
yao liu
08b606bbad dv: blank screen during Transition tests [1/1]
PD#SWPL-16051

Problem:
Soure changed from DV to sdr, but core1 lut
is not update due to stb_core_setting_update_flag
is reset when frame dropped by amvideo

Solution:
Don't clear stb_core_setting_update_flag until
it has been used.

Verify:
U212

Change-Id: Ib1e445653978583ddda35c266000e812463f3f77
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-10-31 18:27:34 -07:00
Aaro Koskinen
38fcfe6251 net: stmmac: use correct DMA buffer size in the RX descriptor
PD#TV-11316

[ Upstream commit 583e636141 ]

We always program the maximum DMA buffer size into the receive descriptor,
although the allocated size may be less. E.g. with the default MTU size
we allocate only 1536 bytes. If somebody sends us a bigger frame, then
memory may get corrupted.

Fix by using exact buffer sizes.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>

Change-Id: I32f3f0758ee6df0217dd9d1275c08b04163d811b
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-10-31 03:34:34 -07:00
Aaro Koskinen
62c3eb17e3 net: stmmac: don't stop NAPI processing when dropping a packet
PD#TV-11316

[ Upstream commit 07b3975352 ]

Currently, if we drop a packet, we exit from NAPI loop before the budget
is consumed. In some situations this will make the RX processing stall
e.g. when flood pinging the system with oversized packets, as the
errorneous packets are not dropped efficiently.

If we drop a packet, we should just continue to the next one as long as
the budget allows.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>

Change-Id: Ib13615c2e413af86519c1cec0a6638b88ceaf4de
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-10-31 03:34:15 -07:00
Shuai Li
d135a9a520 audio: external tdm-loopback [1/1]
PD#SH-1626

Problem:
Can not record ADC's i2s output from Loopback

Solution:
1. Fix the wrong reg config in TDM OE pin.
2. move the lr/sclk pad configuration to probe.

Verify:
SM1.

Change-Id: I01f419e4b0ba72fb7295641c6e7d9a189754c9d7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-10-31 02:01:49 -07:00
Sandy Luo
50d7658c22 tm2: dts: clean lcd config [1/1]
PD#SWPL-15948

Problem:
T962e2 hasn't lcd out

Solution:
delete lcd config in dts

Verify:
T962e2 platform

Change-Id: Ibc090f948c9cba2073e17b17ccbf706d154445ef
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2019-10-31 01:11:25 -07:00
Xing Wang
747907b9c6 audio: auge: improve compatibility for eARC RX/TX connection [1/1]
PD#SWPL-15189

Problem:
1. earc rx fails to connect to a sony tv
2. earc tx fails to connect to AVR-X4500H

Solution:
1. reset earc_rx pll
2. reduce comma_th

Verify:
ab311

Change-Id: I162b9697d151b682df01093cdc086330a97f8fab
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2019-10-31 00:28:53 -07:00
Mingyen Hung
3fc8e440de dts: km3: Device ID attestation for ac214 [1/1]
PD#SWPL-12224

Problem:
Need to add support for device ID attestation

Solution:
1. Add new key slot, attestationdevidbox, to unify keys

Verify:
1. Android Q + Newton↵
2. run cts -m CtsKeystoreTestCases -t \
   android.keystore.cts.KeyAttestationTest#testDeviceIdAttestation

Change-Id: If16a35af4b63d19dcecf1319d6f0ea974ce64dd2
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
2019-10-30 23:26:15 -07:00
hui an
3936b23968 avsync: Clear video pts & pcr pts when ts' playback stops [1/1]
PD#TV-11272

Problem:
Switch to the ATV channel from DTV, the picture is stuck.

Solution:
Clear video pts & pcr pts.

Verify:
x30a4

Change-Id: Id265bfdfbd7e09d1423c9349de0596d4d742474c
Signed-off-by: hui an <hui.an@amlogic.com>
2019-10-30 23:17:19 -07:00
Shuai Li
ed26e40f82 audio: optimize TL1 codec init sequence [1/1]
PD#TV-9458

Problem:
Audio codec output has a ditch.

Solution:
Optimize TL1 codec init sequence [1/1]

Verify:
TL1.

Change-Id: Ib494895b96cb0083d0bdaa9ffa23c67bf57f7aa7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-10-30 01:53:24 -07:00
Yong Qin
c426f0f0f8 vdin: add RGB mode rgb full to yuv full [1/2]
PD#SWPL-15366

Problem:
HDMI 256 gray will lose data info

Solution:
RGB full mode vdin matrix use RGB to YUV706F

Verify:
TL1

Change-Id: Idfcafefcc31cc2fc2a6a21368598eae8a5159ec4
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-10-30 15:45:29 +08:00
Yong Qin
b7b3ee7403 pq: add yuv full to rgb full feature [2/2]
PD#SWPL-15366

Problem:
according source type, add YUV full to RGB Full

Solution:
according source type, add YUV full to RGB Full

Verify:
TL1

Change-Id: I1afb7bc56161dee87d055a7686d99377db954be4
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-10-30 00:10:25 -07:00
Jihong Sui
a67313fd7f deinterlace: pq: add save db value interface [1/2]
PD#SWPL-15705

Problem:
VLSI finetue TL1 1080i mtn setting.

Solution:
a. add di_gmv in vframe type;
b. add interface for save db setting and switch;
-api:void di_patch_mov_setreg(unsigned int nub, unsigned int *preg)
-for set register that you want to save from db;
-preg: register list that you want to save from db; < 5
-api:bool di_api_mov_sel(unsigned int mode, unsigned int *pdate)
-to set register that you save;
-mode:0:value from db;1: setting from pq
-*pdate: data from pq, value/mask
- pdate need keep same order from preg;
c. add interface for switch 1080i comb setting
-void di_set_comb_mode(unsigned int mode)
-mode:0: set nothing; 1:fix_tl1_1080i_sawtooth_patch;
2: new 1080i setting;

Verify:
tl1

Change-Id: I8e0f084d33757ab0e48fb49aececc020dae5c62d
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-10-29 03:34:59 -07:00
shaochan.liu
2a5149de90 lcd: tl1: tcon chpi phy setting update [2/2]
PD#SWPL-13250

Problem:
tcon chpi phy setting update

Solution:
add tcon chpi phy setting update

Verify:
x301_t962x2

Change-Id: I84b6f4298f64697ee33376ec866e5ec34174227e
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2019-10-29 01:23:45 -07:00
Zongdong Jiao
1feca9b8a5 hdmitx: sync HDR/VSIF from A [1/1]
PD#SWPL-13206

Problem:
Need to sync HDR/HLG/DV callback

Solution:
Sync HDR/HLG/DV callback

Verify:
G12/U212

Change-Id: Ibe93c3e538ad2f3cbb254c4ce731473b6ac1562b
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-10-28 23:44:35 -07:00
xianjun.liu
66d572f27f MTD: slc-nand: fix boot system failed due to pointer out-bounds operating [1/1]
PD#SWPL-15894

Problem:
The audio 113D platform + TC58NVG2S0HTA00 boot system failed due
to pointer out-bounds operating

Solution:
reduce oobavail value to avoid pointer access overbounds

Verify:
AXG-S400

Change-Id: I737d16b937b39b0b03c9248e6688c1158face3b5
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
2019-10-28 22:29:02 -07:00