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#TV-8363
Problem:
Loopback doesn't work on TM2.
TL1 doesn't support loopback in OE pins.
Solution:
Make it compitable with chips.
Add tdm_lb format and chmasks.
Verify:
TM2 AB311 and TL1 X301.
Change-Id: If878fe75fc87857eae7a44439a451c5b2f494c67
Signed-off-by: Shuai Li <shuai.li@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-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-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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-14963
Problem:
The position bits of super scaler is incorrect.
Solution:
Set the position bits correctly
Verify:
Verified on U212
Change-Id: I133662859456f65e130b8795f574da845039c717
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#TV-7673
Problem:
SR0 register enabled the latch function, it will cause
frame size setting out of sync when bypass sr0.
Solution:
Disable the latch option.
Verify:
Verified with X301
Change-Id: Ibfc4c5f8f695757ddd7d7d9e50e4b5be23268388
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#OTT-5276
Problem:
CTS EncodeDecodeTest failed. Ion sync ioctrl was
forwarded to a dummy implementation. So cached dma buffer
syncing between device and driver was inconsistent occasionally.
Solution:
Changed the dummy_dma_ops to swiotbl_dma_ops when ion_sync_for_device
Verify:
franklin, hertz
Change-Id: I16863bba6c3fe16b9c3b2b410ade6e45c9e74826
Signed-off-by: baocheng sun <baocheng.sun@amlogic.com>
PD#TV-9856
Problem:
need change display driver for cool boot to enter
kernel stage freeze mode
Solution:
add lcd_panel_ctrl to control lcd display
Verify:
t962x2-x301
Change-Id: I8b58ab0a0f87c49791af7dddf7b05db37f7ad716
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-4097
Problem:
add lcd_ctrl bootargs for lcd driver control
Solution:
add lcd_ctrl bootargs for lcd driver advance control
and debug function in kernel
Verify:
verify by t962x2-r311
Change-Id: I4d741eef42505e259b54cd4f00e395d09edf7604
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
PD#SWPL-3826
Problem:
use gp1 pll for cpufreq.
Solution:
use gp1 pll for cpufreq.
Verify:
x301_tl1
Change-Id: Iefb6d31ec40ba304f41024e4b7adceec881d043e
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-11796
Problem:
update cpu clk after adjust cpufeq
Solution:
update cpu clk after adjust cpufeq
Verify:
test pass on g12b_w400
Change-Id: I5e4593e4b65de5f7536ddde793d682cc67df0e64
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-15024
Problem:
A311D w400 has only hdmi output by default, panel has no output
Solution:
modify clk
Verify:
Verify by Android P w400
Change-Id: I90d2defc509de2e559bb1ae1f4fcbcf38012b93c
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#OTT-6369
Problem:
The HPD low time of some Monitor(such as LG) is about 30ms, less than 100ms
Solution:
Reduce the delay time of plugout
Verify:
G12A/U212
Change-Id: I343223b5ef0696da035f0b3b179bdbfbce68c859
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-11894
Problem:
glitch time in bl31 may not be updated after hdcp22 unmux,
because get hdcp auth result function in bl31 will not be
called after hdcp mode set to 0. In a result, the glitch
hdcp22 result may take place of the actual hdcp22 auth
status after mode change, and feedback to systemcontrol
to clear/set video mute by wrong
Solution:
force to update glitch time after hdcp22 unmux
Verify:
U200/g12a
Change-Id: I497ead5f8f5c46959560ffc0c8702acca1a3f46c
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-14596
Problem:
some g12a chip,efuse map for enet is diff
So need compatible for these chip
Solution:
read valid bit from valid block,not data block
Verify:
verified by tl1 and g12a
Change-Id: I564209d865cbc2ff1151df07d06593b12ea225d8
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-14333
Problem:
invalid address is allowed for register program
which cause kernel panic
Solution:
add protection, programming on invalid addr will
be terminated
Verify:
tl1
Change-Id: I44bedec256ee5c386b53188fb2d8e40ae8c3f553
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-14033
Problem:
if clk invert bit set, 100M will not connect
Solution:
don't invert clk when connect 100M network
Verify:
w400
Change-Id: I4c3acbcc0d05fc2c99b5a982461ab3d5ff83fe26
Signed-off-by: qi duan <qi.duan@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#SWPL-2049
Problem:
osd3 din blend config may be incorrect when viu2 is enable
Solution:
add osd blend reg config check
Verify:
verify by AC202(sm1)
Change-Id: I3d8ff0d247226d4df1386808caba2a21a34f0b10
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-13491
Problem:
After plugging and unplugging HDMITX,
the panel screen color display is abnormal
for dual display platform.
Solution:
add vinfo->mode check for csc process,
avoid process null and invalid vinfo case.
Verify:
verify by AC202(sm1)
Change-Id: I54c54adcf2a0fc9a02e35b0ef24a720a55a8781a
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-13669
Problem:
Ge2d irq number is wrong on g12a/g12b/sm1.
Solution:
Replace the correct number
Verify:
Verified on u212
Change-Id: Ia3d202dc10cb978033892efb1de251bf5cf1df31
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-7636
Problem:
update dvfs voltage and pwm for g12b revb
Solution:
update dvfs voltage and pwm for g12b revb
Verify:
update dvfs voltage and pwm for g12b revb
Change-Id: I29deea791126fcb1819be380ed81bc2aa29eeec6
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
arch/arm/boot/dts/amlogic/g12b_a311d_w400_drm_buildroot.dts
arch/arm64/boot/dts/amlogic/g12b_a311d_w400_drm_buildroot.dts
PD#OTT-5577
Problem:
when scale down, scaler+dolby h-timing too tight
Solution:
reduce htotal_add to 0xc0 when 4k output
Verify:
u212
Change-Id: I190ec235370d9ed75f9c1f477c1419c383b0a8e7
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-13132
Problem:
stammac release/open when resume will change the dma addr.
if stmmac_xmit and stmmac_tx_work are running at the same time
it will cause panic
Solution:
remove stmmac_release/open call in stmmac_resume for chip
g12a/g12b/tl1/tm2
Verify:
verify on TL1
Change-Id: I5abf2ccf72c39483bbd1cce7b9e24bf596f30d0f
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-12780
Problem:
internal phy can not connect network probably
after long stress suspend test
Solution:
In suspend/resume sequeue, add eth reset
Verify:
verify on TL1 and G12b
Change-Id: Id8f6767686f4e4d52774d9ac28dac46549a52d4c
Signed-off-by: qi duan <qi.duan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-12760
Problem:
camera preview interface left and right invert
Solution:
adjust gc2145 mipi camera mirror register
Verify:
S905D3-AC200
Change-Id: I1789e5d055bf8661e6ec30f67e6e8db4a6fc99f6
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#SWPL-6837
Problem:
The return value of arch_counter_get_cntvct is always abnormal
when it is in irq stack. In this case, arch_counter_get_cntvct
trys to access a variable in 8Bytes via a 4Bytes aligned addr-
ess, which vialates the rule: The address that is accessed
should be aligned to the size of the data element being
accessed
Solution:
after switching to irq stack, force the base sp value to be
16Bytes aligned. Since the address of variable in irq stack is
based on the base sp and arranged automatically, all the data
accessing in irq stack will be aligned.
Verify:
Ampere
Change-Id: I3b30a56491dd0720d1c885bfaf2ca98d1b103fdd
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
(cherry picked from commit 043ae971bf)
PD#IPTV-3723
Problem:
One use case is PDM module is sendig data
to both PDM device and LOOPBACK device.
Close one will make another useless.
Solution:
Add management of the PDM module by
a enable count.
Verify:
SM1.
Change-Id: Iceeb756c02671b16dbc3c49a9b793a50e6e559b5
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-12300
Problem:
gc2145 mipi camera take picture will stuck when recording
Solution:
add the right size to picture array
Verify:
verify on S905D3
Change-Id: Iee797d59053050d41448fda601a3bd7226cf9f37
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
PD#IPTV-3732
Problem:
TMDOUTA is gated by earc clk gate.
There is a bug in sm1 clk gating.
Solution:
Fix the wrong map of clk mapping.
Verify:
SM1.
Change-Id: Ia395d3307c249ef0cd64b715bb936dea3e2925ac
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-11390
Problem:
No 227/228/229/230 fail
Solution:
1.Set video priotiry, to prevent num_ext_blocks is set to 0
2.Turn off osd, to make gmax=gmin=0
3.Update md_tool.exe to version 0.4.1
4.Add padding data 0 to 512 bytes for metadata
By the way, fix some coverity check error
Verify:
sm1
Change-Id: I316e33bac3d84bb3bd7763031c28b33cfe7762ac
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-10382
Problem:
not into pulldown 22 timely
Solution:
The judgment condition is wider for pulldown 22
Verify:
sm1
Change-Id: Id99c0c997b0954dee0a06b7e6dfd60feded73b30
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>