Commit Graph

5057 Commits

Author SHA1 Message Date
chenyang.liu 10661f0a43 lcd: update bist index on t6d [2/2]
PD#SWPL-186989

Problem:
want to support x icon,but it doesn't work

Solution:
1.reserve bist index 9 to be consistent with the other chips
2.set description to Not support and the function is same as None

Verify:
T6D-BR301

Change-Id: I2992eb0a543b2840b8c1b69fbfa97d873d2ce1f9
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2024-09-26 18:47:28 -07:00
zijie.hong 05fac0ce72 vdin: vdin measure clk ctl [1/1]
PD#SWPL-186967

Problem:
disable vdin_meas when vdin_meas is already disabled

Solution:
modify control flow

Verify:
t5w

Change-Id: I2b1a8c09be4a45f5a627c57e4000e309180444bf
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2024-09-26 18:47:21 -07:00
yaoyu.xu 6f015aadfa hdmirx: modify frl training flow [1/1]
PD#SWPL-186305

Problem:
polling frl rate time too long.

Solution:
use irq to update frl rate.

Verify:
t3x

Change-Id: Ia7be77d0bb3d0edcb7528c17ba7a0ed822d2233f
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-09-26 18:47:16 -07:00
haitao.liu aea2d2602e vdin: return 0hz when the rx input is below 50hz [1/1]
PD#SWPL-186856

Problem:
not to get framerate by hw_vic when the rx input is
below 50hz

Solution:
add hw_vic condition for framerate below 50hz

Verify:
t5m

Change-Id: I5c1e36a903892490c85aace17ef038698ebad33b
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-09-26 18:47:11 -07:00
yaoyu.xu b3ec80ede0 hdmirx: fix rx can not unmute [1/1]
PD#SWPL-186080

Problem:
rx can not unmute.

Solution:
use t3x vpp mute and unmute.

Verify:
t3x

Change-Id: Iaf591f8b794fb369ca890a387eea9a3e7f5cc4fd
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-09-26 18:46:54 -07:00
yajing.li b586a7a565 gpu: cleanup cma heap-gfx print [1/1]
PD#SWPL-184635

Problem:
cma heap-gfx print influence Stress Test

Solution:
cleanup cma heap-gfx print

Verify:
ohm

Change-Id: Ib2ddd4acad3cdf5184ec89409821a4d752cbe12f
Signed-off-by: yajing.li <yajing.li@amlogic.com>
2024-09-26 01:58:21 -07:00
chen.xu 93c39037f7 amlvideo2: When upper process is killed, resources need recovery [1/1]
PD#SWPL-186423

Problem:
When upper process is killed, resources need recovery

Solution:
support

Verify:
T982

Change-Id: I705957789dad45782e9c9403f79dd3d0a23c2579
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-09-26 01:58:09 -07:00
yicheng shen 326e65927c hdmirx: optimize get phy trim value flow [1/1]
PD#SWPL-185182

Problem:
global-out-of-bounds in aml_phy_offset_cal_t5

Solution:
optimize get phy trim value flow

Verify:
T5D

Change-Id: I2a8057004006bed07538eadce5a0145c89cf356d
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2024-09-26 01:57:37 -07:00
yicheng shen 795f856346 hdmirx: optimize phy bandwidth calculation method [1/1]
PD#SWPL-185182

Problem:
hdmirx phy not locked due to the wrong bandwidth selection
of pll and phy

Solution:
optimize phy bandwidth calculation method

Verify:
T6D/T3X

Change-Id: I1c10c7c8e7ebeb4e20459928d4596dc877596a37
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2024-09-26 01:57:30 -07:00
chuangcheng.peng 7973ddffe6 demux: add log for memory alloc [1/1]
PD#SWPL-185109

Problem:
add log for memory alloc

Solution:
add log for memory alloc

Verify:
not verified

Change-Id: I46458f60956d356c047b9a4ddb32ec15ca1f2ee6
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-09-26 01:57:11 -07:00
zhicheng.huang 493298ea7d dtv_demod: bring up dvbs 3rd blind scan algorithm(V3.6.4) [1/1]
PD#SWPL-136939

