Commit Graph

126 Commits

Author SHA1 Message Date
chuangcheng.peng 0830bbada9 demux: correct wp for t5w [1/1]
PD#SWPL-165949

Problem:
video/audio is async

Solution:
correct wp

Verify:
verified at T5W

Change-Id: I694f171be349584b670d10665ffc9b1b23f2acb9
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-04-19 05:58:10 -07:00
nengwen.chen cc143b27dc dvb_extern: fix suspend/resume and optimize code and log (V1.20) [1/1]
PD#SWPL-161454
PD#SWPL-158834
PD#SWPL-161521

Problem:
fix suspend/resume and optimize code and log.

Solution:
fix suspend/resume and optimize code and log.
AML_DVB_EXTERN_VERSION "V1.20".

Verify:
S7 and U215.

Change-Id: I593d0c6ac3cfc0110fa3ef44ec89a59d478218db
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2024-03-29 00:41:13 -07:00
chuangcheng.peng 94a9773f61 demux: fix ts clone update old data [1/1]
PD#SWPL-161009

Problem:
section get old data

Solution:
rp should be updated when it created input

Verify:
verified at project

Change-Id: I4ad13ed47a579427219e41cdd8a081a080c574cb
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-03-27 02:13:38 -07:00
chuangcheng.peng 038cfb2fa4 demux: ca device can open max 32 times [1/1]
PD#SWPL-160226

Problem:
open ca device fail

Solution:
it can open ca device max 32 times.

Verify:
verified at sc2

Change-Id: I30245b4cfadb71456ee65172982832f2379de0c5
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-03-18 03:45:57 -07:00
chuangcheng peng 1cdecc6b8e demux: add delay about 700us from Hisense [1/1]
PD#SWPL-151824

Problem:
dmc monitor wdma use free memory.

Solution:
add delay when close wdma

Verify:
verified at Hisense T5M project

Change-Id: I9d4355a5a020d5d83308a25606b7998716bf976b
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-03-14 01:09:08 -08:00
chuangcheng peng 4e0897975a demux: fix error sid when tsn_from is local [1/1]
PD#SWPL-159367

Problem:
create filter fail when tsn_from is local

Solution:
init demux sid according to tsn_from

Verify:
verified at sc2

Change-Id: Ifd9db3215d84ec25990d8d3471f26b863395c10c
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-03-01 06:53:12 -08:00
zhicheng.huang f6ebac02bf dvb: add build config for extern tuner [2/2]
PD#SWPL-152768

Problem:
build tuner ko in kernel source tree

Solution:
add build config for extern tuner

Verify:
s7

Change-Id: Icae68530573889f1b90944cb522c2fb8e04f801b
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2024-02-19 04:35:14 -07:00
chuangcheng peng 8d20bed128 demux: change section print to debug mode [1/1]
PD#SWPL-155976

Problem:
a lot section print affect system.

Solution:
change section print to debug mode

Verify:
verified at ohm.

Change-Id: Id31deea550d7e62dfcd02c7df124663d615362f9
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-31 04:53:50 -07:00
chuangcheng peng 55a5bb3cab demux: add ts_clone option in dts, default enable [1/1]
PD#SWPL-149028

Problem:
use ts_clone when system startup

Solution:
add ts_clone in dts to enable this feature

Verify:
verified at ohm

Change-Id: Icce84d0d49bed9650b0ab8da48663b77864af74b
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-28 22:05:30 -07:00
chuangcheng peng 37de098803 demux: add notify for t5w [1/1]
PD#TV-104514

Problem:
no notify for test streams

Solution:
add notify when es wp change and es header no change, just for t5w

Verify:
verified at t5w

Change-Id: I325c1b422bbe3831d9b44a915f962e4fd0babf9d
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-22 02:51:05 -07:00
chuangcheng peng d99aba6b35 demux: add delay when close wdma [1/1]
PD#SWPL-151824

Problem:
dmc monitor wdma use free memory.

Solution:
add delay when close wdma

Verify:
verified at T5M

Change-Id: I34a671bead69a77561377424ff959482cc0eae59
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-11 00:25:06 -07:00
min.yang 5810709add dvb_extern: add debug cmd (V1.19) [1/1]
PD#SWPL-147712

Problem:
remove tuner debug prop

Solution:
debug through dvb-extern

Verify:
verified by smith

Change-Id: Ia36ead6794c1e5f1877101ae340d747fe8911cb2
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-01-09 22:35:07 -07:00
chuangcheng peng 58088c7fbc demux: using cma memory for PVR mem in S1A chip [1/1]
PD#SWPL-143734

Problem:
play AV showly for memory

Solution:
optimize cma memory for pvr in S1A chip

