PD#SWPL-5655
Problem:
j.83b has a lot of mosaic when enable timeshift(clk = 250M)
Solution:
tm2 chip changelist
Verify:
verified by T962E2_AB311 & T962X2_X301
Change-Id: I106626bf7ab5a1997e9c76055a170b30d52a08bb
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-9934
Problem:
1.audio control calls crash on a non-tl1 platform.
1.fix atv audio control interface.
Solution:
1.fix atv audio control interface.
Verify:
Verified by r311 and x301.
Change-Id: Ib6d58cec96e7d57e1bfd8ae18524dcb5517c317e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#OTT-4320
Problem:
ge2d phys have been overwritten when dma fd is same from diff process
Solution:
when get phys addr by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: Idb32bc61d33345d370db4eb6bcb04351d854f069
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#TV-5427
Problem:
enable support for parsing VIU2 boot parameters
Solution:
add this support in driver
Verify:
verified on TL1-X301
Change-Id: I2b2dc97bc76a8816a2c1e17ce5689e2679867011
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#OTT-4320
Problem:
gdc phys have been overwritten when dma fd is same from diff process
Solution:
when get phys by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: I6e990c9fda9245db0d92053cc011fc6f9507db72
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#OTT-4320
Problem:
ge2d canvas_config have been overwritten
Solution:
move ge2d canvas_config from ge2d config to ge2d process
Verify:
w400
Change-Id: I6733751435f9185c8f96287c5308145898c8b8a7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-7711
Problem:
Executing echo l > /proc/sysrq-trigger each 5 seconds for about
15 minius will trigger hardlockup
Solution:
Add more strict checking for show_regs to filter out addresses
in secure monitor region and ioremap region, deferencing which
triggers external abort on none-linefetch, and finally leading
to hardlockup
Verify:
Locally pass on U200
Change-Id: I6bd219e7dc3ad29904e6bd1b7d2f4cfb3928d8ed
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#SWPL-6361
Problem:
Lack SCDC/CED function to check Rx TMDS status
Solution:
Add SCDC/CED function
By default, this function is not open.
Enable it in board dts file like below:
&amhdmitx {
cedst_en = <1>;
};
Also, you can manually enable it by
'echo 1 > /sys/class/amhdmitx/amhdmitx0/cedst_policy'
Then listen '/sys/class/extcon/hdmi_cedst/uevent'
and check 'cat /sys/class/amhdmitx/amhdmitx0/cedst_count'
Verify:
G12/U212
Change-Id: Ic9c90936bad643ea95d418d7b019eb37210d7123
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
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>