Commit Graph

649698 Commits

Author SHA1 Message Date
Hang Cheng
4cf2cff964 hdmirx: add control for hdcp hpd [1/1]
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>
2020-06-29 11:45:57 +09:00
Hang Cheng
2e12177983 hdmirx: add option for scdc enable [1/1]
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
2020-06-29 11:45:57 +09:00
Lei Yang
999f2f4e2c hdmirx: add repeater14 for TM2 [1/2]
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>
2020-06-29 11:45:57 +09:00
Lei Yang
da7effbb9a hdmirx: update config for TM2 [1/1]
PD#SWPL-5616

Problem:
bring up hdmirx for TM2

Solution:
hdmirx: add hdmirx TM2 support

Verify:
Verfied on TM2 skt board

Change-Id: I82fd66afc7f26f1bdfd7a4f1fc4cc0d9d7ed3974
Signed-off-by: Lei Yang <lei.yang@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/tm2_pxp.dts
	arch/arm/boot/dts/amlogic/tm2_t962e2_ab311.dts
	arch/arm/boot/dts/amlogic/tm2_t962e2_ab319.dts
	arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts
	arch/arm/boot/dts/amlogic/tm2_t962x3_ab309.dts
	arch/arm64/boot/dts/amlogic/tm2_pxp.dts
	arch/arm64/boot/dts/amlogic/tm2_t962e2_ab311.dts
	arch/arm64/boot/dts/amlogic/tm2_t962e2_ab319.dts
	arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
	arch/arm64/boot/dts/amlogic/tm2_t962x3_ab309.dts
	drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_wrapper.c
2020-06-29 11:45:57 +09:00
Yong Qin
e7f25b093b vdin: hdr mode force 10bit mode [1/1]
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>
2020-06-29 11:45:57 +09:00
Yong Qin
57d31e8567 vdin: Flash blurre screen when change hdmi 4k timing [1/1]
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>
2020-06-29 11:45:57 +09:00
yicheng shen
504f94d424 hdmirx: optimize esm clock init sequence [1/1]
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>
2020-06-29 11:45:57 +09:00
Hang Cheng
3a9c1b3b3b hdmirx: optimize for hdcp22 [1/1]
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>
2020-06-29 11:45:56 +09:00
yicheng shen
4bd1404666 hdmirx: optimize the communication method with hdcp_rx22 [1/3]
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>
2020-06-29 11:45:56 +09:00
Hang Cheng
e9e6a7a74d hdmirx: pull hpd low when cec auto power on is disabled [2/3]
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>
2020-06-29 11:45:56 +09:00
Hang Cheng
c8cb6fe395 hdmirx: add version parse of current edid [1/1]
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>
2020-06-29 11:45:56 +09:00
Lei Yang
6d2fc21201 hdmirx: add packet analysis of hdr10plus [1/1]
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>
2020-06-29 11:45:56 +09:00
Yong Qin
bff71f4209 vdin: for support dv ll mode [1/1]
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>
2020-06-29 11:45:56 +09:00
yicheng shen
3cdf2a51fe hdmirx: add hdcp2.2 test key detection [1/3]
PD#SWPL-8312

Problem:
hdmi can not detect the hdcp2.2 aml_test_key;

Solution:
Add aml_test_key detection function;

Verify:
TL1: kernel 4.9 TXLX: kernel 3.14

Change-Id: I126e6f94f8b9f8479619b3cfddf22306e8c8ac15
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:56 +09:00
Hang Cheng
ad7ad7a53a hdmirx: add edid data splice function [1/1]
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>
2020-06-29 11:45:56 +09:00
Zongdong Jiao
515ac88476 hdmirp: enable CEC physical address passing for non-repeater mode [1/4]
PD#SWPL-6988

Problem:
Lack CEC physical address passing

Solution:
Pass CEC address from Tx to Rx in kernel

Verify:
T962X3

Change-Id: I67952d040478c0068e3f0ed777ecf40410a7767d
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:56 +09:00
Lei Qian
bb59729042 Revert "hdmirp: enable CEC physical address passing for non-repeater mode [1/4]"
This reverts commit 92d3423bdb6eabe309f662b6c25fd2e4006f9c1f.
2020-06-29 11:45:56 +09:00
Zongdong Jiao
4bdadf9efc hdmirp: enable CEC physical address passing for non-repeater mode [1/4]
PD#SWPL-6988

