Jianxin Pan [Tue, 5 Nov 2019 11:55:40 +0000 (04:55 -0700)]
Revert "io: make register access in amvecm simple [1/1]"
This reverts commit
7436b7dc4acf29ea9549249cbdd2ef6df1b91e92.
revert this now, print_vpp_lut() stack is 1840, when this applied,
it will bigger than 1880. werror will be triggerd.
Change-Id: Ia7b084ee800081a75c70f4e6ea6ce739f113f2b8
Jianxin Pan [Thu, 24 Oct 2019 11:02:49 +0000 (19:02 +0800)]
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>
Yong Qin [Tue, 22 Oct 2019 07:08:32 +0000 (15:08 +0800)]
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>
qianqian.cai [Fri, 1 Nov 2019 10:16:16 +0000 (18:16 +0800)]
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>
MingLiang Dong [Thu, 17 Oct 2019 11:08:23 +0000 (19:08 +0800)]
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>
Luan Yuan [Mon, 4 Nov 2019 09:14:04 +0000 (17:14 +0800)]
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>
Evoke Zhang [Mon, 4 Nov 2019 05:04:31 +0000 (13:04 +0800)]
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>
Zongdong Jiao [Wed, 18 Sep 2019 07:47:33 +0000 (15:47 +0800)]
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>
Nan Li [Fri, 1 Nov 2019 08:39:14 +0000 (16:39 +0800)]
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>
Brian Zhu [Sat, 2 Nov 2019 10:46:55 +0000 (18:46 +0800)]
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>
nengwen.chen [Wed, 30 Oct 2019 07:37:59 +0000 (15:37 +0800)]
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>
Tao Zeng [Fri, 1 Nov 2019 09:03:02 +0000 (17:03 +0800)]
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>
Xing Wang [Fri, 1 Nov 2019 07:47:10 +0000 (15:47 +0800)]
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>
Tao Zeng [Mon, 28 Oct 2019 09:22:50 +0000 (17:22 +0800)]
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>
Tao Zeng [Fri, 25 Oct 2019 07:01:24 +0000 (15:01 +0800)]
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>
Brian Zhu [Fri, 1 Nov 2019 10:17:12 +0000 (18:17 +0800)]
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>
Shuai Li [Fri, 1 Nov 2019 19:41:47 +0000 (03:41 +0800)]
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>
Ruoran Xi [Fri, 1 Nov 2019 08:58:56 +0000 (16:58 +0800)]
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>
Jian Hu [Fri, 18 Oct 2019 10:41:02 +0000 (18:41 +0800)]
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>
Zhe Wang [Sat, 6 Apr 2019 10:27:24 +0000 (18:27 +0800)]
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>
Zhengrong.Zhu [Fri, 1 Nov 2019 07:07:45 +0000 (15:07 +0800)]
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>
Zhuo Wang [Thu, 31 Oct 2019 02:34:05 +0000 (10:34 +0800)]
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>
Evoke Zhang [Fri, 1 Nov 2019 03:32:34 +0000 (11:32 +0800)]
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>
yao liu [Thu, 31 Oct 2019 07:47:49 +0000 (15:47 +0800)]
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>
Aaro Koskinen [Wed, 27 Mar 2019 20:35:35 +0000 (22:35 +0200)]
net: stmmac: use correct DMA buffer size in the RX descriptor
PD#TV-11316
[ Upstream commit
583e6361414903c5206258a30e5bd88cb03c0254 ]
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>
Aaro Koskinen [Wed, 27 Mar 2019 20:35:37 +0000 (22:35 +0200)]
net: stmmac: don't stop NAPI processing when dropping a packet
PD#TV-11316
[ Upstream commit
07b3975352374c3f5ebb4a42ef0b253fe370542d ]
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>
Shuai Li [Tue, 29 Oct 2019 06:27:20 +0000 (14:27 +0800)]
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>
Sandy Luo [Thu, 31 Oct 2019 06:43:16 +0000 (14:43 +0800)]
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>
Xing Wang [Wed, 23 Oct 2019 12:19:16 +0000 (20:19 +0800)]
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>
Mingyen Hung [Thu, 31 Oct 2019 04:26:48 +0000 (12:26 +0800)]
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>
hui an [Mon, 28 Oct 2019 04:38:53 +0000 (12:38 +0800)]
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>
Shuai Li [Thu, 19 Sep 2019 13:02:28 +0000 (21:02 +0800)]
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>
Yong Qin [Tue, 15 Oct 2019 11:37:19 +0000 (19:37 +0800)]
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>
Yong Qin [Thu, 17 Oct 2019 02:29:51 +0000 (10:29 +0800)]
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>
Jihong Sui [Sun, 29 Sep 2019 10:56:32 +0000 (18:56 +0800)]
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>
shaochan.liu [Fri, 25 Oct 2019 05:24:26 +0000 (13:24 +0800)]
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>
Zongdong Jiao [Fri, 25 Oct 2019 03:29:53 +0000 (11:29 +0800)]
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>
xianjun.liu [Mon, 28 Oct 2019 08:05:39 +0000 (16:05 +0800)]
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>
Nanxin Qin [Mon, 9 Sep 2019 11:10:50 +0000 (19:10 +0800)]
media: add a member private for struct vb2_v4l2_buffer. [1/2]
PD#SWPL-5313
Problem:
Decoder V4L2 interface Phase3(AFBC&MMU Support)
Solution:
1. add a member private for struct vb2_v4l2_buffer
2. add vframe type VIDTYPE_V4L_EOS
Verify:
u212
Change-Id: Iaa1f8c9a09845248f5012b90beda82ec487a2afd
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Gongwei Chen [Mon, 28 Oct 2019 03:17:40 +0000 (11:17 +0800)]
dts: sync w400_a form W400 [1/1]
PD#SWPL-15005
Problem:
sync w400_a form W400
Solution:
sync w400_a form W400
Verify:
Verify by Android P w400_a
Change-Id: I0ace7496f26bacac6343fd772ec2ab8c87721e76
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
yicheng shen [Thu, 17 Oct 2019 08:40:41 +0000 (16:40 +0800)]
hdmirx: Optimize hdmirx power consumption [1/1]
PD#SWPL-10073
Problem:
The power consumption of hdmirx need to be optimized when
there're no deviced connected.
Solution:
Power off hdmirx phy/pll when no rx input
Verify:
TL1/TM2
Change-Id: Iba34e3a4cd72c2fd72ff05f608114179ae59055c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Pengcheng Chen [Wed, 23 Oct 2019 01:06:06 +0000 (09:06 +0800)]
osd: support 4K UI worked in 1080p output [1/1]
PD#SWPL-15649
Problem:
4K UI display abnormal with 1080p output
Solution:
adjust freescale to 2line mode when 4K UI with 1080p output
Verify:
g12a
Change-Id: I636b1d8634beabd3f356e63b9d7a9a05b1a556bb
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Nan Li [Fri, 25 Oct 2019 11:20:48 +0000 (19:20 +0800)]
emmc: optimize sdio tuning print [1/1]
PD#SWPL-15797
Problem:
commit
a5c3731f5d46f4104876b8c7ddf84f7a1b6ba071
this patch has err, the print buf will be out of bounds.
Solution:
Reposition the pointer before each loop.
Verify:
tl1
Change-Id: I8f44269c375147c5290af9c6d84fd5d85be271f0
Signed-off-by: Nan Li <nan.li@amlogic.com>
Shunzhou Jiang [Fri, 7 Dec 2018 08:45:05 +0000 (16:45 +0800)]
mbox: g12a: add m4 mbox driver [1/3]
PD#SWPL-12873
Problem:
add m4 mailbox driver
Solution:
add m4 mailbox driver
Verify:
test pass on sm1 skt
Change-Id: Ied77949482179014d9e695ffc606f2ac939c82ca
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
jintao xu [Wed, 23 Oct 2019 09:33:03 +0000 (17:33 +0800)]
videosync: add pattern support [1/1]
PD#SWPL-15586
Problem:
When hdmi is 59.94 and 30fps and 60fps video pts is not linearly increasing
video display in vd2 video will shake.
Solution:
Videosync add pattern support.
Verify:
U212
Change-Id: I47416681dffb6e5eddef39e9c1dfcd29cfc12b92
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
yao liu [Fri, 11 Oct 2019 07:33:43 +0000 (15:33 +0800)]
dv: fix gxm dv bug [3/7]
PD#SWPL-13526
Problem:
1.watchdog reboot:
hdr_func->set_hdr_matrix is called
when disable dv, which leads to
access 38a0 illegally
2.no dolby_ctrl_backup and err
viu_misc_ctrl_backup lead to
green screen after disable dv
3.Switch resolution, display highlights
and some pixels are overexposed
4.First frame shift when playing video.
5.OSD jitter when play video
Solution:
1.Dont call hdr_vd1_off and hdr_osd_off for s912
2.dolby_ctrl_backup for s912 and update afbc bits
for viu_misc_ctrl
3.Dont set core reg if regs no changed
4.It is hardware bug, need set run_mode_delay=3,
that means the first three frames should be blank.
5.put osd_path_enable after enable_rgb_to_yuv_matrix_for_dvll
Verify:
Q201
Change-Id: I50440c5b3c6554c28f587c0542bea3773a2c9b9c
Signed-off-by: yao liu <yao.liu@amlogic.com>
bing.jiang [Fri, 18 Oct 2019 08:56:42 +0000 (16:56 +0800)]
dts: Add new dts files for T962E2 SBR [1/1]
PD#SWPL-15141
Problem:
adapt Soundbar solution to T962E2 SBR platform
Solution:
new dts file tm2_t962e2_ab311_sbr.dts changed from tm2_t962e2_ab311.dts
tm2_t962e2_ab311.dts file version
'commit
952ac4c1d709 ("hdmirx: pinmux later so as to
prevent abnormal hpd pulse [1/1]")'
add amp tas5782m
add amlogic-remote-4
Verify:
T962E2
Change-Id: I5b4ad1bc526167970de2a85aadc4089ef5eeb233
Signed-off-by: bing.jiang <bing.jiang@amlogic.com>
Tao Zeng [Wed, 16 Oct 2019 08:44:11 +0000 (16:44 +0800)]
mm: change lmk/cma using policy [1/1]
PD#TV-10462
Problem:
Memory will allocation fail if play secure vedio source. Usually
seen by zram/wifi driver
Solution:
1, wake up kswapd earlier if water mark without free cma is not ok;
2, using zone-filecache to increace active of lmk. Which can be more
accurate than using global page status;
3, remove some restrict of using cma when allocate movable page by
zram or migrate from cma pool;
4, try allocate hard for atomic request in soft IRQ
Verify:
T950L
Change-Id: Ibf03f3c11a32175e9983ee8a61a14ae4b2436f1e
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
yicheng shen [Thu, 10 Oct 2019 12:06:09 +0000 (20:06 +0800)]
hdmirx: add phy eq debug function [1/1]
PD#SWPL-12881
Problem:
Need to add eq debug function
Solution:
Add phy eq debug function,use auto-eq as default.
Verify:
TL1
Change-Id: I723d74d1bad226267b60ffb66d3670d01e6a4e1b
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
jintao xu [Thu, 24 Oct 2019 11:00:48 +0000 (19:00 +0800)]
videosync: fix can not enter standby [1/1]
PD#SWPL-15663
Problem:
wake_up always active.
Solution:
No call wake_up when no videosync active.
Verify:
U212
Change-Id: I83b76bf878331db249a2d10bdb65b2c086e28a93
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
zhiwei.yuan [Wed, 23 Oct 2019 11:46:33 +0000 (19:46 +0800)]
tvafe: garbage was seen when switch PAL to NTSC by sinco DVD [1/1]
PD#SWPL-15686
Problem:
report unstable state is too late,so that black screen is deferred.
Solution:
reduce shift condition cnt
Verify:
verified by t962x2_x301
Change-Id: Iafc38998b4d451ec3f4ddfd14c72ed54a68efbe5
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Cheng Wang [Mon, 16 Sep 2019 12:52:53 +0000 (20:52 +0800)]
amvecm: Coverity defect cleanup [1/1]
PD#SWPL-13978
Problem:
Defective code in trunk
Solution:
fix defective code
Verify:
on x301
Change-Id: I94d25695c248d9281b59f30f1c6c42e51c9af1dc
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
yao liu [Thu, 24 Oct 2019 12:09:31 +0000 (20:09 +0800)]
dv: graphic blend test failed on HDR TV [1/1]
PD#SWPL-15631
Problem:
There is an error in
c62207ef53987660d6f6b70a79907072516e60c8
Solution:
correct the err
Verify:
SM1
Change-Id: If645ee88533dab7e28ff95d578be019a2cb894a6
Signed-off-by: yao liu <yao.liu@amlogic.com>
Wenfeng Guo [Mon, 21 Oct 2019 11:48:26 +0000 (19:48 +0800)]
amvecm: add global motion information patch [2/2]
PD#SWPL-7814
Problem:
VPP need global motion information
Solution:
1.di add global motion information
2.amvecm set dejaggy according GMV(from baozheng)
Verify:
tl1
Change-Id: I0bc9190101995c99d5e881cefe482b513f82d253
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
Wenfeng Guo [Mon, 21 Oct 2019 09:21:33 +0000 (17:21 +0800)]
deinterlace: add patch for global motion information [1/2]
PD#SWPL-7814
Problem:
VPP need di given global motion information
Solution:
add global motion information
Verify:
tl1
Change-Id: I6e522902a1d27b71db8c283b28ede6f684912fe0
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
yao liu [Tue, 22 Oct 2019 11:07:25 +0000 (19:07 +0800)]
dv: graphic blend test failed on HDR TV [1/1]
PD#SWPL-15631
Problem:
1.HDR Luminance 375 is too large
2.osd osd_h_filter_mode is not update
Solution:
1.set gmax to 300 for HDR output
2.update osd_h_filter_mode
Verify:
SM1
Change-Id: Ic6f1b02703341d01235a2081bd9ac7ee46b989e7
Signed-off-by: yao liu <yao.liu@amlogic.com>
Gongwei Chen [Mon, 21 Oct 2019 08:43:48 +0000 (16:43 +0800)]
audio: no_mclk for amp [1/1]
PD#SWPL-15422
Problem:
Play video without HDMI connection, no sound output
Solution:
no_mclk for amp
Verify:
Verify by Android P w400
Change-Id: Ic95a1e28f8ccbf6e3ba4a21f7d7b329f5854ea49
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
shaochan.liu [Wed, 23 Oct 2019 13:01:26 +0000 (21:01 +0800)]
lcd: add tcon_status debug interface [1/1]
PD#TV-11404
Problem:
need tcon_status debug interface
Solution:
add tcon_status debug interface
Verify:
x301
Change-Id: If6bd857b52138faef61dc4ecef3b846af315176e
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
Evoke Zhang [Tue, 8 Oct 2019 11:07:24 +0000 (19:07 +0800)]
lcd: add prbs test support [2/2]
PD#SWPL-15371
Problem:
need lcd prbs test
Solution:
add lcd prbs test function
Verify:
x301
Change-Id: Id218acb1585713e920b361d7597ab0868e706390
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
zhiwei.yuan [Tue, 22 Oct 2019 08:28:39 +0000 (16:28 +0800)]
vdin: change "IS_ERR" invoking to "IS_ERR_OR_NULL" [1/1]
PD#SWPL-15522
Problem:
kernel panic caused by NULL pointer
Solution:
check pointer before access members of structure
Verify:
verified by t962x2_x301
Change-Id: Ia20192bb88d90b06d43c04e6e4e6aa37b2862aa2
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Liang Ji [Tue, 22 Oct 2019 05:05:34 +0000 (22:05 -0700)]
Revert "audio: auge: improve compatibility for eARC RX/TX connection [1/1]"
This reverts commit
3aae3d78a5479ff3afcab94482b0ec64d237943f.
this cl block the newton, with it newton can't boot up noraml
Change-Id: I29adeb17f3cbacfd85cb4471a80bce247d7ab07f
Signed-off-by: liang.ji <liang.ji@amlogic.com>
(cherry picked from commit
56db1c7c121e1fd420b1a9d8fb24231db76d3199)
Zongdong Jiao [Mon, 21 Oct 2019 13:44:56 +0000 (21:44 +0800)]
hdmitx: add missing 'product_desc' in SPD infoframe [1/1]
PD#SWPL-14801
Problem:
Sharp/LCD-42GX50A TV will be black when it receives vendor_name
but without product_desc in SPD infoframe
Solution:
Add missing 'product_desc' in SPD infoframe
Verify:
G12A/U212
Change-Id: I630fa416580855883a80be2747d39887ef67ef5c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Pengcheng Chen [Tue, 22 Oct 2019 01:00:15 +0000 (09:00 +0800)]
osd: set correct dummy data with window_axis control [1/1]
PD#SWPL-15591
Problem:
a thin line appears at the bottom under linux
Solution:
set correct dummy data with window_axis control
Verify:
p212
Change-Id: Ifb422032880fb0a67f11dc8e117d10e4d96f72df
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Hong Guo [Thu, 26 Sep 2019 05:45:58 +0000 (13:45 +0800)]
reboot: add ffv_reboot mode [1/1]
PD#TV-10685
Problem:
add ffv_reboot mode
Solution:
add ffv_reboot mode
Verify:
test pass on tl1_x301
Change-Id: Ifdeb1819d89a54acbfebba0bcfe0865ea5c4ba5b
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Hong Guo [Sat, 7 Sep 2019 07:21:22 +0000 (15:21 +0800)]
reboot: add reboot reason sys infterface [1/1]
PD#TV-9896
Problem:
provide sys interface to get last reboot reason
Solution:
add reboot reason sys infterface
Verify:
test pass on tl1_x301
Change-Id: I6c4046c892eff9f92506fadb0cddee7041c8f882
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
jintao xu [Fri, 18 Oct 2019 09:58:37 +0000 (17:58 +0800)]
videosync: expire driven by vsync [1/1]
PD#SWPL-14542
Problem:
pipvideo drop frame when play 60fps
Solution:
expire driven by vsync
Verify:
U212
Change-Id: Ie54fb6c62b1e3db04157a98fd075c126b5b304d1
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
yao liu [Mon, 21 Oct 2019 08:04:56 +0000 (16:04 +0800)]
dv: osd display overexposure at 1080i [2/2]
PD#SWPL-12495
Problem:
dv vertical potch is small
Solution:
increase vpotch to 0x60
Verify:
verify on sm1
Change-Id: I4be460eb130e3c8ab85c5743ae85af72c9b7de6b
Signed-off-by: yao liu <yao.liu@amlogic.com>
Hanjie Lin [Sat, 12 Oct 2019 07:39:46 +0000 (15:39 +0800)]
debug: improve ftrace_ramoops for io trace [1/1]
PD#SWPL-6028
Problem:
optimize
Solution:
- restore memtype setting method to default.
depends on dts unbuffered attr,
default 0 means pgprot_writecombine and 1 means pgprot_noncached.
- always enable ramoop_io_en.
- fix ioremap_page_range() print mistake.
Verify:
Change-Id: Ib4383d1f5ff8310cfe4f5f732413e0d517d557b5
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Shuai Li [Sat, 19 Oct 2019 09:49:10 +0000 (17:49 +0800)]
audio: coveriy fix [1/1]
PD#SWPL-14015
Problem:
Coverity defect cleanup.
Solution:
Coverity defect cleanup.
Verify:
SM1
Change-Id: I5d564ddafb4105b80c0243efafa6fe141fd59be7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Xihai Zhu [Tue, 15 Oct 2019 05:28:33 +0000 (01:28 -0400)]
di: fix pulldown 32 enter issue from vlsi-LiuYanling [1/1]
PD#SWPL-11692
Proble:
wrongly enter film 32 detection
Solution:
adjust the threshold
Verify:
tl1
Change-Id: Icb012a5104eebaff8634f5183a198e19167fe7b2
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
Qianggui Song [Fri, 27 Sep 2019 06:20:30 +0000 (14:20 +0800)]
irqchip: fix WARNNING of lockdep [1/1]
PD#SWPL-14700
Problem:
When open lockdep there is a warnning:
WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected
Solution:
use hardirq-safe lock to protect critical sections
Verify:
g12a
Change-Id: Icd7550efcdefb5589d248b862b77919db8581484
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
zhiwei.yuan [Tue, 15 Oct 2019 08:49:00 +0000 (16:49 +0800)]
vdin: support afbce output for tm2 [1/1]
PD#SWPL-15188
Problem:
display is abnormal when config afbc out in dts
Solution:
correct vdin reorder mux setting
Verify:
verified by t962x3_ab301
Change-Id: Ic3ebe1bcba84f7e17c8caa3b12649a406906cabe
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
qianqian.cai [Wed, 16 Oct 2019 11:38:59 +0000 (19:38 +0800)]
deintlace: PQ the set of DI_MTN_CTRL [2/2]
PD#SWPL-14508
Problem:
HDMI480I/AV IN some issue you can see at the subtitle
Solution:
modify the DI_MTN_CTRL bit24/30 from vlsi(feijun),at the start of
field (1,2)you need set the bit24->0xf,bit30->0x1,after that
bit30->0x0
Verify:
verfy it on marconi
Change-Id: Iaf06f087811d189fe555e6802f90b7a96c33f393
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
qianqian.cai [Wed, 16 Oct 2019 09:24:29 +0000 (17:24 +0800)]
deintlace: PQ revert the set of di_belend_ctrl [1/2]
PD#SWPL-14508
Problem:
HDMI480I/AV IN some issue you can see at the subtitle
Solution:
revert the setting of 85992 di_blend_ctrl ,bit16
from vlsi feijun
Verify:
verfy it on the marconi
Change-Id: I78f6abd104d0953b6db7387900425175a436386b
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
Sunny Luo [Thu, 19 Sep 2019 11:21:34 +0000 (19:21 +0800)]
spicc: fix the condition issue of dma [1/1]
PD#SH-1213
Problem:
spicc will not run dma if bits_per_word isn't 64,
though dma mapped by the slave driver.
Solution:
change to run dma once dma mapped
Verify:
axg s400
Change-Id: I8625f973bdd5a2d69831e2c766dd43bc0417e0a5
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
Xing Wang [Tue, 15 Oct 2019 03:04:47 +0000 (11:04 +0800)]
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: I369cc28931f34c78496a7fbc63559ae181944158
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Gongwei Chen [Wed, 16 Oct 2019 06:08:03 +0000 (14:08 +0800)]
tp: enble tp in w400 dts [2/2]
PD#SWPL-15292
Problem:
W400 is not touch panel
Solution:
add touch panel in w400
Verify:
verify by w400
Change-Id: Ibb4323458a2e84ba9fa84177fe6c747611277c55
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
Cheng Wang [Tue, 15 Oct 2019 07:53:46 +0000 (15:53 +0800)]
amvecm: control cm_en status [1/1]
PD#SWPL-14964
Problem:
the screen color will abnormal after open cm_en
Solution:
adjust am_en status according to chip ID
Verify:
on newton
Change-Id: I8619dc4119c4d6c7e5a2d8f2985bbd508c7f94d7
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
Bencheng Jing [Wed, 16 Oct 2019 11:06:03 +0000 (19:06 +0800)]
vpp: dynamic adjust scaler path according to supsc0 h&v ratio [2/2]
PD#SWPL-12202
Problem:
scaler path need adjust according to supsc0 h&v ratio
Solution:
add dynamic adjust scaler path
Verify:
g12a&sm1
Change-Id: If00b4c321e24910ff7abd166d9a828dc424ab0d0
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
zhiwei.yuan [Wed, 16 Oct 2019 07:16:11 +0000 (15:16 +0800)]
vdin: The picture received by the screenshot is the previous frame [1/1]
PD#SWPL-15282
Problem:
buf is not updated because of absent receiver
Solution:
force buf recycle after screen cap stopped
Verify:
verified by t962x3_ab301
Change-Id: Idc5c354a6d744b11a892ffb3f015a5928706d438
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
jian.zhou [Tue, 15 Oct 2019 07:43:20 +0000 (03:43 -0400)]
audio: fix spdif out no sound [1/1]
PD#SWPL-13575
Problem:
The spdif out pinctrl name is not same in dts and spdif_codec code
Solution:
modify the DTS, and make spdif out pinctrl name same
Verify:
S912-Q201-DDR3
Change-Id: If93a71b4348ee98e3244ffd6a98bb405178fd24f
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
Zhe Wang [Tue, 9 Jul 2019 09:07:20 +0000 (17:07 +0800)]
audio: set audio path from frhdmirx through spdifin mode [1/2]
PD#SWPL-11054
Problem:
hdmiin source, audio input is randomly LR invert
Solution:
set audio path from frhdmirx through spdifin mode
Verify:
Verified on X301
Change-Id: Ib40d30b8b6d8bc28da69bf9b4f37ae2ef9228761
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Hong Guo [Thu, 17 Oct 2019 02:09:51 +0000 (10:09 +0800)]
cpufreq: add different freqs variable for big&little core [1/1]
PD#SWPL-15315
Problem:
add different freqs variable for big&little core
Solution:
add different freqs variable for big&little core
Verify:
test pass on g12b_w400
Change-Id: I3fbe4c6ee4f2a0868c84b362acddf16ac41a3dbd
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Evoke Zhang [Mon, 22 Jul 2019 10:27:14 +0000 (18:27 +0800)]
vdac: optimize the vdac controlling [1/1]
PD#SWPL-8385
Problem:
no cvbsout on ab311
Solution:
1.optimize the vdac controlling
2.enable cvbsout in ab311 dts
Verify:
ab311
Change-Id: Ib046e760eca1c9ad3ae30749c546aff538504b33
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Hong Guo [Tue, 15 Oct 2019 09:02:02 +0000 (17:02 +0800)]
cpufreq: add different freqs variable for big&little core [1/1]
PD#SWPL-15315
Problem:
add different freqs variable for big&little core
Solution:
add different freqs variable for big&little core
Verify:
test pass on g12b_w400
Change-Id: I2a5e00b5bbd4a1d084b925733a051497c6e92b0b
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Yong Qin [Fri, 27 Sep 2019 01:54:34 +0000 (09:54 +0800)]
cec: remove the delay time when get phy addr [1/1]
PD#OTT-6364
Problem:
When no hdmi cable connect, framework call get phy address,
will case 2s delay.
Solution:
1.If there is no HPD,needn't waitting TX finished reading the EDID
2.Reduce time out sleep time.
Verify:
W400
Change-Id: I2749e877e8b214355094390364e3711e6f1bbf12
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Zhongfu Luo [Tue, 15 Oct 2019 05:49:33 +0000 (13:49 +0800)]
efuse: fix KASAN bug [1/1]
PD#TV-11119
Problem:
BUG: KASAN: stack-out-of-bounds in
meson64_trustzone_efuse+0x168/0x268
Solution:
fix retcnt variable type
Verify:
tl1 skt
Change-Id: I54d9bb598277db539b68f2e741288348eb026e01
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
yao liu [Tue, 15 Oct 2019 07:34:13 +0000 (15:34 +0800)]
dv: display abnormal at 1080p24hz [1/1]
PD#SWPL-12495
Problem:
vpotch is small at 1080p24hz
Solution:
increase vpotch to 0x60
Verify:
SM1
Change-Id: I1505b0742b7e58c89396673e68b55384fa09551c
Signed-off-by: yao liu <yao.liu@amlogic.com>
Nan Li [Sat, 12 Oct 2019 13:14:53 +0000 (21:14 +0800)]
sdio: optimize sdio tuning print [1/1]
PD#SWPL-14443
Problem:
sdio tuning print info is too much.
Solution:
optimize tuning print.
Verify:
tl1
Change-Id: Ia0a0315eb30480b0014aa1e35d12b50576221f2e
Signed-off-by: Nan Li <nan.li@amlogic.com>
Xihai Zhu [Thu, 10 Oct 2019 11:40:11 +0000 (07:40 -0400)]
amvecm: have CMS setting applied in isr [1/1]
PD#SWPL-15013
Problem:
CMS setting is overrided by CM2 apply
Solution:
similar as CM2 apply, have CMS setting get
programed in isr
Verify:
tl1
Change-Id: I662c6c4eaff62cc031d0ca58186a83921bbc0224
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
Lei Yang [Wed, 9 Oct 2019 11:35:37 +0000 (19:35 +0800)]
hdmirx: keep SCDC_EN on [1/1]
PD#SWPL-14701
Problem:
AppleTV box always read SCDC status whether EDID support 2.0 or not
Solution:
1.Cannot disable scdc function at hdmi1.4 mode.
otherwise appletv didnot sent valid data
2.remove oscillator mode in algorithm of PHY pll
Verify:
962X2
Change-Id: I6b87c8268073e52f2393844989fcf50057a99ace
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
MingLiang Dong [Sat, 21 Sep 2019 08:16:31 +0000 (04:16 -0400)]
hdr: hdr tone mapping clip according to source max luminance [1/1]
PD#SWPL-14461
Problem:
hdr tone mapping from 0 to 10000, if source luminance is smaller,
color is abnormal
Solution:
hdr tone mapping clip according to source max luminance
Verify:
verify on TL1
Change-Id: I7faeeb522409c3d1418b2706c7cfd3dd41d9df8d
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
shaochan.liu [Fri, 20 Sep 2019 09:31:01 +0000 (17:31 +0800)]
lcd: 1.3.15 HS Exit compliance testing for 480p and 720p [2/2]
PD#SH-1295
Problem:
need A113D mipi HS Exit compliance testing for 480p and 720p
Solution:
1, add A113D mipi HS Exit compliance testing
2, add 480p and 720p panel setting
Verify:
A113D_s400
Change-Id: I4c95b5532782f6f083c4d61a43cc17cb8ed120b6
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
Jiamin Ma [Fri, 11 Oct 2019 09:34:01 +0000 (17:34 +0800)]
backtrace: add validation checking for fp [1/1]
PD#SWPL-15010
Problem:
Crash if keep executing echo w > /proc/sysrq-trigger
on android platform
Solution:
Add necessary checking for the fp to be dereferenced in
dump_backtrace_entry with VMAP stack enabled
Verify:
U212
Change-Id: I69d8d7353cf99a71dc3e7640efa1d460ef2f5f9a
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Hong Guo [Thu, 15 Aug 2019 06:32:00 +0000 (14:32 +0800)]
dvfs: update cpufreq table for sm1 corner [1/1]
PD#SWPL-13264
Problem:
update cpufreq table for sm1 corner
Solution:
update cpufreq table for sm1 corner
Verify:
test pass on sm1_ac200
Change-Id: Iba08ceb00dc00994e1c383090d6ff5d9dfb91ce3
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Pengcheng Chen [Thu, 10 Oct 2019 07:29:34 +0000 (15:29 +0800)]
osd: fix osd source crop issue [1/1]
PD#SWPL-14906
Problem:
osd source crop setting error.
Solution:
if source crop adjust blending out data.
Verify:
franklin
Change-Id: I067642ef6fe435da0c65362abedee49de3f1384d
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Pengcheng Chen [Sat, 12 Oct 2019 09:25:45 +0000 (17:25 +0800)]
osd: set gxm afbc hardware reset correctly [1/1]
PD#SWPL-13524
Problem:
gxm afbc hardware reset is not set.
Solution:
set gxm afbc hardware reset correctly
Verify:
Verified on S912
Change-Id: Iccde705fe408852671d367f1b3853a7055bdf050
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
xian [Fri, 11 Oct 2019 11:02:51 +0000 (07:02 -0400)]
cec: fix tv cec wake up select source issue [6/6]
PD#SWPL-13135
Problem:
When tv is waked up by one playback, it may wake up the
other playback ans show the source.
Solution:
LiveTv should take care of the situation and make the right
choice with information provided by cec hal service.
Verify:
verify it on Marconi
Change-Id: Ic27cdf77f0796a659400f90f60190354235777f3
Signed-off-by: xian <an.xi@amlogic.com>
jian.zhou [Sat, 12 Oct 2019 06:30:39 +0000 (02:30 -0400)]
audio: t9015 DACL_EN and DACR_EN only enable once [1/1]
PD#SWPL-13728
Problem:
when enable DACL_EN and DACR_EN, it will has pop sound
Solution:
Only enable DACL_EN and DACR_EN once at probe function
Verify:
U212
Change-Id: I0f26977ad5d9b86df264069f8732ddb44615cc09
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
fahui.feng [Fri, 26 Apr 2019 02:14:59 +0000 (10:14 +0800)]
audio: add usb karaoke driver [1/1]
PD#OTT-1624
Problem:
doesn't support Karaoke
Solution:
1) add usb karaoke driver
2) Default karaoke is disable. if enable it,
add "CONFIG_AMLOGIC_SND_USB_CAPTURE_DATA=y" in defconfig file.
Verify:
p212
Change-Id: I9f00873da930f9d5924fc752133ed51a4ae93636
Signed-off-by: fahui.feng <fahui.feng@amlogic.com>
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>