Commit Graph

7523 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
haitao.liu a5309e8cc5 vdin: enable scatter memory on t3x [1/1]
PD#SWPL-172758

Problem:
codec_mm cma size is not enough for PIP

Solution:
enable sct memory for vdin0 and vdin1

Verify:
t3x

Change-Id: I6bf141af247ffb02f5f30941df94a5ff381eadc2
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2024-09-26 18:46:30 -07:00
gerrit autosubmit 76cc71ee40 Merge "usb: usb wrqos [2/2]" into amlogic-5.15-dev 2024-09-26 07:23:55 -07:00
Jiacai.Liu 568926cc45 linux: update t6d linux dts [1/1]
PD#SWPL-185539

Problem:
wired headphone no kernel event when plugin

Solution:
update t6d linux dts

Verify:
local

Signed-off-by: Jiacai.Liu <jiacai.liu@amlogic.com>
Change-Id: I91d39592808b32f12a79426b441014373a85d506
2024-09-26 02:52:04 -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
Wentao.Sun bcc7b6ab2e dts: change secmon reserved memory alignment to 1M [1/1]
PD#SWPL-170620

Problem:
optimize secmon reserved memory for some platform

Solution:
1.change secmon reserved memory alignment to 1M
2.relocate ramoops memory

Verify:
AndroidU

Change-Id: Ic53381d705415a72bcd91970d8226577864dcdcd
Signed-off-by: Wentao.Sun <wentao.sun@amlogic.com>
2024-09-26 01:57:17 -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
Yue Wang 7ab982da57 usb: usb wrqos [2/2]
PD#SWPL-187256

Problem:
usb no irq

Solution:
change usb wrqos seting

Verify:
txhd2

Change-Id: I1daa2e8f4e78fca08f0082b69efe0eef8bf4605a
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2024-09-25 23:38:55 -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
lizhi.hu 5bc7f64528 lcd: add SLT 720p panel [1/1]
PD#OPS-8362

Problem:
develop mipi dsi test case for s6

Solution:
add SLT 720p panel

Verify:
s6

Change-Id: Iee0cfcb87c838f4941a5244f9344344fc2fac426
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-09-25 18:48:51 -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
yongzhi.gao 4a7569c09e dts:s905x4 1.5g dts [1/1]
PD#SWPL-185968

Problem:
logo addr >0x60000000

Solution:
modify  logo addr

Verify:
local

Change-Id: Ie6a5c2216f1f4571d99c54a3aea8363d3b5ea74d
Signed-off-by: yongzhi.gao <yongzhi.gao@amlogic.com>
2024-09-25 18:48:28 -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
pengzhao.liu 59fca50f9f kernel: synchronize bl201 to bn201 [1/1]
PD#SWPL-172848

Problem:
synchronize bl201 to bn201

Solution:
synchronize bl201 to bn201

Verify:
s6

Change-Id: I41242e19b540571dd685a16299ce6bf6b02a0730
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-09-25 01:57:42 -07:00
jian zhou 5659567e93 Audio: enable sy602 volume [1/1]
PD#SWPL-185982

Problem:
sy602 codec volume is 0

Solution:
enable sy602 volume

Verify:
s6

Change-Id: If06622a3e79e1d13308133d2ca84bacd0d14af88
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-09-25 01:57:10 -07:00
Blance Tang d5e9e1f524 Yocto: Add X5L BN201 Linux DTS file [1/1]
PD#OTT-66508

Problem:
Add X5L BN201 Linux DTS file

Solution:
Add X5L BN201 Linux DTS file

Verify:
  Local

Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: I9c189641b20a6f0d1b165eb0218be8bbf3a213c4
2024-09-24 20:17:49 -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
Xingxing Wang 6c7a18a553 thermal: correct ddr thermal parameters [1/1]
PD#SWPL-184969

Problem:
ddr thermal params not correct

Solution:
correct thermal ddr parameters

Verify:
S7

Change-Id: I0fb1bcd48458b5d72e35e0a76dd1faa3b51c96e3
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-09-24 03:09:09 -07:00
jian zhou d09a69fd8c audio: fix eARC RX discovery failed after suspend/resume [1/1]
PD#SWPL-175752

Problem:
eARC RX discovery failed after suspend/resume.
root cause:entry the suspend, heartbeat lost, and eARC state disconnected.
when entry resume, there is no new eARC discovery process.

Solution:
eARC RX keep 5V low for 300ms when resume, and new eARC discovery
process is triggered by the HPD.

Verify:
sc2

Change-Id: Iadf880d3331b718e186ea0048653e019987fa891
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-09-24 03:08:52 -07:00
Doosan Baek b1a796fba1 kl/kt: t6d kl/kt bring-up [1/1]
PD#SWPL-180352

Problem:
t6d kl/kt bring-up

Solution:
t6d kl/kt dts bring-up

Verify:
t6d

Change-Id: I82c93aeacba90bb85477637b62b84f69b0834276
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-09-24 03:08:40 -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
Xingxing Wang 71798e275b thermal: t6d configure default governor to IPA [1/1]
PD#SWPL-182971

Problem:
customize default governor to IPA

Solution:
configure power_allocator  governor in dts

Verify:
t6d

Change-Id: I6191d95faeca747e454d26fbbfdebe07a7127bf1
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-09-24 02:54:39 -07:00
gerrit autosubmit 40d2500f2d Merge "Audio: fix crash when set arc source in sts test [2/2]" into amlogic-5.15-dev 2024-09-24 01:46:39 -07:00
jiebing chen c8c4c8a6f2 Audio: fix crash when set arc source in sts test [2/2]
PD#SWPL-185189

Problem:
if arc source is not right will crash in sts test

Solution:
An incorrect value is intercepted

Verify:
use T6d

Change-Id: I3a0551491bf861b2d3632418b14ca6d3050e1c36
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
2024-09-24 01:46:37 -07:00
Blance Tang 9f7e1f4f86 Yocto-4.0: Add 905C2L AH221 Linux dts [1/1]
PD#SWPL-186394

Problem:
Add 905C2L AH221 Linux dts

Solution:
Add 905C2L AH221 Linux dts

Verify:
AH221

Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Change-Id: Ic74ae43d352767032f7a5e58f298ecdf1e648197
2024-09-24 01:46:19 -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
xiaotao.wei 373b147e78 dmaheap: reserve memory for direct display [1/1]
PD#SWPL-182058

Problem:
no enough memory in dma_heap for direct display

Solution:
1.sync the CL: https://scgit.amlogic.com/#/c/458280/
2.set fb size to 1080p for s7

Verify:
S7

Change-Id: I9e8b5b7bdccdd4478a6d0321a89d771a7430d32f
Signed-off-by: xiaotao.wei <xiaotao.wei@amlogic.com>
2024-09-24 01:45:49 -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
congyang.huang 8c9ebaec6f drm: t5m and t5w osd3 pipeline has no scaler block [1/1]
PD#SWPL-183808

Problem:
t5m and t5w osd3 pipeline has no scaler block

Solution:
remove osd3 scaler in dts

Verify:
t5w t5m

Test:
DRM-OSD-8

Change-Id: I4a580b0fd72696613195b96ded3accf3ed442244
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2024-09-24 01:43:07 -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