PD#SWPL-17476
Problem:
After kernel boots up, there will no edid info for vinfo
Solution:
Need update edid attach after reading once
In kernel init, hdmitx / vout / edid with attach once time
Normal replug, plugin / edid / uevent / mode setting / attach
Also, init DRM_DB[0] data.
Verify:
G12/U212
Change-Id: I188f0972c882a17efcbc568ef7d0db861b9b6c0a
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-17155
Problem:
box set env to 2160p30hz 422,12bit, connect to
Hisense LED50EC660US 4K TV which only support
maximum 3G mode, then power on box, the hpd is
low when run hdmitx hpd command, so hdmi is not
set. after enter kernel, vout set 2160p30hz
before edid is read, and the color space is
forcely changed to rgb, but the color depth is
still 12bit, so TV can't detect normally.
Solution:
keep hpd state low until edid read finishes,
so that the mode vout set is filtered by edid
Verify:
S905X3
Change-Id: I11d126c4a2165ffaf3892534b1602bad3d78618d
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-16374
Problem:
Playback HLG video color display is abnormal during playing
Solution:
Modify code related to color space.
Verify:
verify on the board of U212
Change-Id: Ie01ba1f9931a5e8f12bd1cfd70fd9ea752194f9b
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-16574
Problem:
Coverity(upgraded) defect cleanup: hdmitx
Solution:
Modify code according to coverity
Verify:
verify on the board of U212
Change-Id: Iac69fb896dd22b38ae56b58701d6fd26aefe958c
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-15262
Problem:
flash snow or black screen when switch to
1080p50/60hz rgb,12bit on Sharp LCD-42GX50A
Solution:
change the phy para according to uboot
Verify:
U212 board(V2.0) + S905X3 chip
Change-Id: If4fadc30aeab51106a11ea861e0ef43b2a5a1318
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-14910
Problem:
When HDMI plugin, it will read edid, parse edid, (and here dv mode maybe changed),
notify, etc...
Solution:
rewrite edidinfo to vinfo and update when tx mode is ready
Verify:
G12/U212
Change-Id: I81eb1943f6444fd2c87e0353f6e2782bd9c6c9c1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-13989
Problem:
Coverity defect cleanup: VOUT
Solution:
Modify code according to coverity
Verify:
verify on the board of U212
Change-Id: I787429350be37da84ccd85332e97d472f45d3826
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#IPTV-1032
Problem:
Need support 1440x2560p60hz
Solution:
Porting VESA code and 1440x2560p60hz
Verify:
g12b/w400
Change-Id: I3cf38bebc29b76aed50fe2ced7b47e27f2d1af06
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
PD#SWPL-9636
Problem:
upper layer get signal type is too late,cause screen flash
Solution:
report signal type to upper layer directly in vdin module
Verify:
verified by t962x2_x301
Change-Id: I08f7754f20ba8b6b00a34387dcaf4aee7fdc2185
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-9849
Problem:
add hdr10 pkt data into vframe structure
Solution:
according to hdmi rx hdr10p_on flag, copy hdr10p data
from hdmirx to vframe
Verify:
tl1
Change-Id: I4d3bcbcce4d1303a5e5d4cf57a7777e4fd1fd54c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-16961
Problem:
the old xbox of customer does not send tmds clk with
low probability after hdmi2.0 swithing.
Solution:
add hpd recovery logic when input clk unstable for a long time
Verify:
TL1
Change-Id: Id36a7a81596ffa08ef7fedd1bd2a21c206d921ce
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-12502
Problem:
new function
Solution:
add new function of TM2
Verify:
T962E2
Change-Id: Idd5843d39bb9235fe0abdf9aaaca3be6dd2795e7
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-16523
Problem:
Coverity(upgraded) defect cleanup:hdmi rx
Solution:
Modify code according to coverity
Verify:
verify on the board of x3011
Change-Id: I9dcdcede98dcf386874674442a9eea2c64d619ab
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-13433
Problem:
Need to add a option in dts to select tdr on or off;
Solution:
add a option in dts to select tdr on or off;
Verify:
tl1
Change-Id: Ibf5688fcf50672677369452f7dd6e702094eac5e
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-16740
Problem:
Add phy TDR function to get the best setting.
Solution:
Add phy TDR function to get the best setting.
Verify:
TL1
Change-Id: Id2652cbf8cc9f3bf2a7cf79edc110333a13fd67d
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-15343
Problem:
HBR audio cannot work well
Solution:
input clk of aud pll set to maximum.
and increase division coefficient at backend to ensure aud pll is right.
Verify:
on TL1 TM2
Change-Id: I243dde2d00327b924e265f26e7e31687c3e23ad1
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-15167
Problem:
Coverity defect cleanup:hdmi rx
Solution:
Modify code according to coverity
Verify:
verify on the board of x3011
Change-Id: I1f8bac51101a5ae1a8a27ffd14e899b75ab99c04
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-15167
Problem:
Coverity defect cleanup:hdmi rx
Solution:
Modify code according to coverity
Verify:
verify on the board of x3011
Change-Id: If325bcd7ca3a7f85cd17ac8b57e4a15284231ccc
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-10073
Problem:
The power consumption of hdmirx need to be optimized when
there're no deviced connected.
Solution:
Power off hdmirx phy/pll when no rx input
Verify:
TL1/TM2
Change-Id: Iba34e3a4cd72c2fd72ff05f608114179ae59055c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-12502
Problem:
new function
Solution:
add new function of TM2
Verify:
T962E2
Change-Id: Idd5843d39bb9235fe0abdf9aaaca3be6dd2795e7
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#TV-7779
Problem:
identify as PAL-DK when the input signal is SECAM DK
Solution:
increase atv try_fmt max cnt to recognize SECAM
Verify:
x301
Change-Id: I306f2337b6b2c3d0b4ec2fc85e45f9f5993b754b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-7783
Problem:
some non-std signal is not stable
Solution:
add more parameters for fine tune non-std signal
Verify:
x301
Change-Id: I926833778569c4aa3a6eae45224a46eae97f3dcf
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-14701
Problem:
AppleTV box always read SCDC status whether EDID support 2.0 or not
Solution:
1.Cannot disable scdc function at hdmi1.4 mode.
otherwise appletv didnot sent valid data
2.remove oscillator mode in algorithm of PHY pll
Verify:
962X2
Change-Id: I6b87c8268073e52f2393844989fcf50057a99ace
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-14776
Problem:
aud pll is zero. need to reset aud bandgap
Solution:
modify related recovery flow
Verify:
TXLX
Change-Id: If8ba596cb7bec81165a0b2f80aa388579cc68411
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-14763
Problem:
rx cannot work after suspend
Solution:
rx22 memory issue. revert related commit.
Verify:
TL1
Change-Id: Ia3a092e2fc602470e4ffc54f0d3b25ae0221f69f
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-14563
Problem:
hdcp_rx22 passed a wrong HPI address to hdmirx driver,
and cause HPI address request_mem_region fail
Solution:
Use the correct HPI address when request_mem_region called.
Verify:
TL1
Change-Id: I80bd6323ae4959edf3c792758568c581024536bb
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-14041
Problem:
sometimes after hpcp_hpd 0->1, ESM doesn't
respond to AKE_INIT, it will lead to flash
red screen on TCL DCLS-HG50
Solution:
add control for hpcp_hpd, keep it high by default
Verify:
X301
Change-Id: I8f8e5c880400084d6ed252667460c4e397b9909d
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-13667
Problem:
some devices may forcely send signal above 3.4G
even if TV announce hdmi1.4 edid, such as apple
TV box, Samsung UBD-K8500 dvd; and for QD6508 box
of TCL, it will not send signal out if scdc NAK
Solution:
add a scdc force enable option to cover this
issue. by default, scdc is enabled or not
accroding to current edid version
Verify:
X301
Change-Id: Ibdacbd3bb1edbdcb99637252530d19510fbcfb1d
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Conflicts:
arch/arm/boot/dts/amlogic/tl1_t962x2_x301_1g_drm.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301_1g_drm.dts
PD#SWPL-12502
Problem:
new function
Solution:
add new function of TM2
Verify:
T962E2
Change-Id: Idd5843d39bb9235fe0abdf9aaaca3be6dd2795e7
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#TV-7517
Problem:
hdmi hdr color deepth mode is auto, if input
is 8bit mode, output is 8bit mode
Solution:
when is hdr mode, force set 10bit mode to frame
buffer.
Verify:
tl1
Change-Id: If958f687e3923389277880e19d47f933421a8292
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-8153
Problem:
Flash blurre screen when change all 4K format
Solution:
if no video buffer resouce, needn't set afbce regiter
when need switch afbc mode.
Verify:
tl1
Change-Id: Ifb867cdeda2b6d3536246b79531a5bf9027e01a1
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-13779
Problem:
esm can not work after burning a new key and regenerating new
fw.le as the esm clock was not configured when probe.
Solution:
so we need to configure ESM clock no matter hdcp2.2
is burned or not.
Verify:
None
Change-Id: I793b63ad2f20434b9f8f27ccca7c80dee2990718
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-13130
Problem:
on LG UBK80-N DVD, hdcp22 auth passed before esm reset,
auth status will be reset, result in black screen
Solution:
delay hdcp22 auth to after esm reset
Verify:
TXLX
Change-Id: I4e7fe60cf3117712eea5f8b1eec65d544b557a48
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-2564
Problem:
hdcp_rx22 ocupy too much CPU resources
Solution:
1.Optimize hdcp_rx22 polling method
2.The driver code should match the hdcp_rx22 whose version is
HDCP2.2 RX0719
Verify:
Android P
Change-Id: I4e1ab48d4eb3b74de070a36cd719c67370f26505
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>