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>
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-10930
Problem:
1.hdmirx driver does't know currently used edid version
2.SCDC only used for HDMI2.0 mode
Solution:
1.add version parse of current edid
2.Disable SCDC for HDMI1.4 mode
Verify:
TL1-x301
Change-Id: I00f05fee1d1d61847983ee390556644b03b456a3
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-9686
Problem:
hdmirx cannot support HDR10plus
Solution:
add packet analysis of hdr10plus.
Verify:
tm2_ab311.
Change-Id: Ic98c3fa57ce6da3262285febc587fb2cac2be0fa
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-2894
Problem:
vdin for support DV LL mode
Solution:
1.add dv 1.5 LL mode support
2.fix vdin mem dump method,only dump active zone
3.add support RGB and 12bit for dv LL mode
4.add vsi info param of dv LL mode
5.dolby vision LL 422 12bit mode,RX need to enable tunnel
Verify:
tl1
Change-Id: I4ddad1310bcc6d2f777bf7099ac26fe2db812b22
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-8467
Problem:
1.no index parse for edid data block
2.no earc capabilities data structure parse
3.no earc cap data structure splice function
4.no cta data block splice/remove function
Solution:
1.add edid data block index parse
2.add earc capabilities data structure parse
3.add splice function of earc cap data structure
4.add splice/remove function of data block to edid
Verify:
TL1
Change-Id: I47b9f2176c31c65a08cdc657c00398f88cbdd7d3
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-7952
Problem:
vdin0 cma_size is not enough for some board
Solution:
1.change hdmirx skip_vf_num to 1.
2.increase vdin0 cma_size to 200M for 4k YUV444 10bit support,
other resolution usage will be lower,
such as 4k YUV422 10bit 160M.
Verify:
ab301
Change-Id: I353e2f9e5e6a25c8c3a34e10813039e9bba7e4a6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
PD#SWPL-6792
Problem:
EDID buff change to independent mode for each port
Solution:
1. add new edid update method
2. fix dv status issue for dv10
Verify:
Verfied on TM2 skt board
Change-Id: I274e5c08168b79fcfab0d2575a6531ab9802af3f
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-7084
Problem:
hdmirx signal detection time is long
Solution:
Optimize the phy pll init logic
Verify:
TL1
Change-Id: Ibdfdb3a54d2a5cbdf4f6292b85616fdba36c37a9
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-8032
Problem:
Switching to HDMI source is slower than T962
Solution:
ensure pll lock is table before do DWC reset
Verify:
T962X2
Change-Id: I1133d6b1fb532ab8460c1906a021fe133ea9fb83
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-6400
Problem:
need sync code with mainline
Solution:
sync mainline's print and coding style
Verify:
verify by marconi
Change-Id: I1934cf01f8e1ff87a0c9ab59a7288d2b6edaff84
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
PD#SWPL-7452
Problem:
TV is no signal when turn off and turn on dishNXT box
Solution:
clear hdcp avmute status if hdcp is not start
Verify:
962X
Change-Id: I0448e46baea4f8666b2b665f6c867fecb41fb7d0
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#SWPL-6400
Problem:
hdmirx phy clk_out is not stable,and causes long detection time
Solution:
VLSI provide a new PLL init sequence
Verify:
TL1
Change-Id: I42b98572226aafc8e61e36b6a2e5dfad078fd8fe
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>