PD#SWPL-12431
Problem:
fec lost lock is too slower
Solution:
delay fec lock & make fec lost faster
Verify:
verified by t962x2_x301
Change-Id: I00de0a0c764f2fa598a867297acc0d90beddf188
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-12359
Problem:
Reduce DI's working frequency from 667 to 500 for tl1,
according to brian's suggestion.
to avoid affecting output.
Solution:
change dts's cfg
Verify:
x301
Change-Id: I6506f6a222cfe30f478902033349e48c9c678c59
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#TV-8145
Problem:
no scale display issue for picdec
Solution:
p2p_mode can be set to 1 to support no scale
Verify:
verified on g12b-w400
Change-Id: I2121bb39019675da78e626bb6cf40bf51486c765
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-12161
Problem:
Power on the DUT, look at the printing log,
it will prompt WARNING:gpio/gpiolib.c:106
Solution:
when get gpio below 0,
no need to call devm_gpio_request_one function
as 2 ad82584f use the same gpio
Verify:
T962E2 AB311
Change-Id: Iad8ded3a8a0e94229281aa50462b7c09c627a70f
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
PD#SWPL-12386
Problem:
LC access illegal mem while system shutdown
Solution:
avoid such accessing after mem is freed
Verify:
tl1
Change-Id: Ia817c5054ce863403ea4301c1728e16c4c033986
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-11389
Problem:
1080i input, there is combing when detect pulldown
Solution:
1. di add pulldown detect
2. amvecm set dejaggy according to pulldown detect
Verify:
verify on TL1
Change-Id: I146666b19ab393d610e66e9cb450b74b185f76e1
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-11389
Problem:
PQ need work around for 1080i(based on VLSI's suggestions)
co-work with yanling/mingliang
Solution:
add pulldown information to vframe;
u32 di_pulldown:
-bit 3: interlace
-bit 2: flmxx
-bit 1: flm22
-bit 0: flm32
Verify:
TL1
Change-Id: I9ff06ffa7aaa9516a3e64cec9768272499678fd5
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-11788
Problem:
customer require 9 color adjustment
Solution:
expand currently 7 color to 9 color
based on FAE's info
Verify:
tl1
Change-Id: Id5dcc01b955ffb461d6fa01efdc16bff92822729
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#TV-8035
Problem:
snowflake display is not stable when no signal
Solution:
separate avt playing or search
Verify:
x301
Change-Id: I4364d4af533704074a74e7d3b9522df461233f48
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-12091
Problem:
COLOR BAR+CROSS+DOT pattern is not good under avin ntsc_m
Solution:
update cvd 0xb2, 0xb5 reg for ntsc_m, pal_m, secam
Verify:
x301
Change-Id: I1610165689321d7cc60b883a4e44e86a6c352f18
Signed-off-by: Evoke Zhang <evoke.zhang@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#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-5433
Problem:
potential kernel memory diclosure in amdolby_vision
due to race condition on crc_output_buff_off
Solution:
add length check for crc_output_buff_off
Verify:
Verfied on raven
Change-Id: I1d7a445ea7972276d3975f8ccc36b186ef8736e3
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-11289
Problem:
bin data is missing from vdin1 histogram
Solution:
have histogram bin data copied
Verify:
TL1
Change-Id: I080448b2278e265d7a1649fb57fd6aacc0e6e576
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-12219
Problem:
HDMI 422 mode, 8 or 10 bit valid is unknown.
when 10bit valid, there will cause PQ problem
Solution:
HDMI 422 mode vdin set 10bit
Verify:
tl1
Change-Id: Iaee6545dfe3ebbb92a23d23515509c8e8a053a91
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-12209
Problem:
fixed SWPL-11917
When all the sample points are valid,
they fall into the changes of 111917
Solution:
flag is set when all sampling points are valid
so tuning does not enter the changes of 11197
Verify:
txlx
Change-Id: I591993f3007db913b0030b108dcb18c304bf1042
Signed-off-by: Long Yu <long.yu@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-12104
Problem:
when hdmirx timing switching, pop noise.
Solution:
when audio hdmirx is unstable, mute all input buffer
Verify:
T962x2 x301
Change-Id: I594b5bf9c1f4af45bb3653a7bfef5e0c7dab2825
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#TV-7049
Problem:
hpd keeps high when cec auto power on disabled, not
match the requirement of CVTE hotplug function test
Solution:
pull hpd low when cec auto power on is disabled
Verify:
tl1
Change-Id: I7ab885894585b62d76f5dad8cdcbec9d754ef274
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-11923
Problem:
input vsync frequence is faster than output
Solution:
drop 2 fields for interlace source.
Verify:
verified by t962x2_x301
Change-Id: I55f6154e9f85a9890669fa8951a8608555b912ba
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-8848
Problem:
need set a better compatible filter config
Solution:
set a better compatible filter config
Verify:
t962x2_x301
Change-Id: I298d22dff1185653ceac7e05633de3704b2fdb2f
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-11885
Problem:
vlock changed the cvbs out FRQ
Solution:
VOUT_FR_ADJ_NONE cvbs out mode not support vlock
Verify:
TL1
Change-Id: Ic8891e4f63ae36839bc1c8b6c7b1552ad7bc0994
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-11431
Problem:
black screen on 4k60hz
display abnormal on 1080p24hz/1080i/576p/480p
Solution:
1.Adjust potch according to resolution
2.Add tm2 in is_graphics_output_off
3.Move osd sc to the back of core2
Verify:
Verified on TM2
Change-Id: Ida1b4a67b3a7233d3a03b0536d246a0bd677e90c
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-12213
Problem:
Multi-screen support.
Solution:
Display is blank when panel use the same clk with cvbs.
Verify:
1. Primary screen display with HDMI.
2. Extend screen display with panel.
3. Primary and extend screen can display the same UI or difference.
Change-Id: Id2189c32a8ee4bb0c1384352d91536c7310d5670
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
PD#SWPL-11561
Problem:
UI display abnormal when switch from sdr tv to dv tv,
issue happened when dv tv support hdr also, it first
switch to hdr mode, then switch agian to dv mode.
Solution:
if vinfo mode is null or invalid, not update post2_matirx
Verify:
Verify on sm1
Change-Id: I6cc87ae2d5569d66b312bf47508e626298f9f98a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
PD#SWPL-10952
Problem:
osd for 4k native UI
Solution:
modify u32 to u64 for left-shift
Verify:
verified on g12b-w400
Change-Id: I9e98e3b5769d61132570f3f4bb1f47694cffde8f
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-11288
Problem:
we'd better provide the flexibility
for gamma applying protection
Solution:
add option to let user to choose
if the applying protection is needed
or not
Verify:
tl1
Change-Id: I3f215545c7921134a282571d7f734bb8b42d553e
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
PD#SWPL-8215
Problem:
1.clk81 can not switch to 24M
2.fixed pll can set rate
call clk_prepare_enable to open it
call clk_disable_unprepare to close it
Solution:
1.add clk81 mux clock
2.change fixed pll callback Read only to R/W
Verify:
test passed on tm2 ab301
Change-Id: I426d4307f19647afcb0166a23c1988df1b504807
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-6861
Problem:
Wrong val for init bandgap
Solution:
If PHY_CNTL0 is 0, then enable it, otherwise no need.
Verify:
SM1/AC200
Change-Id: I9e4a7bbe5d4b02cd8e9b2d5da87b4e572bdeb67e
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-11929
Problem:
request gpio failed but the probe function continued
to execute successfully.
Solution:
add return value judgment.
Verify:
test pass on g12a
Change-Id: Iab04b8440a4ecb340d98baee7b1e0df5692739e7
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
PD#SWPL-11532
Problem:
blue raster pattern show heavy noise
under sd HDMI input
Solution:
it is cuased by incorrect color matrix
set matrix based on the signal type
Verify:
tl1
Change-Id: I36ae74fd0f7762d270c5ea908a817dabb9516d56
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>