PD#SWPL-9172
Problem:
no more canvas id for vdin1 use
Solution:
the canvas id number need equal with frame number.
Verify:
tl1
Change-Id: Idff362218042c260c28116816d747260708f6355
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#OTT-3716
Problem:
In GX, there is the I2C_REACTIVE method to avoid the I2C hangup
issue. But it is fixed in G12, so need replace it.
Solution:
Replace I2C_REACTIVE with I2C_RESET logic
Verify:
G12/U212
Change-Id: I1ca2f77a213db0d7de067745b3701816b7c85c27
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#OTT-3760, PD#SWPL-8309
Problem:
startup ott, cvbs out with pop noise
Solution:
Set gpio init low
Verify:
verified by franklin
Change-Id: Ieb33e72473055fad69bc8e9a68ed0b0552e9f029
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#OTT-4277
Problem:
osd display abnormal when 2nd osd laysers scope > 1080
default osd scope value in disable channel is too small
Solution:
set default osd scope value in disable channel to 0xffffffff
Verify:
verified by S905D2-U200
Change-Id: I9983928d91c1ac4285f2a5acdffa5438722e4ab4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-6985
Problem:
cfo track value is small
Solution:
increase cfo track val to avoid crystal jitter
Verify:
verified by t962x2_x301
Change-Id: Ifcf53f1d06eae204a82dc99154d18c38f370ebc1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-9372
Problem:
write register after clk off
Solution:
write register after clk on
Verify:
verified by t962x2_x301
Change-Id: Id9639d98a5434a8be22f0de9bf4ed778b9cbeb9f
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-8903
Problem:
S905D3 project need bring up gc2145 mipi camera
Solution:
bring up gc2145 mipi camera on S905D3-AC202
Verify:
verify on S905D3-AC202
Change-Id: I5c7c3c551eca7ec20759e724c24d725f89641d96
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-9344
Problem:
osd hold line is too small when dv enable
Solution:
enlarge osd hold line from 4 to 8
Verify:
verified by franklin
Change-Id: I81d1fe210fe6e9f9a065d7ff75178ef1807f3e43
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
1.fix atv non standard signal audio handle.
2.remove atv audio source selection in audio module.
3.atv demod selects audio source according to signal.
4.atv demod version: V2.12.
Verify:
Verified by x301
Change-Id: Ie0fce492f1ce7f5a5866d8674c95c97ee32452c0
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
release atv source select function to atv demod
Verify:
x301.
Change-Id: I96e58531150c3f20946ab636d701296328215686
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-9181
Problem:
have the errors when using the cross-gcc-4.9 compiler.
Solution:
fix it.
Verify:
tm2_ab311.
Change-Id: I3dcc5e982c520baeaf19ca246764db10f36dd079
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-9538
Problem:
firmware_drv and amstream shouldn't use the same AMSTREAM_MAJOR
Solution:
add a dedicated FIRMWARE_MAJOR for firmware_drv
Verify:
ac200
Change-Id: I3f041c220a9d0ea3329296dc81618dd85e8d466c
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-9593
Problem:
dtv audio is heard slower in spk
Solution:
when mclk is changed, spdif clk changes correspondingly in samesource case
Verify:
X301
Change-Id: I15fcb598ba893762580f0a5aac856376af8c94ec
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-7606
Problem:
EQ/DRC module is out of work
Solution:
bringup EQ/DRC module
Verify:
verified on ac200
Change-Id: Ibd9b1e65aaed2ecd5f3086e4325d6b92fe34b040
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#TV-6683
Problem:
DMC error log as "ID:VPU READ1, sub: 7"
Solution:
make afbc disable, if afbc phy addr is 0
Verify:
verified on TL1-X301
Change-Id: I111c8e2e922877904dd8b8d1f276f79ca4f68e94
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#TV-6244
Problem:
viu2 hold line too big caused v display offset
Solution:
1.set viu2 hold line value to default value
Verify:
Verified by tl1
Change-Id: Ie39baca7dd729e913735b7806acbc0a9cbb4559b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-6649
Problem:
encl input buffer reset delay and limit input buffer din phase
Solution:
set sync_vpp go filed back to encl_clk
Verify:
t962x3_ab301
Change-Id: I3fc681d408950e7647cfb08bb19bc66f2f8719b6
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#TV-5802
Problem:
irq of dmc violation happens very qiuckly, which may
have some wrong report if violation print in workqueu.
Solution:
Add a data to identify it. If data is null, then it's a
fake violation
Verify:
txhd
Change-Id: I402763fa2d20cfae3dc2d9647f7b2c2fb29ce966
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#TV-6452, PD#TV-6643, PD#TV-6144
Problem:
fix frequency closer when channel searching.
Solution:
1.fix frequency closer when channel searching.
2.Frequency offset cause errors in CVBS or audio recognition.
Verify:
Verified by x301
Change-Id: Ieab13a5b5d8d901cfc61ea09e5e47eb9e938bf34
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-8874
Problem:
vlock and phase lock encl mode not works
Solution:
deverlop the function
Verify:
tl1
Change-Id: Ic72fda0a5b31cdcd0d77de688dd46fcce4bb7e29
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6480
Problem:
core1 reg is set wrong for g12 and tm2
Solution:
correct core1 reg for g12 and tm2
Verify:
verified by u212
Change-Id: Ie9de107fce6f23ded1397827ebe95a00939df8c1
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-9298
Problem:
add dts config for P281
Solution:
add dts config for P281(from P212)
the difference as follows:
framebuffer from 1080p to 720p
gpu max freq from 750 to 666
Verify:
verify by p281
Change-Id: Ice6bcbd11fd831daeb6620d1780628494c8a10fa
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
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>