Problem:
optimize dvbs blind scan time

Solution:
1.bring up dvbs 3rd version blind scan algorithm
2.AMLDTVDEMOD_VER V3.6.4

Verify:
t5m

Change-Id: Ib6c64990821c6b4a6862d1b11dbc81fc3333c4e3
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2024-09-26 01:56:48 -07:00
mingyang.he 6c53393f36 drm: fix video zorder issues [1/1]
PD#SWPL-181783

Problem:
when the zpos of video0 is set to 1 and the zpos of video1 is set to 0,
the zpos of 2 videos are the same

Solution:
video index is no longer added to the video zorder calculation

Verify:
s7d

Test:
DRM-OSD-19

Change-Id: I22d9675340450e5245371423450912085c7e6c69
Signed-off-by: mingyang.he <mingyang.he@amlogic.com>
2024-09-25 22:31:38 -07:00
Evoke Zhang 4d8dd65170 lcd: fix 16lane vbyone ch_swap default setting [2/2]
PD#SWPL-182405

Problem:
t3x 16lane vbyone display abnormal

Solution:
1.fix 16lane vbyone ch_swap default setting
2.add dphy_preset for mipi-dsi
3.fix minilvds phase_set api mistake

Verify:
bc302

Change-Id: I4a2d6405722a9e058eebb0a5f5bd3578bfff4eff
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-09-25 18:48:45 -07:00
min.yang 0bb2dae3ee dtv_demod: fix suspend/init flow (V3.6.003) [1/1]
PD#SWPL-183826
PD#SWPL-186127

Problem:
DC off/on, display weak signal.

Solution:
set suspend to false when set sys.

Verify:
verified by T6D.

Change-Id: Ib53f3f5737abdfc9de8db3108396c96cc4c9b0e7
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-09-25 18:48:37 -07:00
haitao.liu 8040446968 vdin: 4k source-led input display abnormal [1/1]
PD#SWPL-185012

Problem:
4k source-led input,vdin output 444 10bit causing
display abnormal.

Solution:
output 444 8bit as before

Verify:
t5m

Change-Id: Ib53e1dec776319add5b779f5aa3a035926439263
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-09-25 18:48:32 -07:00
Liming Xue 15e403ea05 thermal: optimize thermal logs [1/1]
PD#SWPL-185135

Problem:
the thermal log is too long during startup

Solution:
optimize thermal logs

Verify:
t3x

Change-Id: Ibcd9a6efcacb0242bedc362e669dcb5c7471e4bd
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
2024-09-25 18:47:45 -07:00
jinbiao f1e323deba eMMC: Enable MMC_CAP2_FULL_PWR_CYCLE. [1/1]
PD#SWPL-186270

Problem:
Compared to suspend, power off can reduce power consumption.

Solution:
Enable MMC_CAP2_FULL_PWR_CYCLE.

Verify:
S7_BH201

Change-Id: I6725a6137f7f693fef95d8b57ec7f922d5311f39
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2024-09-25 04:51:38 -07:00
jinbing.zhu 36c3140959 amvecm: td6 modify lc mtx reg. [1/1]
PD#SWPL-185551

Problem:
td6 modify lc mtx reg

Solution:
td6 modify lc mtx reg

Verify:
t6d

Change-Id: I00905bd0784d2a15d0cc416c34bbac5a1590ef10
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-09-25 03:40:19 -07:00
jie.dai 0542982734 lcd: handle panel parameter to kernel within reserved memory [2/2]
PD#SWPL-184978

Problem:
need transmit parameter to kernel through reserved memory

Solution:
transmit parameter to kernel through reserved memory

Verify:
T5M/T5W/T6D

Change-Id: Icaf75763ac95a0e90b5ebc5e67739d6f86a35dc9
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2024-09-25 01:58:34 -07:00
lukang.jia 054c9da669 frc: frc does not set the initial value of pre_vsync. [1/1]
PD#SWPL-185004

Problem:
pre_vsync is enabled by default

Solution:
frc does not set the initial value of pre_vsync

Verify:
T5M

