Commit Graph

98 Commits

Author SHA1 Message Date
chuangcheng peng b356628801 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-02 10:16:09 +08:00
hongyu.chen 18c5072aac 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-12 16:34:31 +08:00
nengwen.chen 284acd422d 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-12 16:34:31 +08:00
chuangcheng peng 7bba44eae0 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-10-07 17:35:04 +08:00
nengwen.chen 53183fe69a 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-21 20:30:37 +08:00
chuangcheng peng 616020fbc9 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 20:37:27 +08:00
hongyu.chen 046b97087a 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-14 13:33:15 +08:00
chuangcheng peng 23241dec4d 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-13 22:31:06 +08:00
chuangcheng peng b81c6ea26f 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-13 16:24:11 +08:00
Doosan Baek e140541e72 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-09-13 16:16:10 +08:00
hongyu.chen d87d5280dc 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-09-13 16:04:14 +08:00
chuangcheng peng c46e349d1f 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-09-13 15:05:22 +08: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
chuangcheng peng f11613b681 demux: add write timeout [1/1]
PD#SWPL-124807

Problem:
sc2 csa3 disabled, am_ca_test block

Solution:
write timeout

Verify:
verified at SC2

Change-Id: Id8ea71684fd82abac5eb600f4e3222ffd8a25471
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-14 01:23:23 -07:00
chuangcheng peng ba434034f4 demux: fix dump filter crash [1/1]
PD#SWPL-123549

Problem:
dump filter crash

Solution:
add NULL pointer adjust

Verify:
not verified

Change-Id: I3e25919530bca8da4a951fd525f352e8422a51eb
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-07-12 03:31:38 -07:00
chuangcheng peng 5739b3157e demux: dump ringbuffer & pes pts [1/1]
PD#SWPL-63647

Problem:
dump filter ringbuffer & pes pts

Solution:
dump filter ringbuffer & pes pts

Verify:
verified at ohm

Change-Id: Iae8ca44e25b7ed886a52cdb1efd3afc65f87e04f
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-12 01:04:21 -07:00
chuangcheng peng 786246236a aucpu: add media_ac4 type [1/1]
PD#SWPL-128737

Problem:
add media_ac4 type

Solution:
add media_ac4 type

Verify:
verified at S905C3

Change-Id: Ieb06bde2bedc7535aef66b6a3b951c12459eb9f5
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-07-09 15:08:17 -07:00
Jianxiong Pan e61f35dc14 zapper: memory optimization about usb3, defconfig. [2/2]
PD#SWPL-126879

Problem:
memory optimization.

Solution:
disable usb3
delete useless config

Verify:
t215.

Change-Id: Ie23b7cd2e1ca96100a2534928293d8211917622a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-07-05 21:03:06 -07:00
hongyu.chen f8769ebf3d smartcard: fix misreporting insert and remove event. [1/1]
PD#SWPL-126157

Problem:
The gpio has jitter when the system is powered on.

Solution:
GPIO without jitter, read the gpio status again after a delay.

Verify:
S905C2/AH232

Change-Id: I30a8825b225ff9af5938aaf96537b068b5b71dc7
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-07-03 21:15:28 -07:00
chuangcheng peng d01c5af5e2 demux: add close ts out interface [1/1]
PD#SWPL-128606

Problem:
add close ts out interface

Solution:
add close ts out interface

Verify:
not verified

Change-Id: Ib54670339a347021dad39ca5b3fbc86ab52a231a
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-06-29 22:58:27 -07:00
chuangcheng peng 8e57650868 demux: subtitle use pes_buf_size [1/1]
PD#SWPL-120888

Problem:
set pes_buf_size not work

Solution:
use pes_buf_size

Verify:
not verified

Change-Id: Ia3dec3eeb8ae6575dc58cfab9d14f5a174ab4c32
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-06-01 21:38:59 -07:00
chuangcheng peng 92e321bce0 demux: support tee dmx binding dma_buf and pid [1/1]
PD#SWPL-121154

Problem:
tee dmx need binding dma_buf and pid

Solution:
binding dma_buf and pid

Verify:
not verified

Change-Id: I3239545bdcc14b22909e97ce2dd7dd79589ff422
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-30 03:33:43 -07:00
chuangcheng peng b601aced3c demux: correct dump section data issue [1/1]
PD#SWPL-124550

Problem:
no dump section data

Solution:
add dump section

Verify:
verified at SC2

Change-Id: Ie722818a7ab7f7ce6256b4160afdc0baaf0ec6be
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-29 03:47:20 -07:00
min.yang d16f3ece36 dvb_extern: fix s4d tuner attach fail (V1.14) [1/1]
PD#SWPL-125117

Problem:
Can not find frontend0 node.

Solution:
fix tuner attach.

Verify:
verified by aq2432.

Change-Id: I9882154faccb324f6a5bdea8f2a0caa749da830c
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-05-29 00:55:34 -07:00
chuangcheng peng cc0a43a45e demux: support tsync for get pcr [1/2]
PD#SWPL-124199

Problem:
can't get pcr

Solution:
register callback for pcr

Verify:
T3-P

Change-Id: Ia451ffc271a169393e02195291460237ba47db26
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-21 18:58:40 -07:00
min.yang b2f8ee7c6a dvb_extern: optimize tuner demod attach (V1.13) [1/1]
PD#SWPL-109718

Problem:
can not search channel at platform which only
use an internal demod.

Solution:
optimize tuner and demod attach.

Verify:
verified by T + smith

Change-Id: I7386d6070675f09a29f6481b68d62dab7f0fec65
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-05-19 00:41:26 -07:00
hongyu.chen 397d2d6f23 aucpu: t3x aucpu bringup [1/1]
PD#SWPL-121622

