Commit Graph

650071 Commits

Author SHA1 Message Date
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
Nanxin Qin
035c54e5c2 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>
2019-10-28 04:12:12 -07:00
Gongwei Chen
df6f565ab2 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>
2019-10-28 04:00:52 -07:00
yicheng shen
bb1d5fc785 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>
2019-10-28 03:34:33 -07:00
Pengcheng Chen
5ab6d3517a 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>
2019-10-27 22:16:31 -07:00
Nan Li
3f3907b50e emmc: optimize sdio tuning print [1/1]
PD#SWPL-15797

Problem:
commit a5c3731f5d
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>
2019-10-27 19:42:22 -07:00
Shunzhou Jiang
98cc86a259 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>
2019-10-27 18:39:10 -07:00
jintao xu
609b26fb02 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>
2019-10-25 05:33:07 -07:00
yao liu
d3d7cf79cd 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>
2019-10-25 04:13:27 -07:00
bing.jiang
066f69299d 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 952ac4c1d7 ("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>
2019-10-25 01:37:09 -07:00
Tao Zeng
74a35431d2 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>
2019-10-25 00:09:00 -07:00
yicheng shen
9aa1021d2b 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>
2019-10-24 23:56:11 -07:00
jintao xu
717597468e 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>
2019-10-24 23:01:11 -07:00
zhiwei.yuan
24eba4ca64 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>
2019-10-24 19:52:59 -07:00
Cheng Wang
d3c6bbc8fc 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>
2019-10-24 08:48:46 -07:00
yao liu
071b8485e3 dv: graphic blend test failed on HDR TV [1/1]
PD#SWPL-15631

Problem:
There is an error in
c62207ef53

Solution:
correct the err

Verify:
SM1

Change-Id: If645ee88533dab7e28ff95d578be019a2cb894a6
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-10-24 06:36:46 -07:00
Wenfeng Guo
5f5e03b907 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>
2019-10-23 23:31:30 -07:00
Wenfeng Guo
6dbee9dbec 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>
2019-10-23 23:29:53 -07:00
yao liu
c62207ef53 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>
2019-10-23 23:28:49 -07:00
Gongwei Chen
41ef86136c 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>
2019-10-23 22:31:09 -07:00
shaochan.liu
4e00cc84f2 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>
2019-10-23 20:01:38 -07:00
Evoke Zhang
7e6c87cc94 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>
2019-10-23 19:26:46 -07:00
zhiwei.yuan
764a9e6bd6 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>
2019-10-23 05:24:37 -07:00
Liang Ji
1c2bc5f90f 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)
2019-10-22 23:18:27 -07:00
Zongdong Jiao
e2dc22106d 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>
2019-10-22 21:01:20 -07:00
Pengcheng Chen
b41c04770c 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>
2019-10-22 06:23:04 -07:00