PD#OTT-4173
Problem:
video stuck after seek. first pts64 is
abnormal when lookup failed.
Solution:
add first pts64 checkin for lookup failed.
Verify:
w400
Change-Id: Ibb2a15815311598cf47c242cb4c369da0f0cbdd2
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#TV-5764
Problem:
Goto the wrong case when using ext_sar
Solution:
Using the correct case when using ext_sar
Verify:
verified on r311
Change-Id: I181b9e8d21917840729f2e487b3dae3f41cd2c5a
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-9326
Problem:
hs400 200M not stable on some platform
Solution:
modify dts to hs200 mode
Verify:
passed on g12b_revb tl1 sm1 tm2
Change-Id: I45670c979b62a2caeed1e7ebc35b035bbbf8968c
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#SWPL-7872
Problem:
TM2 special case , vd2 afbc can't work on TM2
Solution:
Process bl+el as SDR on TM2
Verify:
T962e2
Change-Id: I2433b72c4b5548e75665aba9623a29cd5f12d202
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-9127
Problem:
the id pin of the type-c is aways high, whether it is connected to u disk
or usb cable.
Solution:
It need set vbus high when the usb mode is host only.
Verify:
test passed on sm1
Change-Id: I4ff8a9b5419b54828ecd797a78d149da98535dee
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-9142
Problem:
Audio Abus may be stuck if it is stopped
when the burst is not finished.
And the stuck can't be recovered
unless reboot the system.
Solution:
Add check to make sure that the transfer
is over then start to disable the toddr fifo.
Verify:
TL1 stress test.
Change-Id: I28dcf84ddec421bc70370b2544f0bf1f3272e7b4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-70
Problem:
arm isp can't get reserved mem
Solution:
reduce isp reserved mem
Verify:
w400
Test: camera preview and capture OK
Change-Id: Icaf630a25a55d31ec3ed68cae48fb840017c9fc0
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
PD#TV-6448
Problem:
when streams replayed, the video is blocked about 6s sometimes.
Solution:
when streams replayed, if pcr clock enable, then recalculate the
pcr clock for system clock from the stream to sync the video and audio.
Verify:
X301
Change-Id: Ic414fdc102753e1e1dcedfef2a5cb76ddddf6383
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#TV-5482
Problem:
Image flicker for non-std avin,
because the force_nostd parameter is modified to a unsuitable value.
Solution:
remove force_nostd paramete,
add sysfs node support for force_nostd
Verify:
x301
Change-Id: Ic50a311c6b5a63bcbd1d56651713de5be60a38a2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-8806
Problem:
the driver strength is type 1 on sm1
Solution:
modify sm1 dts
Verify:
passed on sm1_ac213
Change-Id: Iea5093541dc0bbd08954e78827309a45a84efc60
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
PD#TV-6005
Problem:
change time sequence for extern AMP
Solution:
1) enable tdm clk before codec init, when system resume
Verify:
test on X301
Change-Id: I3d6411cd32fbc3496bed942c72b7bec408d66959
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-9254
Problem:
uncached display unexpectly.
Solution:
Technically, calling dma_buf_map_attachment should return a buffer
properly dma_mapped. Add calls to dma_map_sg to begin_cpu_access to
ensure this happens. As a side effect, this lets Ion buffers take
advantage of the dma_buf sync ioctls.
Verify:
galilei, franklin
Change-Id: Ib6ca06e59e81031d3c65c2df8824b46baaba6c9f
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
PD#SWPL-9254
Problem:
Ion currently returns a single sg_table on each dma_map call. This is
incorrect for later usage.
Solution:
dup sg table on each dma_map call
Verify:
galilei, franklin
Change-Id: I6df2baa33bba9303b2ac25210ebaf56a337d56a2
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
PD#TV-5968
Problem:
Too many case for cm input size with differnet chips.
SR0+SR1+PPS.
Solution:
Add a variable to indicate the cm input size.
Verify:
on r311
Change-Id: I5f1024340c67edbdf646c1b5bb7cad95b93b7b92
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#OTT-4262
Problem:
When disable video before unreg, cur_pipbuf will not set to NULL.
Next time playback will tog this buffer.
Solution:
Free cur_pipbuf when vd2 is closed in unreg.
Verify:
U212
Change-Id: Ie381ae9feda8a5d23a93b3a5974d9c0af87e6d6e
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-8182
Problem:
signal has problem after fec lock during cable plug-in
Solution:
delay fec lock
Verify:
verified by t962x2_x301
Change-Id: I7ec8c8651ecb25cc91673829bd17d4d70dd8b6a3
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#TV-5865
Problem:
hdmiin frequency responds test fail.
Solution:
set resample clk to mclk of tdm
Verify:
X301
Change-Id: I22c92219bcea534bdec2bc526d535cacd971faa5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#TV-6236
Problem:
Some interlace stream di has buffer count more than 16
If video pts rebound in this stream. The condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16) is
not true. So this frame can not toggle always.
Solution:
Delete this condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16)
Verify:
verify TL1
Change-Id: I7e8c12ec72d086b0516f7c7490b492e16e36e8fe
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
PD#TV-4910
Problem:
vbi search_table for invalid data will cost more cpu resource
Solution:
optimze search_table performance to save cpu resource
Verify:
x301
Change-Id: If92aa4e6d58894c6b78833cd367eacd8e9a76d5b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-6903
Problem:
pcr increase automatic after system reset
Solution:
in non-tunnel mode, only after video stop post will adjust pcr
in omx_secret_mode. Also clear pcr in video stop
Verify:
verify by nts
Change-Id: I528229e8121a99e50c7b8313bd8dc867e3710ad8
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-8648
Problem:
add interface for checks the video profile
Solution:
add interface for checks the video profile
Verify:
u212
Change-Id: I95d0df62fae2debc6c0cc5a4d2adf002122b7630
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-7807
Problem:
preempt and irqsoff tracer is disabled by default
Solution:
enable preempt and irqsoff tracer default for debug
Verify:
sm1
Change-Id: I825f1d1cfb53209a0bd5b361a58a04cd1c90cb96
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-8759
Problem:
disable EAS on non-big-little platforms
Solution:
disable EAS on non-big-little platforms
Verify:
w400, u200
Change-Id: I11845def9efaa2e1da8fd30ac26daeb0dc47eda4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-8467
Problem:
1.no index parse for edid data block
2.no earc capabilities data structure parse
3.no earc cap data structure splice function
4.no cta data block splice/remove function
Solution:
1.add edid data block index parse
2.add earc capabilities data structure parse
3.add splice function of earc cap data structure
4.add splice/remove function of data block to edid
Verify:
TL1
Change-Id: I47b9f2176c31c65a08cdc657c00398f88cbdd7d3
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#IPTV-3107
Problem:
Speaker has no sound
Solution:
modify dts and ad82584f
Verify:
Verify by Android P S905D3 AC202
Change-Id: I92ddb6a86b31dcd2c37311a0fc9b1a2cefc29d4e
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#SWPL-8711
Problem:
the adckey driver maybe reports unexpected event when the configured
channel is dangling.
Solution:
the board does not support adckey, remove the adc_keypad node in dts
Verify:
test pass on ac213
Change-Id: I78eeb608928c1d455f6c659127e75f3d77d09541
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#SWPL-8153
Problem:
Flash blurre screen when change all 4K format
Solution:
if no video buffer resouce, needn't set afbce regiter
when need switch afbc mode.
Verify:
tl1
Change-Id: Ifb867cdeda2b6d3536246b79531a5bf9027e01a1
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#OTT-3663
Problem:
when hpd low, hdmitx phy is disabled, the rxsense
state is not right
Solution:
force to set rxsense state = 0 when hpd is low
Verify:
p212
Change-Id: I8fa3e8a647558f0cbfc62e9384613911efbef559
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-3667
Problem:
after playback none-48K raw audio, the spdif clock
is not recoved to 48K when tdm/spdif same source
Solution:
use the same clock source as tdm if samesource and
config that when tdm hardware prepare.
Verify:
AC213
Change-Id: I0d5dc5f51b5de14d155902e0fe72c293071c93ec
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
PD#TV-6007
Problem:
ATV scan range is not qualified
Solution:
1.change 0x128 from 0x140008 to 0x1f0008 for ntsc-m
2.support cutwindow adjust debug:
echo h index val >/sys/class/tvafe/tvafe0/cutwin
echo v index val >/sys/class/tvafe/tvafe0/cutwin
echo r >/sys/class/tvafe/tvafe0/cutwin
3.support cutwindow config in dts
Verify:
x301
Change-Id: Idc3a3e8857cea2462da6edcbbf4ffefab6d48f7b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-6267
Problem:
internal codec pointer operation error
Solution:
use 4.9 ALSA standard API to get the codec handle.
Verify:
R311
Change-Id: I52567a914230083054dc0413f818356d71c83a53
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
PD#SWPL-7465
Problem:
1.bus crash
Solution:
1. add debug info only for tl1;
2. increase protection for unreg;
Verify:
x301
Change-Id: I84c0058bc22310f87407de1bf56f7a5eb92fd2ed
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#TV-6189
Problem:
video_inuse always is 1 when codec server crash
Solution:
reset video_inuse when amlvideo stop
Verify:
TL1
Change-Id: I5b1b808668e3b2fb78781a4ea1ccbaefc3507d2b
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
PD#SWPL-8878
Problem:
input secam signal colorbar scale line jitter
Solution:
setting some register for secam signal
Verify:
tl1
Change-Id: I59c370c2ab3f92c904b506d26022b165d521776c
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
PD#SWPL-8878
Problem:
input secam signal colorbar scale line jitter
Solution:
setting some register for secam signal
Verify:
tl1
Change-Id: I0b5e1ea03581893a2b460afadcf682f3ce74b450
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
PD#IPTV-3107
Problem:
Speaker has no sound
Solution:
modify dts and ad82584f
Verify:
Verify by Android P S905D3 AC202
Change-Id: I3dc77e5f0ba6e776b5d5ac4f34de4da9a16ec84d
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>