PD#OTT-4124
Problem:
video frames cannot be dropped when displayed in video layer
Solution:
add dropping frame mechanism in amvideo
Verify:
verified on franlin
Change-Id: I751883543adc5c840921bd5062484e56cde2c0fa
Signed-off-by: Rico Yang <wei.yang@amlogic.com>
PD#OTT-4292
Problem:
Root Cause:gralloc set afbcd = 1, but hwcomposer have no frame set,
hdmi plug and uboot logo update and osd_enable_hw() called, in this api,
there is a protection: if afbcd.enable set and phy_addr == 0 will
wait vsync till phy_addr != 0, this section code logic caused screen blank
Solution:
when gralloc set afbcd = 1, don't set afbcd.enable = 1,
it will update with hwcomposer post afbc frame.
Verify:
verify with Raven
Change-Id: I98a88cffd139832a34825adde7c21219937b63ce
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#OTT-4501
Problem:
the dst canvas phy address for ge2d is overwritten
out of bound before processing
Solution:
alloc canvas index dynamically
Verify:
verified on g12b-w400
Change-Id: If021c087125928d5fb146118432c7ff427ea0dbb
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-5037
Problem:
system enter early suspend, not ack "report power sts"
Solution:
early suspend not called.
not use CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
Verify:
g12a s905x2 android P
Change-Id: I0e2d691b927575b3a6b5e7c13668de9bbf6519f7
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5937
Problem:
need screen initialization moved from uboot to kernel
Solution:
1, add lcd tv driver when the panel disable in uboot
Verify:
t962x2-x301
Change-Id: Ia7837db5f6581543b2a093357a264ee63dbd33a9
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#OTT-4558
Problem:
delete 100M and 250M cpu clk for g12b
Solution:
delete 100M and 250M cpu clk for g12b
Verify:
test pass on g12b w400
Change-Id: Id8a858d5c56b44325e750702f1af3ca5cfd247c4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
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>