Change-Id: I3d82c912a3a6ce4ff7b475545d86010edfff46a0
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2024-09-25 01:58:27 -07:00
lizhi.hu 8729c142f5 lcd: fix s6 reg dump add clk msr for debug [1/1]
PD#SWPL-186217

Problem:
s6 has no clk reg and analog reg dump debug

Solution:
add

Verify:
s6_bq201

Change-Id: Id224a2ea8c73bb846ab0787db79bfd3880bb97e9
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-09-24 15:04:12 -07:00
Haotian Guo bbf4c9a66f adc: update s2 adc config [1/1]
PD#SWPL-180240

Problem:
s2 adc cntl is error

Solution:
update s2 adc config

Verify:
t6d

Change-Id: Ie7c2d473c6589ac6dceb1da1853912e40944dee1
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-09-24 03:08:25 -07:00
chuangcheng.peng c6d5849d9d smartcard: reduce change log to debug info [1/1]
PD#SWPL-185138

Problem:
too many log print

Solution:
change log to debug info

Verify:
not verified

Change-Id: Icc9274772a3edd0650861508de3cb87a9f683b14
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-09-24 02:59:29 -07:00
zhou.han 04da30af11 drm: Optimize encoder_atomic_check flow [1/1]
PD#SWPL-183146

Problem:
On RDK-S7D, westeros did not set the attr property when
switching from 1080P to 2160P on the UI. 2160p60hz+444,10bit
is an invalid combination, causing atomic_check fail and
the TV display black screen.

Solution:
The flow matching mode and attr is moved to the check flow.
meson_hdmitx_encoder_atomic_mode_set api keep in the commit flow,
because vinfo is updated here.If it is moved to the DRM check
flow, it may cause timing issues and lose vsync.

Verify:
S7D/OHM

Test:
DRM-TX-130

Change-Id: I5a1d29564fe0163f91529459ff844ca7f69ca189
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-09-24 02:58:51 -07:00
shipeng sun c4359e6ef3 codec_mm : CF0 add driver pm interface for hibernation [1/1]
PD#SWPL-184881

Problem:
add driver pm interface for hibernation to register
secure vdec memory range

Solution:
add driver pm interface for hibernation to register
secure vdec memory range

Verify:
S905Y5

Change-Id: I95674dc599d0627ab2ad7481c3d549449ea2280c
Signed-off-by: shipeng sun <shipeng.sun@amlogic.com>
2024-09-24 01:45:54 -07:00
Jian Cao b67421cc11 vpp: mute again when color space changes [1/1]
PD#SWPL-185133

Problem:
mute color is not correct when frame color changes

Solution:
if the color space changes
reset video_mute_status to trigger the mute again

Verify:
t5m

Change-Id: I187bcf0f3312f26582c1ac415c31154f2ec3196e
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-09-24 01:45:44 -07:00
Pengcheng Chen 760b17a973 vpp: fix prelink mode display abnormal when crop [1/1]
PD#SWPL-182492

Problem:
prelink mode display abnormal when crop

Solution:
set VD1_HDR_IN_SIZE in safa case

Verify:
t6d

Change-Id: I638a5bb44fd1370e3236cfe00210346b1ced5cb9
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-09-24 01:43:48 -07:00
chenyang.liu 659b134a11 lcd: update mute method for t6d [1/1]
PD#SWPL-185995

Problem:
t6d bist support vsync latch

Solution:
use black bist when putting screen black

Verify:
br301

Change-Id: I9d543a28b976652c4ebee5e8031216470653e7a3
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2024-09-24 01:43:38 -07:00
chenyang.liu b6bfecef44 lcd: support prbs test for t6d [2/2]
PD#SWPL-184972

Problem:
t6d need prbs support

Solution:
1.add prbs test process
2.fix fifo_clk_msr_id

Verify:
br301

Change-Id: Iac4a6012600c2287c444c794a59b596c21ecb5af
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2024-09-24 01:43:15 -07:00
chuangcheng.peng 5f0a923e8d demux: don't use scb flag [1/1]
PD#SWPL-182856

Problem:
pvr play fail

Solution:
scb is 2 or 3, but ts is clear
don't adjust scb flag

Verify:
verified at s7