Verify:
verified at S1A and ohm

Change-Id: Ifd9d72045d4ce0ac5dccb6866d1db95c060f4b87
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-09 04:15:09 -07:00
chuangcheng peng f63210a2a0 demux: keep 4k align in dmc memory [1/1]
PD#SWPL-152966

Problem:
video decoder memory not align 4KB in dmc memory

Solution:
add 4kB align in dmc memory

Verify:
project verified

Change-Id: Idd53da0ca844f44c21a597ac7f4928d6c63ba134
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2024-01-08 22:09:56 -07:00
chuangcheng peng 622694cbd7 demux: optimize hw buffer for every filter [1/1]
PD#SWPL-146704

Problem:
optimize hw buffer for every filter

Solution:
optimize hw buffer for every filter

Verify:
verified at ohm

Change-Id: I0cf536ca477d6e184e08aea1092128a22e260dfd
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-27 06:23:12 -07:00
chuangcheng peng 3cbf594b73 demux: optimize feeds for dynamic allocation [1/1]
PD#SWPL-145689

Problem:
dmx init alloc mem too large

Solution:
optimize feeds for dynamic allocation

Verify:
verified at ohm

Change-Id: I96124fc0c474d256234d7044b58c77d172026a1a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-25 22:19:45 -07:00
chuangcheng peng 0f22c770f0 demux: workaround same sid/pid dsc for live and pvr [1/1]
PD#SWPL-145986

Problem:
same sid/pid dsc, live dsc will affect pvr, refer OTT-45996

Solution:
same sid/pid dsc keep in order

Verify:
verified at project

Change-Id: If5fa12bd5d0f76f61d3bc49c89de2c4be37ae548
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-18 20:27:49 -07:00
chuangcheng peng f500c9ebac demux: split dvr normal & secure with same sid [1/1]
PD#SWPL-149279

Problem:
same sid record with normal & secure memory

Solution:
split dvr normal & secure with same sid

Verify:
verified at sc2

Change-Id: I95af50fab8c4454a143fea55f026b95ec42a2178
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-18 04:47:40 -07:00
chuangcheng peng 9ff815bc47 demux: fix update demux sid in ts_clone status [1/1]
PD#SWPL-127591

Problem:
demux sid don't match with input id

Solution:
update sid when set dmx source

Verify:
verified at vmx cas

Change-Id: Iee7bb28b808256465e8f5b3360cbf9c5ab7a6b07
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-18 02:27:50 -07:00
chuangcheng peng 733fa77a30 demux: optimize dmc for pip [1/1]
PD#SWPL-147507

Problem:
optimize dmc for pip

Solution:
dmc use 44M and 22M

Verify:
verified at pip & fcc feature

Change-Id: I84be445591acf29972eda68d8ac7a37014e0d41a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-12-15 02:45:13 -07:00
min.yang 842b8dfbc9 dvb-extern: add tuner module debug cmd (V1.18) [1/1]
PD#SWPL-147712

Problem:
remove tuner debug prop

Solution:
debug through dvb-extern

Verify:
verified by smith

Change-Id: I29a5430ee81a2996fb485191ad68516a12f0991c
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-11-29 22:17:08 -07:00
min.yang 60e25e8802 dvb-extern: debug cmd does not take effect (V1.17) [1/1]
PD#SWPL-146858

Problem:
tuner and demod debug cmd is abnormal

Solution:
fix the null pointer of fe

Verify:
verified by smith

Change-Id: Ia1060467dfa45e57dd03217d2d5b31e879e9e717
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-11-21 22:39:34 -07:00
hongyu.chen fe7ac88bc3 demux: revert support open dvr device write data directly. [1/1]
PD#SWPL-145455

Problem:
codec memory alloc fail, memory not enough.

Solution:
Driver loading completed and use dvr device alloc memory.

Verify:
AH212

Change-Id: I35d5baf07f1de830c406b9bb817e651b274a2661
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-11-14 00:13:22 -07:00
hongyu.chen ff28624826 demux: support open dvr device write data directly. [1/1]
PD#SWPL-143949

Problem:
support open dvr device write data directly.

Solution:
support open dvr device write data directly.

Verify:
AH212

Change-Id: I94d9540fd9152077f81d26f9dfe6df9dcf7b0d4f
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-11-09 03:13:14 -07:00
hongyu.chen 8e82c79f2e smartcard: G12A upgrade from kernel 4.9 to kernel 5.15. [1/1]
PD#SWPL-133398

Problem:
G12A upgrade from kernel 4.9 to kernel 5.15.

Solution:
G12A upgrade from kernel 4.9 to kernel 5.15.