Problem:
Lack CEC physical address passing

Solution:
Pass CEC address from Tx to Rx in kernel

Verify:
T962X3

Change-Id: I67952d040478c0068e3f0ed777ecf40410a7767d
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:56 +09:00
Evoke Zhang
3094f5fb88 dts: update vdin0 cma_size for 4k YUV444 10bit support [1/1]
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
2020-06-29 11:45:56 +09:00
Lei Yang
bc03732362 hdmirx: add new edid update method [1/1]
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>
2020-06-29 11:45:55 +09:00
Lei Yang
7e55d52beb hdmirx: update config for TM2 [1/1]
PD#SWPL-5616

Problem:
bring up hdmirx for TM2

Solution:
hdmirx: add hdmirx TM2 support

Verify:
Verfied on TM2 skt board

Change-Id: I82fd66afc7f26f1bdfd7a4f1fc4cc0d9d7ed3974
Signed-off-by: Lei Yang <lei.yang@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/tm2_pxp.dts
	arch/arm/boot/dts/amlogic/tm2_t962e2_ab311.dts
	arch/arm/boot/dts/amlogic/tm2_t962e2_ab319.dts
	arch/arm/boot/dts/amlogic/tm2_t962x3_ab301.dts
	arch/arm/boot/dts/amlogic/tm2_t962x3_ab309.dts
	arch/arm64/boot/dts/amlogic/tm2_pxp.dts
	arch/arm64/boot/dts/amlogic/tm2_t962e2_ab311.dts
	arch/arm64/boot/dts/amlogic/tm2_t962e2_ab319.dts
	arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
	arch/arm64/boot/dts/amlogic/tm2_t962x3_ab309.dts
	drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_wrapper.c
2020-06-29 11:45:55 +09:00
yicheng shen
e53c716b6f hdmirx: update phy pll init logic [1/1]
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>
2020-06-29 11:45:55 +09:00
yicheng shen
ce4d9d957c hdmirx: enable hdcp2.2 for tm2 [1/2]
PD#SWPL-7865

Problem:
TM2 hdcp2.2 can not work,esm bootup fail

Solution:
Enable Enable axi_clk.

Verify:
TM2

Change-Id: I44af6f2b5bfbe72cfdb93e1b42c47cda9c56d3a2
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:55 +09:00
Lei Yang
288aa1c786 hdmirx: increase waiting time of tmds valid [1/1]
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>
2020-06-29 11:45:55 +09:00
Lei Qian
4739b42a9f hdmirx: optimize print and coding style [1/1]
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>
2020-06-29 11:45:55 +09:00
Lei Yang
d4da3b84ac hdmirx: fix dishNXT box blackscreen issue [1/1]
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>
2020-06-29 11:45:55 +09:00
yicheng shen
31fe1b272a hdmirx: optimize phy pll init sequence [1/1]
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>
2020-06-29 11:45:55 +09:00
Hang Cheng
e2a0dfe599 hdmirx: disable interrupt when suspend or shutdown [1/1]
PD#SWPL-7570

Problem:
there's frequent interrupt when suspend, and can't
enter suspend successfully

Solution:
disable interrupt when suspend/shutdown

Verify:
x301

Change-Id: Iad13159da8cf0d48c6374c17df957c26aa177024
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2020-06-29 11:45:55 +09:00
Hang Cheng
0a7ffe230b hdmirx: modify drop video frame interface [1/1]
PD#SWPL-6785

Problem:
there's garbage frame show when signal change

Solution:
enable forward video frame skip interface, and set vdin
to skip one more frame to prevent garbage been shown

Verify:
X301

Change-Id: Id099558c733843f330b99246ea31fbbd0c18ed84
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>

Conflicts:
	drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_wrapper.c
2020-06-29 11:45:55 +09:00
yicheng shen
e70766f34e hdmirx: optimize phy setting [1/1]
PD#SWPL-3463

Problem:
Need update phy setting

Solution:
1.decrease pll bw;
2.add cdr lock level option
3.optimize signal detection time

Verify:
TL1

Change-Id: Idc24683430488d300fa2690fa9f8039905cf6a88
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:55 +09:00
yicheng shen
39675b69bb hdmirx: fix read edid error issue [1/1]
PD#SWPL-6751