Change-Id: I23641730a89e259f48a942fc8e88f0c102e6e4b2
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
2024-09-23 21:46:26 -07:00
yicheng shen 39f6166469 hdmirx: optimize drm pkt handle logic [1/1]
PD#SWPL-179334
PD#SWPL-184981

Problem:
vdin not informed when drm pkt received

Solution:
Inform vdin when rx receive drm pkt

Verify:
T5D

Change-Id: I1399c629effc0e6db8308dc4a4af3146314d5970
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
2024-09-23 14:04:14 +08:00
Yu Tu 9fbc589e36 pcie: modified s6 pcie phy parameter [1/1]
PD#SWPL-179205

Problem:
Improve pcie signal quality to improve compatibility

Solution:
modified s6 pcie phy parameter

Verify:
s6_bl208

Change-Id: Ib48a07968a8202bf5ac9867c7be46ebccbc1a215
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
2024-09-22 22:44:47 -07:00
min.yang d46f273af1 dtv_demod: fix j83b unlock for T6D (V3.6.002) [1/1]
PD#SWPL-185448

Problem:
j83b can not lock

Solution:
config j83b agc_sel same with dvbc

Verify:
verified by T6D

Change-Id: I20cf4e37c3d53814bb09728c1cae8e665f1ad957
Signed-off-by: min.yang <min.yang@amlogic.com>
2024-09-22 22:44:37 -07:00
qinghui.jiang b1951b5dde amvecm: modify hdr10plus bit depth for t6d [1/1]
PD#SWPL-185356

Problem:
wrong hdr10plus bit depth for t6d

Solution:
modify hdr10plus bit depth for t6d

Verify:
t6d

Change-Id: I3ff3e69e844e605867b87236e45f7c1819fb5c12
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2024-09-22 22:44:30 -07:00
zhikui.cui e7c8a6f784 spinand: fixup reserve dtb size is different with bl33 [1/1]
PD#SWPL-177461

Problem:
bl33 crash after reboot in kernel, this is due to the dtb lose.
the reason for the loss of dtb is dtb size in kernel is different with bl33
when flash spi nand page size is 4096.

Solution:
get rsv size from dtb, which had written by bl33

Verify:
C308L-AW419

Change-Id: I187d8db178d28e39c8f5085b1720033f211370f3
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-09-22 22:43:47 -07:00
zhikui.cui aae5d99590 spinand: add F35SQB004G support [2/2]
PD#SWPL-177461

Problem:
need add F35SQB004G support

Solution:
1. add F35SQB004G id

Verify:
C308L-AW419

Change-Id: Ic78940f4c29248a2ab646fc9704d5bcacdeeff62
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2024-09-22 22:43:40 -07:00
minghui.yan 3a116858d6 frc: bypass memc in small size [1/1]
PD#SWPL-175484

Problem:
When video size change from 720 to 1080,
memc function is not good.

Solution:
bypass memc function in small size when
video size change from 720 to 1080.

Verify:
calla_wv4

Change-Id: I8b825cafae60b64d8a3dc4f69e6d0f3154981143
Signed-off-by: minghui.yan <minghui.yan@amlogic.com>
2024-09-22 22:43:05 -07:00
qiankun.wang f839f8764e iotm: fix zero address memory corruption. [1/1]
PD#SWPL-170602

Problem:
iotm may access zero address after initializing iotm.

Solution:
Multiple pulses are triggered so that the AXI_ADDR
can points to the correct ddr address.

Verify:
t6d

Change-Id: Ia4355833d82e729dd2ed8fb9674fd065ed155617
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-09-21 11:59:45 +00:00
hai.cao 8571b0d856 video: dejaggy enable need enable safa [1/1]
PD#SWPL-186189

Problem:
1:1 input output dejaggy have no effect

Solution:
1:1 enable safa top and disable post scale

Verify:
t6d

Change-Id: I2e0d8f82cd2a397d6679ddc0dd03975e30fe38e5
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-09-20 08:49:57 -07:00
xiangyang.yan 56f494503c eth: resolve reset dma failure on resume [1/1]
PD#SWPL-178072

Problem:
network transmission interrupt on resume