Verify:
U212

Change-Id: Ie7e8e563d28048057c79cc8ac6d3f74af7854f13
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-11-01 20:36:53 -07:00
chuangcheng peng d1d6a6470e demux: ts_clone force tsn_source [1/1]
PD#SWPL-127591

Problem:
tsn_source affect ts_clone

Solution:
force tsn_source, not set at high level

Verify:
not verified

Change-Id: I9a0fb2aa6eed72c88226d5a4fa607fe9c7d3714e
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-11-01 03:59:45 -07:00
hongyu.chen c9bc1ef5ec demux: clear coverity check error. [1/1]
PD#SWPL-134419

Problem:
coverity check error.

Solution:
check if the divisor is 0.

Verify:
AH212

Change-Id: I016d592cd32324abcbd83e8ee17bb77e9562f9d5
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-10-11 21:48:39 -07:00
nengwen.chen 564e22fd65 dvb_extern: fix coverity check and remove debug logs (V1.16) [1/1]
PD#SWPL-134419
PD#SWPL-141381

Problem:
fix coverity check.
remove debug logs.

Solution:
fix coverity check.
remove debug logs.
AML_DVB_EXTERN_VERSION "V1.16".

Verify:
Oppen.

Change-Id: I3fa79ba4c9283a590455b8242dee2d8e1158bee6
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-10-11 21:18:44 -07:00
chuangcheng peng a8d8c9f118 demux: fix audio splice es header issue [1/1]
PD#SWPL-94557

Problem:
audio splice es header not zero

Solution:
wrong es header when audio splice

Verify:
verified at SC2

Change-Id: I99db063907012ee1943fbc92a638fc79a503fc56
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-28 05:59:00 -07:00
chuangcheng peng 3f88224fc6 demux: reduce dmx memory for S1A [1/1]
PD#SWPL-139872

Problem:
timeshift+pvr fail

Solution:
don't fix dmx device number

Verify:
not verified

Change-Id: I0776a0a7ded937b5930157ee482f316f490326e1
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-27 00:18:48 -07:00
nengwen.chen 35094f49e8 dvb_extern: fix tuner shutdown flow (V1.15) [1/1]
PD#SWPL-140636

Problem:
fix tuner shutdown flow.

Solution:
fix tuner shutdown flow.
AML_DVB_EXTERN_VERSION "V1.15".

Verify:
T3/AR331.

Change-Id: I40d89829f942c634ae650727266fd744ae854fff
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-09-20 20:03:40 -07:00
chuangcheng peng 3f972c5748 smartcard: fix power on hot reset fail [1/1]
PD#SWPL-109931

Problem:
power on hot reset fail

Solution:
add enable when hot reset

Verify:
verified at s905c2

Change-Id: I0dfe91e771fd638c40a671345df4c49891502fe5
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-20 01:28:43 -07:00
hongyu.chen e4519b30bf demux: fix multiple pcr filter problem. [1/1]
PD#SWPL-139244

Problem:
get pcr table index default return 0.

Solution:
find the index of unused PCR tables.

Verify:
AH212/S905X4

Change-Id: Iac99886d65e33324bda6da396dc60525b6c4af57
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-09-11 00:24:45 -07:00
chuangcheng peng 23d71f15fe demux: close tsin clk when shutdown [1/1]
PD#SWPL-133610

Problem:
close tsin clk when shutdown

Solution:
close tsin clk when shutdown

Verify:
not verified

Change-Id: Iba87ea861d9ab5cd79ee8e59323683649a5de7ef
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-07 00:09:19 -07:00
chuangcheng peng 496908bb10 demux: fix diff dsc source and dmx source [1/1]
PD#SWPL-138660

Problem:
dsc source error cause dsc fail

Solution:
update dsc source and dmx source

Verify:
verified at sc2

Change-Id: If0dacf86656f6db35a2c60167e6170ebf20872f3
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-04 20:13:55 -07:00
hongyu.chen 9b448451ee demux: fix dump input and dvr data fail in secure mode. [1/1]
PD#SWPL-137791

Problem:
dump input and dvr data fail in secure mode.

Solution:
use ioremap_wc map secure memory to virtual address space.

Verify:
S905X4/AH212

Change-Id: I349753e2ce6432cf70a09ee6df70e8867a71fecf
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-09-04 03:53:59 -07:00
chuangcheng peng 90ae1c48f2 demux: support ts_clone feature [1/1]
PD#SWPL-127591

Problem:
support ts_clone feature

Solution:
support ts_clone feature

Verify:
not verified

Change-Id: I498cddc23d0054e09c3c10482774f8d9a4e21665
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-09-01 06:08:51 -07:00
Doosan Baek 3b400e5b37 KT: move old keytable driver to new keytable driver [1/1]
PD#SWPL-135332

