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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>