Solution:
re-init network interface

Verify:
S6-S905X5-BL201#054

Change-Id: I3a5eaf1260a1c346b16729679a4d9e71db414802
Signed-off-by: xiangyang.yan <xiangyang.yan@amlogic.com>
2024-09-20 08:49:49 -07:00
ruofei.zhao eca9e67757 hdmitx: hdr log optimization [1/1]
PD#SWPL-183936

Problem:
the hdr log is not good

Solution:
hdr log optimization

Verify:
SC2
S7D

Test:
DRM-TX-78

Change-Id: Ia8d6ee9eb18388cbab2d1440ce74faa7c0a62412
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-09-20 08:49:26 -07:00
yuhua.lin 0cd5ecf294 dewarp: dewarp kasan issue [1/1]
PD#SWPL-178593

Problem:
current_item use after free

Solution:
us is_idle instead of current_item

Verify:
s6

Change-Id: I95051da49c0bfd7ae6feaf73f3334bd18791bd08
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-09-20 02:29:04 -07:00
jinbing.zhu 713e460af2 amvecm: s7d add 2k/sd output and input correspondence size. [1/1]
PD#SWPL-175644

Problem:
s7d add 2k/sd output and input correspondence size

Solution:
s7d add 2k/sd output and input correspondence size

Verify:
s7d

Change-Id: I373cc35122c2658700b2bc2bd84812bc4d606c80
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-09-20 01:00:04 -07:00
hai.cao 9548295703 video: fix dir_interp_en and analy_en logic [1/1]
PD#SWPL-184702

Problem:
dir_interp_en and analy_en logic error

Solution:
add condition to control

Verify:
t6d

Change-Id: Ia0b2658df886d7876ebde809d49cf886a192a266
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-09-20 00:59:58 -07:00
Wenjie Qiao 18e52d5106 hdmitx: switch mat to pcm will no sound [1/1]
PD#SWPL-185077

Problem:
switch mat to pcm will no sound

Solution:
ACR will stop when switch audio mode; now dont stop
ACR when switch audio mode;
add some delay before enable audio sample

Verify:
s7d

Test:
DRM-TX-33

Change-Id: I58521b98336abca72fe6f75474048b4cde91d581
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-09-20 00:59:52 -07:00
Haotian Guo ca2c092758 tvafe: Implement macrovision copy prevention [1/2]
PD#SWPL-180253

Problem:
Using macrovision to prevent copying

Solution:
Using macrovision to prevent copying

Verify:
t6d

Change-Id: I72c454da175aacb642134555ba0cfb14ff12a04d
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-09-20 00:59:41 -07:00
Evoke Zhang 24c5946b31 lcd: not enable invalid lane [2/2]
PD#SWPL-182405

Problem:
only need enable valid lane

Solution:
check invalid lane and not enable them

Verify:
bc302, at301

Change-Id: Ic997ab4e7f8caacd49c5a78159d63deb369f3243
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-09-19 21:48:58 -07:00
yufei.huan 94c4d24376 deinterlace: enlarger di buff [1/1]
PD#SWPL-184904

Problem:
s5 di buff to 21

Solution:
enlarger di buff to 21

Verify:
IPTV S5

Change-Id: Icc9a091ac358eb63aa1ab45bda0c8fed2e916415
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2024-09-19 18:38:14 -07:00
chen.xu 43047187b3 video_composer: fix videoqueue log print frequently [1/1]
PD#SWPL-185148

Problem:
1.videoqueue log print frequently

Solution:
vf->ready_jiffies64 need assignment after vc rotate

Verify:
T7C

Change-Id: I60ea1c0de65d71f41dde734a7564e1b4009801e5
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-09-19 18:24:50 -07:00
chen.xu 6abf9798b7 amlvideo2: fix clock off after frequency up screen recording stops [1/1]
PD#SWPL-184514

Problem:
clock off after frequency up screen recording stops

Solution:
after amlvideo2_notify_callback called amlvideo2 need stop
and restart vdin1

Verify:
T962D4

Change-Id: I794fe48fb7853c77c0b39b77b12aed2f533bbc93
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-09-19 18:23:57 -07:00