Problem:
Ensure old keyable driver compatibility.
Maintain the old keytable driver for one year.

Solution:
Move old keytable driver to new keytable driver

Verify:
T3 metacas

Change-Id: I40fb4935f6f0f08ca9be4044cfe760f03b6c85c2
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-08-30 20:13:36 -07:00
hongyu.chen 103e85bb3b demux: Increase the delay of writing data from 1ms to 1s. [1/1]
PD#SWPL-133232

Problem:
The data was not written within 1ms.

Solution:
Increase delay from 1ms to 1s.

Verify:
S905X4/AH212

Change-Id: I2facfbccf1e523f4748a956b3fe15a59037c0fad
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-29 03:59:23 -07:00
chuangcheng peng d5790f163b demux: fix audio es offset issue [1/1]
PD#SWPL-136762

Problem:
av not sync when switching channel

Solution:
aucpu can't get all dirty data.

Verify:
not verified

Change-Id: Ib9e464d0634c537e29e3a9868f47d52147500de5
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-24 03:54:07 -07:00
chuangcheng peng 5e5a74ab87 demux: fix abnormal audio issue [1/1]
PD#SWPL-136222

Problem:
audio is abnormal when playing scramble audio

Solution:
send the wrong struct data to audio

Verify:
not verified

Change-Id: I8aa25480d481fbebe2bf6b36f79dfd062118bb5a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-17 02:29:12 -07:00
hongyu.chen 25883f81bd smartcard: s1a bringup. [1/1]
PD#SWPL-133167

Problem:
s1a bringup.

Solution:
s1a bringup.

Verify:
BG201/S805C1

Change-Id: If0a58359a43b2e2b9900869e53866446e6ed1c1e
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-15 10:37:51 +08:00
hongyu.chen 319b888fb9 demux: s1a bringup. [1/1]
PD#SWPL-133164

Problem:
s1a bringup.

Solution:
s1a bringup.

Verify:
BG201/S805C1

Change-Id: I4f214c3269fc04c2961aef2b7c85f4185ca3bcdb
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-08-15 10:36:50 +08:00
chuangcheng peng 3ff0a18954 demux: remove null packet when dump whole ts [1/1]
PD#SWPL-133333

Problem:
PCMCIA interface cause caton

Solution:
remove null packet when record whole ts

Verify:
verified at sc2

Change-Id: Iaac14312a11f61149812c8a4e9b5d87100560c95
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-08 06:20:28 -07:00
chuangcheng peng bf827cfa5e demux: dmc optimize memory allocation [1/1]
PD#SWPL-134638

Problem:
one dmc range using for dmx security

Solution:
two dmc ranges using for dmx security

Verify:
not verified

Change-Id: I04f5fe7735b91072d305a89d644ae74a47809935
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-07 22:59:06 -07:00
chuangcheng peng ed8cb5088a demux: close tsin clk when standby [1/1]
PD#SWPL-133610

Problem:
close tsin clk when standby

Solution:
close tsin clk when standby

Verify:
not verified

Change-Id: I5f343ac181d39bf5f1a7520cb949abf774df7937
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-07 02:18:35 -07:00
chuangcheng peng f7d5901d4a demux: add delay wait header write done [2/2]
PD#SWPL-130490

Problem:
es splice av sync lost

Solution:
add delay wait header write done

Verify:
verified at sc2

Change-Id: Ie32c36db3632596f1f77c2d520bf8796b85be118
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-08-01 20:58:39 -07:00
chuangcheng peng 49a6cc1230 demux: add dump filter ringbuffer [1/1]
PD#SWPL-63647

Problem:
add dump filter ringbuffer

Solution:
add dump filter ringbuffer

Verify:
verified at ohm

Change-Id: Iffa6da5dc155dc59832fc84d66a86fad2eb47d3a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-26 02:09:49 -07:00
chuangcheng peng 8884f74f65 demux: add es header splice get and debug es data [1/1]
PD#SWPL-130490

Problem:
es splice offset cause av not sync

Solution:
add es header splice get and add debug es data

Verify:
verified at sc2

Change-Id: Ibac121a0ebdf041203bcbbcf7d3a9d23a4b52f54
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-24 05:08:21 -07:00
chuangcheng peng 237d0d8bea demux: add dvr mem not enough print [1/1]
PD#SWPL-109051

Problem:
add print when dvr mem not enough

Solution:
add print when dvr mem not enough

Verify:
verified at T5W

Change-Id: Ife86db513fc825783019df3e00ee0edd08396508
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-18 07:15:08 -07:00