Problem:
EDID information error after switching EDID 1.4 and 2.0 in OSD menu.

Solution:
Modify HPD reset handle when switch hdmi 2.0

Verify:
TL1

Change-Id: I5aa3126f6f870a733443f16b8975f83c515b9fd6
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:55 +09:00
yicheng shen
42e2e79b7b hdmirx: update phy setting [1/1]
PD#SWPL-6360

Problem:
Connect PS4PRO,plug out than in,the audio will show faster than video.

Solution:
1.update CDR lock logic;
2.add sw_reset_align and sw_reset_chan;
3.update phy init sequence;

Verify:
TL1

Change-Id: I0ef259502579a7edd2c61708c81983ce07124c9f
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:54 +09:00
yicheng shen
d61a14c58f hdmirx: update vb phy setting [1/1]
PD#SWPL-6234

Problem:
flash line in the screen when HDMI connect iTV IV3010 box.

Solution:
1.update phy low frequency setting;
2.optimzie pll init sequence to save some detection time;
3.update verB pll setting(0323);

Verify:
TL1

Change-Id: I71225b06f02e4888ce093780a2beb0a381986293
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:54 +09:00
wenbiao zhang
33419ad6de hdmirx: send uevent when hdmirx port open/close [1/2]
PD#SWPL-4308

Problem:
gpu limit cause cts performance test fail

Solution:
limit gpu only when video playing or hdmiin

Verify:
P321

Change-Id: I682a908957491c8445fdb384dedd404169757e2b
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
2020-06-29 11:45:54 +09:00
Hang Cheng
699a75e987 hdmirx: set rxsense sync with pddq for tl1 [1/1]
PD#SWPL-5668

Problem:
recognized as dvi after suspend/resume
when connect xiaomi mtk box

Solution:
when resume, add rxsense pulse to avoid
sda pulled low by xiaomi mtk box

Verify:
TL1-T962X2_X301

Change-Id: I480cbb4376bbb0c3b38318df2e26f5cc85db3d59
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2020-06-29 11:45:54 +09:00
Lei Yang
71a708c520 hdmirx: add debug interface for HBR 8CH modde. [1/1]
PD#SWPL-5813

Problem:
HBR audio cannot work on TL1

Solution:
add a debug interface force hdmi afifo in 8ch mode

Verify:
t962x2

Change-Id: Ied02f772634e2c326e18f6d6463c0ae000430e29
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:54 +09:00
Hang Cheng
64c3ddb087 hdmirx: optimize audio fifo config [1/1]
PD#SWPL-5579

Problem:
audio fifo underflow after switch audio pattern
on chroma 2233: only 2ch audio in, but audio fifo
is configed to read out 8ch afifo. chroma 2233
may change from multi-channel(witch audio overflows
and workaround to config read out all subpackets)
to 2-channel audio pattern, then issue happens.
so need to reset audio fifo config.

Solution:
except for workaround case, always config audio
fifo to only store valid subpackets.

Verify:
tl1

Change-Id: If32a55330fa7ebd9f6359a460eea4ad62872207b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2020-06-29 11:45:54 +09:00
Lei Yang
bdedd622cb hdmirx: change irq toggle mode [1/1]
PD#SWPL-5224

Problem:
missing DRM irq.

Solution:
1. modify irq toggle mode.
2. add double check for IP irq bit.

Verify:
T962x2

Change-Id: I6c77e5da92d5f21bc3710d9a6a744c10b1895e71
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:54 +09:00
yicheng shen
a00cc81039 hdmirx: fix hdmirx compatibility issue [1/1]
PD#SWPL-4261

Problem:
1.black screen(timing info error);
2.74.5m not stable
3.nvidia 4k420 10bit noisy dot

Solution:
1.update timing stable judgement logic;
2.update phy setting;
3.add 340-525m bandwidth phy setting

Verify:
TL1

Change-Id: I3e47361af70cfff67a84daa8f768f3e0da3bce48
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:54 +09:00
yicheng shen
c32253b180 hdmirx: fix it_content info error issue [1/1]
PD#SWPL-4981

Problem:
it_content info is not correct

Solution:
optimize the method for getting it content

Verify:
TL1