Problem:
t3x bring up.

Solution:
t3x bring up.

Verify:
BC302/T968D4

Change-Id: I97c871f7b09d32061d41949ae286de5957802ae9
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-05-18 21:08:42 +08:00
hongyu.chen c96a9859f6 smartcard: t3x bring up. [1/1]
PD#SWPL-117225

Problem:
t3x bring up.

Solution:
t3x bring up.

Verify:
BC309/T968D4

Change-Id: I2c4c789bdb758bb23f8af66bdeb3bdf1cb5da8b4
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-05-18 21:08:41 +08:00
hongyu.chen 0a6def71e3 demux: set ts out range 0-3. [1/1]
PD#SWPL-117226

Problem:
set ts out to tsind fail.

Solution:
set ts out range 0-3.

Verify:
BC302/T968D4

Change-Id: I86e9bab2ed276d0bbcd03440a4509a592fb7e7a8
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-05-18 21:08:41 +08:00
hongyu.chen e0c8fe6b93 demux: t3x bring up. [1/1]
PD#SWPL-117222

Problem:
Failed to obtain data from demod

Solution:
fix tsind clk.

Verify:
BC302/T968D4.

Change-Id: Id26bd9540351049edadf4d7dfe4204cfc0ad137c
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-05-18 21:08:40 +08:00
chuangcheng peng acba96b0b9 demux: add es splice feature [1/1]
PD#SWPL-94557

Problem:
for special ts, whole es is slow

Solution:
splice es to high level

Verify:
verified at SC2

Change-Id: Id6ac3478e9a03f9feea589fca5b8c3b176b2a1bf
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-17 05:01:27 -07:00
chuangcheng peng 924e6edc34 demux: buf_level using decoder rp [1/1]
PD#SWPL-123513

Problem:
customer need accurate buf_level

Solution:
using decoder rp to calculate

Verify:
verified at project

Change-Id: I8ef48769c413abd7351d31c6b9412ea9a87a7c7f
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-17 04:50:20 -07:00
chuangcheng peng 1a2ef10ff3 demux: cut code for S1A chip [1/1]
PD#SWPL-120888

Problem:
cut code for S1A chip

Solution:
cut code for S1A chip

Verify:
not verified

Change-Id: Ic631d5ccf087b5ec2a115fea9599a743612341d0
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-15 04:52:13 -07:00
chuangcheng peng a4eaefcb46 demux: free es_table when aucpu instance fail [1/1]
PD#SWPL-122575

Problem:
system crash when writing data to dmx

Solution:
free es_table unit when aucpu instance fail

Verify:
not verified

Change-Id: I108af5b16ac1d544a4f3ae554a5eaf14902ccf12
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-05-15 00:25:00 -07:00
Jianxin Pan 11155146ab zapper: remove unused code of media module. [1/1]
PD#SWPL-116862

Problem:
media module memory optimization.

Solution:
disable the unused code for zapper.
reduce vmalloc used size from 17324k to 12556k.

Verify:
t215.

Test:
play video normally.

Change-Id: Iaa4c95c6641d76f80a11493c5c84f624cdac6424
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2023-04-27 21:24:07 -07:00
hongyu.chen 0509fe5ecd smartcard: s5 5.15 bring up. [1/1]
PD#SWPL-108772

Problem:
s5 5.15 bring up.

Solution:
s5 5.15 bring up.

Verify:
AX201/S928X

Change-Id: If2f1a08cc22aa11db4cf8928185857b8e05be1fa
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-04-27 06:43:25 -07:00
chuangcheng peng 19a65da725 demux: fix ts_table close pid entry bug [1/1]
PD#SWPL-110448

Problem:
can't get PAT data

Solution:
close pid entry should set mode is turn off

Verify:
verified at SC2 board

Change-Id: Ie2e078ffa2104a84cc4cddc4bd586ecab0463252
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-04-24 21:17:03 -07:00
chuangcheng peng 25f511eea8 demux: improve section not completed process [1/1]
PD#SWPL-120523

Problem:
section handle slowly

Solution:
don't use cache, rewind read rp

Verify:
verified at sdmc project

Change-Id: I18b49bc7fd8d9be2b1193f616256b4075081dd58
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-04-23 21:28:00 -07:00
min.yang e8e4b59479 dvb_extern: remove symbol func (V1.12) [1/1]
PD#SWPL-118484

Problem:
symbol func not be allow used in U 5.15.

Solution:
remove reference symbol function.

Verify:
verified by T + ohm.

Change-Id: If8c0561f4e5e9b7886f494f50e7c6464aa332b0e
Signed-off-by: min.yang <min.yang@amlogic.com>
2023-04-18 06:12:16 -07:00
hongyu.chen 7d8f8884e9 demux: fix dump input data bug. [1/1]
PD#SWPL-116641

Problem:
dump input data failed.

Solution:
dump data according to dmx_id.

Verify:
no verify.

Change-Id: I1ee2e4c4c52b26e8fd888426b673feb51410aed0
Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
2023-04-13 02:17:23 -07:00
chuangcheng peng 88220ca65b demux: fix send not accurate pts [1/1]
PD#SWPL-108621

Problem:
send not accurate pts when pes filter

Solution:
1. don't return pts when pes filter
2. get the second to last es header
3. scramble es, not send pts

Verify:
not verified

Change-Id: I4fd91f5070b562c8ea825d4eb75a4de0f1eff033
Signed-off-by: chuangcheng peng <chuangcheng.peng@amlogic.com>
2023-04-12 22:24:47 -07:00