Change-Id: Ie9202b6496742af6d880ae22f3f8f6154db8629a
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:54 +09:00
Luke Go
4e4c9ea623 bug fix for compile error.
Change-Id: I769c63ae8663e8ae919ad288e6e5ef12a2bc2bfa
2020-06-29 11:45:54 +09:00
Lei Yang
26fc6ff81d hdmirx: Chromecast box force to OESS mode [1/1]
PD#SWPL-4325

Problem:
it took long time to show image when connect with Google Chromecast box

Solution:
1. add specific dev detection by cec osd name & vendor ID
2. chromecast box force OESS

Verify:
verify by marconi

Change-Id: I56d247da1d1b1e28b60bb439f5173cb6fbecfdf9
Signed-off-by: Lei Yang <lei.yang@amlogic.com>

hdmirx: Chromecast box force to OESS mode [1/1] (Partial)

PD#SWPL-4325

Problem:
it took long time to show image when connect with Google Chromecast box

Solution:
1. add specific dev detection by cec osd name & vendor ID
2. chromecast box force OESS

Verify:
verify by marconi

Change-Id: I56d247da1d1b1e28b60bb439f5173cb6fbecfdf9
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:54 +09:00
yicheng shen
48742517b9 hdmirx: add new EQ setting [1/1]
PD#SWPL-4261

Problem:
some devices have compatibility issues.

Solution:
1.update phy setting;
2.optimize some SW logic;
3.set eess_oess to auto mode;
4.fix black screen(DE fixed error,related with rx phy) issue.

Verify:
TL1 TXLX android P

Change-Id: I842a4782b3e513fa1e483feca98ce05b128d79fc
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:53 +09:00
yicheng shen
83c77f5a01 hdmirx: fix read edid panic issue [1/1]
PD#SWPL-4088

Problem:
There will be kernel panic when read edid via hdmirx
driver interface

Solution:
modify the rd_top interface

Verify:
TL1 android P

Change-Id: Ifb595cc66a2e792bc5153d726258deb7ba4e741c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:53 +09:00
Lei Yang
fd569d18ca hdmirx: add spin lock when R/D reg [1/1]
PD#SWPL-4073

Problem:
warning of CPU Tainted

Solution:
add spin lock when R/D reg

Verify:
verify by marconi

Change-Id: I8f47666f41c0ba3a010631f5d71416aad0e43beb
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:53 +09:00
yicheng shen
97bb7dfb09 hdmirx: close hdcp2.2 when shut down. [4/4]
PD#SWPL-3828

Problem:
hdcp22 access ddr when power shutdown

Solution:
need notify hdcp22 close when power shutdown

Verify:
Local

Change-Id: Iffead6b2dfdd97e6e7ad16e856cb09b42e3783d1
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:53 +09:00
yicheng shen
42bf5b8c9a hdmirx: reduce the cpu occupancy rate of hdcp_rx22 [1/2]
PD#SWPL-3360

Problem:
hdcp_rx22 ocupy much of CPU resources.

Solution:
Optimize the method of hdcp_rx22 polling-rx-status function.

Verify:
Local

Change-Id: If1c54b9cc219e32f349b4f4c555fb3fbd3539491
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:53 +09:00
Hang Cheng
b4e27af184 hdmirx: set rxsense sync with hpd [1/1]
PD#SWPL-3540

Problem:
rxsense is high ahead off hpd high, some device
may start hdcp, but hdcp auth always fail

Solution:
set rxsense sync with hpd

Verify:
TL1

Change-Id: I94b4c4f188587e15bac6aceb70803a3aa9082d3b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2020-06-29 11:45:53 +09:00
yicheng shen
ddacfb8a37 hdmirx: update phy setting [1/1]
PD#SWPL-3512

Problem:
HDMIRX no sinal in some mainboard.

Solution:
1.fix phy pll lock bit unstable issue(foce lock);
2.modify phy bandwidth definition;
3.optimize tmds_valid judgement;

Verify:
TL1

Change-Id: Idea20a46c465b20687654f071b259ebf8a7fed4a
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2020-06-29 11:45:53 +09:00
Lei Yang
b036c6c67d hdmirx: add DRM RCV detection. [1/1]
PD#SWPL-3117

Problem:
Cannot get the HDR packets/

Solution:
add HDR RCV detection, Low priority than EMP.

Verify:
txlx tl1

Change-Id: I364fc942840b6eef465df16b89fd0a9fd0ccb3ff
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2020-06-29 11:45:53 +09:00