Commit Graph

5404 Commits

Author SHA1 Message Date
Gaowei Zhao c19d943134 hdmirx: i2c monitor [1/1]
PD#SWPL-132152

Problem:
support to dump i2c data

Solution:
support to dump i2c data

Verify:
t3x

Change-Id: I127e91f84297daddee6b720eba2bff17f53104e2
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-03-06 21:55:05 -08:00
Evoke Zhang 2bab1d3389 lcd: tcon: add init table pre proc [2/2]
PD#SWPL-158546

Problem:
tcon demura display abnormal with low probability

Solution:
1.set demura ddrif off in tcon init bin for tcon enable,
which will on in demura bin.
2.set demura ddrif off before tcon reset when disabled tcon.

Verify:
ak301, ay301

Change-Id: I5d7bd8fbc6fb6ebccbedfaf595623db107adbe60
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-03-06 19:55:10 -08:00
qiang.liu 53f995e8f5 vdin: RGB convert to YUV422 drop data [1/1]
PD#SWPL-149706

Problem:
RGB convert to YUV422 drop data

Solution:
RGB convert to YUV444

Verify:
t7

Change-Id: I4c959d2dc9b01f996c22a34312d72cfab4fe8c11
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-03-06 19:55:05 -08:00
Evoke Zhang 447103cebf backlight: ldim: update reserved memory init method [1/1]
PD#SWPL-110462

Problem:
local dimming reserved memory can be optimized for 1M size

Solution:
optimize local dimming reserved memory

Verify:
at301

Change-Id: I056825117c06ce84c73b60a612873bf026d4d286
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-03-06 01:19:59 -08:00
Wenjie Qiao ee0810d7d6 hdmitx: hdmi mute/unmute will loss audio [1/1]
PD#SWPL-159048

Problem:
hdmi mute/unmute will not send ACR packet
set audio mode will enable send packet

Solution:
write N1 again after TMDS reset
enable audio packet by mute/unmute flag

Verify:
sc2

Test:
DRM-TX-33

Change-Id: Ida5714f6b742367d7f5fec17e6babd3054c7f148
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
2024-03-06 01:19:55 -08:00
zuorong hong 4d6effd9b6 BT: s7 fix dts support hfp [1/1]
PD#SWPL-158356

Problem:
s7 not support hfp

Solution:
fix s7 dts to support hfp

Verify:
qurra

Change-Id: Ide974db9d8edecbf077eadc4cd95f388e45032bc
Signed-off-by: zuorong hong <zuorong.hong@amlogic.com>
2024-03-06 01:19:44 -08:00
Xiangyu Cai eb643d76db vlock: change vlock phase when lock [1/1]
PD#SWPL-156059

Problem:
low latency more than 14ms

Solution:
change vlock phase

Verify:
t3x

Change-Id: I3b6676d76cd814669fd22bf03637d3d1a5c39273
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2024-03-06 01:19:30 -08:00
Evoke Zhang 98c5cfaa90 lcd: tcon: protect tcon axi memory [2/2]
PD#SWPL-159745

Problem:
tcon axi memory wrong access when tcon axi memory failed

Solution:
add tcon axi memory protect,
bypass enable od/demura if memory failed

Verify:
bc302

Change-Id: I34a5d3454cc2d34f9eea0889f3a53e0a8c74c435
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-03-05 22:53:21 -08:00
MingLiang Dong 2936d8c803 hdr: fix stb hdr10+ packet delay 1 frame [1/1]
PD#SWPL-159664

Problem:
because hdmitx new ip, metadata match with frame

Solution:
fix stb hdr10+ packet delay 1 frame

Verify:
verify on s7

Change-Id: I50937d7607dd172575aa7b50b714ff3cf7ae5d45
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2024-03-05 20:53:19 -08:00
ruofei.zhao 4e2e9aae6b hdmitx: auto change the color depth to support HDR under DV_STD [1/1]
PD#GH-3737
PD#SWPL-155123

Problem:
play HDR video under DV_STD, output as SDR

Solution:
auto change the color depth to support HDR under DV_STD

Verify:
SC2
S5

Test:
DRM-TX-90

Change-Id: I255011995b80d2cf01499ea8c3584cbda5e54c5f
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-03-05 20:53:07 -08:00
lizhi.hu f88eaeda8c lcd: disabled key_valid in t3x multidisplay [1/1]
PD#SWPL-159696

Problem:
backlight use ldim condig even blidx=0xff

Solution:
backlight use dts config

Verify:
t3x_bc302

Change-Id: I35820de081cc6732612611c32755c1fe851af081
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-03-05 04:57:57 -08:00
pengzhao.liu d708f47e59 kernel: add s7 32bit dts [1/1]
PD#SWPL-159150

Problem:
add s7 32bit dts

Solution:
add s7 32bit dts

Verify:
s7

Test:
s7

Change-Id: I5e9160b7bdcf0fa3e81c1086852bfd2f8ed437df
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-03-05 04:57:49 -08:00
changpeng.jiang be74d4babd suspend_debug: kernel suspend debug [4/4]
PD#SWPL-158380

Problem:
Add suspend debug mode function.

Solution:
Add code.

Verify:
s7_bh201

Change-Id: I6522324c2cfaa2c7e5ef9a412e4cb7dbdc097747
Signed-off-by: changpeng.jiang <changpeng.jiang@amlogic.com>
2024-03-05 04:57:33 -08:00
lizhi.hu 90a15f1fbc lcd: add dsi panel detect config [1/1]
PD#SWPL-135385

Problem:
support dsi panel auto detect

Solution:
add dts config

Verify:
txhd2
t7

Change-Id: I0b1a13ad0edeae0c380c4076113be2921cceb85d
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-03-05 04:57:18 -08:00
Yao Jie 5048186e10 mailbox: bringup g12a mailbox on new mailbox architecture [1/1]
PD#SWPL-150719

Problem:
The g12a mailbox dtsi configuration does not
accommodate the new mailbox driver architecture

Solution:
Change g12a mailbox dtsi to accommodate the new
mailbox driver architecture

Verify:
G12A

Change-Id: Iab0a512141b945e3192c2cc4bd7fa15f4e30c6e1
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-03-05 03:43:09 -08:00
jialong.jiang 07fbb65260 amdv: reboot causes a black screen problem. [1/1]
PD#SWPL-157369

Problem:
reboot causes a black screen problem.

Solution:
dv core1 does not mute when there is no video.

Verify:
s905x2-u215.

Change-Id: I37a711b6ab105cb9a2eca76bf26ab43b58dbd269
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-03-05 01:53:39 -08:00
Evoke Zhang 3b396f06bd lcd: fix cus_ctrl sync_duration mistake [2/2]
PD#SWPL-147711

Problem:
cus_ctrl ufr & dfr sync_duration is incorrect

Solution:
fix cus_ctrl sync_duration mistake

Verify:
bc302, ay301

Change-Id: I0f9a89531aa8dd07a9aa9f21916bd8570153cd45
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-03-05 01:53:35 -08:00
Pengcheng Chen 11a8500cc7 vpp: update vpp setting when VFRAME_FLAG_FIX_TUNNEL changed [1/1]
PD#SWPL-158258

Problem:
rotation 90, launcher small window axis not update

Solution:
update vpp setting when VFRAME_FLAG_FIX_TUNNEL changed

Verify:
t3x

Change-Id: Ia74604b2b7525490491bf9a8b4aa6a6cd1b58926
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-03-05 01:53:31 -08:00
Evoke Zhang c2a39fdbf5 lcd: fix afr mistake when fr_adj_type=1 for t3x [1/1]
PD#SWPL-158434

Problem:
t3x h_timing change will reset to base_timing when lcd_venc_change_timing

Solution:
fix lcd_venc_change_timing for t3x h_timing change

Verify:
bc302

Change-Id: I384a0a02ebf1f0ffd63a96f637e72be4d22924e3
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2024-03-05 01:53:23 -08:00
Pengcheng Chen d6329e6b6b rdma: rdma bit write optimize [1/1]
PD#SWPL-159523

Problem:
rdma bit write optimize

Solution:
rdma bit write optimize

Verify:
t3x

Change-Id: I7cfb5d9c2b95ca7daa498f288cacc27e5c63b195
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-03-05 01:53:19 -08:00
Jianxiong Pan 4f8f6c783a mm: fix dead loop if signal pending for cma alloc task [1/1]
PD#GH-17

Problem:
If a task be killed during CMA allocation, then it will abort
cma allocation in function compact_unlock_should_abort. But in
function aml_cma_alloc_range, it will return -EBUSY. Which cause
cma allocation loop won't exit and run again and again.

Solution:
return -EINT for this case to exit cma allocation loop.

Verify:
newman platform

Change-Id: I648b1e4e119c5af7637cbd288c7d8684a5c9d60f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2024-03-05 01:53:11 -08:00
qiang.liu d9f310fca2 vdin: Interlace not use 3D mode [1/1]
PD#SWPL-137228

Problem:
Display abnormal when interlace and 3D mode

Solution:
Interlace not use 3D mode

Verify:
T5M

Change-Id: Idd8e23ad1a3db00cf139be8e52e217273e45cdc9
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-03-04 22:59:21 -08:00
jinbiao 8f5e831e6e G12B: Support HS200&HS400 for eMMC and SDR104 for SD. [1/1]
PD#SWPL-157501

Problem:
Not support HS200&HS400 for eMMC and SDR104 for SD in G12B.

Solution:
Add HS200&HS400 for eMMC and SDR104 for SD.

Verify:
g12b_w400_v1

Change-Id: I5deda6e2587ddd34f6d7bc7a86d95d8baa1c0efd
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
2024-03-04 22:59:12 -08:00
Haotian Guo 4261cbd15c hdmirx: disable hdmirx in t7c bluebell [1/1]
PD#SWPL-158807

Problem:
bluebell don't has hdmirx

Solution:
disable hdmirx in t7c bluebell

Verify:
t7c

Change-Id: Ica78d828a0727de3acc7ca564983e81f77825723
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2024-03-04 21:08:21 -08:00
haiyang.ren 3062ea9ed4 audio: mute is invalid when ddp is played [2/2]
PD#OTT-56000

Problem:
1. ddp cannot be muted by volume;
2. kctrl is missing "Audio hdmi-out mute";

Solution:
Set Audio hdmi-out mute to mute the voice;

Verify:
S805C1-BG201

Change-Id: I8b782663c4f3c891ff0a1e46e1d26aee7ad0f90d
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
2024-03-04 21:08:17 -08:00
jialong.jiang 9abd1de35c amdv: not output dv for 480/576p/smpte. [1/1]
PD#SWPL-158121

Problem:
the display effect of 480/576p
is not good on some TVs.
currently some TVs not support smpte.

Solution:
not output dv for 480/576p/smpte.

Verify:
sc2.

Change-Id: I7ad449594ef392fa379674a11b64185810d98c64
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-03-04 21:07:49 -08:00
hong.wang 6b3de3e64f BT: realtek usb modules bt power abnormal [1/1]
PD#SWPL-154669

Problem:
reboot board, bt can not work

Solution:
add power_down_disable

Verify:
txhd2

Change-Id: I51cffa9b12fce191d0fb2515aebfc52ce87f26dd
Signed-off-by: hong.wang <hong.wang@amlogic.com>
2024-03-04 21:07:36 -08:00
chao.zhang 44d4237940 pdvfs: enable t3x cpu pdvfs [2/2]
PD#SWPL-154148

Problem:
diff corner chip need diff voltage table

Solution:
adjust diff voltage table by diff vmin_ft of efuse

Verify:
t3x

Signed-off-by: chao.zhang <chao.zhang@amlogic.com>
Change-Id: I563f4a3bb1ee67791e012bdf224dd2757045a3f5
2024-03-04 21:07:28 -08:00
caiyi.xu d37f84a2e1 dtv_demod: rebuild dtmb driver (v3.25.32) [1/1]
PD#SWPL-158422

Problem:
1.signal locking and channel scanning are slow
2.signal locking process is unstable

Solution:
rebuild driver
1.signal locking speed is increased by more than 60%
2.signal locking timeout speed is increased by more than 40% ~ 90%
3.the channel scanning speed is increased by more than 35%
4.improve the stability of signal locking
5.reduced sensitivity to transient abnormalities in the signal

Verify:
T5M, T950s

Change-Id: Ie9b0f522478222e0076fced126a966c2f951cc1c
Signed-off-by: caiyi.xu <caiyi.xu@amlogic.com>
2024-03-04 19:01:09 -08:00
Gaowei Zhao 88da7efe65 hdmirx: fix kernel panic on T7C without hdmirx [1/1]
PD#SWPL-155480

Problem:
There is a probability of restarting when resume.

Solution:
set timeout for T7C without hdmirx

Verify:
t7c

Change-Id: I1ddc9a9b77524b093847d83f40f80748486eda6e
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2024-03-04 19:01:05 -08:00
Zhuo Wang 87d60d12ae eth: s7 update analog setting [1/1]
PD#SWPL-159605

Problem:
update analog setting

Solution:
update analog setting

Verify:
S905Y5-BH201_REF#023

Change-Id: I2fa8d12b33f19c0eebaae9b50ae7fb21c9130402
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2024-03-04 04:39:35 -08:00
hui.li 146ac82839 dts: dts memory is incorrectly allocated on t5d [1/1]
PD#SWPL-157900

Problem:
dts memory is incorrectly allocated.
codec_mm_cma need contiguous-region.

Solution:
change the memory allocate

Verify:
t5d + Android U

Change-Id: I91cf8d367e335444b3c60b60affdfa19b6ef481a
Signed-off-by: hui.li <hui.li@amlogic.com>
2024-03-04 04:39:30 -08:00
zijie.lin 9c42f88274 backlight: adjust backlight use different method [1/1]
PD#SWPL-153931

Problem:
adjust backlight,does not change smoothly

Solution:
adjust backlight by use pdim or litgain
for different LD type

Verify:
T3X

Change-Id: I2e7e73f982f79b87412e0d6fd04fc7579800d2bd
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
2024-03-04 04:39:15 -08:00
hai.cao 2fef9d4c0d vpu: manage arb and urgent [1/1]
PD#SWPL-159218

Problem:
unified management

Solution:
create driver documents for arb and urgent management

Verify:
t7c

Change-Id: I2359a68b7a81906bad354a523fbde93c27e1cc12
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2024-03-04 04:39:10 -08:00
yu.xie 543d77d1d3 dts: modify android_t txhd2 codec_mm_cma size to 108MB. [2/2]
PD#SWPL-136021

Problem:
adjust the size of codec_mm cma to 108M.

Solution:
adjust the size of codec_mm cma to 108M.

Verify:
TXHD2

Change-Id: I24e11fcc941fe9b7586868c56ce16d2ccde33b8d
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-03-04 01:00:03 -08:00
yu.xie bed4a8784d DTS: CB1 TXHD2 512MB memory optimization based on TV/ASOP. [2/2]
PD#SWPL-154633

Problem:
TXHD2 memory need to optimized.

Solution:
Codec_mm size reduce to 108MB.

Verify:
TXHD2

Change-Id: Iac993a137e260c4d94ce3efb71e9f44364b3f4fe
Signed-off-by: yu.xie <yu.xie@amlogic.com>
2024-03-04 00:59:51 -08:00
chen.xu 63b08d069c video_composer: fix dewarp unsupport crop result video is compressed [1/1]
PD#SWPL-155425

Problem:
dewarp unsupport crop need switch to ge2d.

Solution:
support.

Verify:
T7C

Change-Id: I8c9c90bc876ff6d43820e5511ea8044a57fa26c7
Signed-off-by: chen.xu <chen.xu@amlogic.com>
2024-03-04 00:59:35 -08:00
Junyi Zhao ab3760981a LED: fd650: add bl30 control [3/3]
PD#SWPL-158140

Problem:
need bl30 control via mailbox

Solution:
support it

Verify:
s1a

Change-Id: I737217be12377b800acda8b05a729b362c2fa622
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-03-04 00:59:27 -08:00
yaoyu.xu f05534a664 hdmirx: fix flash when switch timing [1/1]
PD#SWPL-154101

Problem:
flash when switch timing.

Solution:
do not clear mute when dec stop.

Verify:
txhd2/t5m/t7c/t3x

Change-Id: Ifd360fb5b381426451c584eda546cae488bf4549
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2024-03-03 22:59:17 -08:00
qiang.liu a1b96e03e6 vdin: sink-led not allm need shield [1/1]
PD#SWPL-149879

Problem:
sink-led into game mode cause dv bypass

Solution:
sink-led not allm need shield

Verify:
t5w

Change-Id: I67d47c474963cbe8ae15dce0ba137d84352ed9f2
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2024-03-03 22:59:12 -08:00
Pengcheng Chen d38e6d460e vpp: init vd_3mux3_set(VPP1) for dual screen [1/1]
PD#SWPL-158802

Problem:
VPP_VD_SYS_CTRL video layer mux not set

Solution:
init vd_3mux3_set(VPP1) for dual screen

Verify:
t3x

Change-Id: I31f5c60f64b4ad2f02f417a4d2c156a1170476ee
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-03-03 21:03:04 -08:00
lizhi.hu 671735474e lcd: fix t3x p2p_swap reg [1/1]
PD#SWPL-157893

Problem:
lcd write error reg when lcd_init_level=2

Solution:
fix reg

Verify:
t3x_bc302

Change-Id: I3d57e4587ede6968e9abd7fdacce7b67e574abc8
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2024-03-03 21:03:01 -08:00
yiting.deng e0ce234574 clk: s7: fix s7 cpu clk rate [3/3]
PD#SWPL-159093

Problem:
update s7 sys0pll/sys1pll/gp1pll range to 1.2-2.4G,
need fix some cpuclk rate

Solution:
fix it

Verify:
s7_bh201

Change-Id: I8fcbe6374b9bac6834cdb9d2b35335123f4c6dbb
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-03-03 21:02:52 -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
jian zhou 29987bef32 audio: fix no sound after switch ARC/eARC on/off [1/1]
PD#SWPL-153870

Problem:
it happened under run after switch ARC/eARC on/off.
root cause:it happened by the below flow:
1.audio hal set eARC format as ddp.
2.TDM start and trigger same source, it set eARC format as stereo pcm.
3.audio hal send ddp data to eARC device node,
but eARC format is pcm, clock is slow, and happened under run.

Solution:
when eARC open function is called, it isn't same source case,
we use format by the audio hal set.

Verify:
Android U T7C

Change-Id: I2295d7a4841b0580e1d768ce2f79313c5f669cbe
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2024-03-01 06:53:07 -08:00
qiyao.zhou c2e7941195 vicp: display abnormal when multy input [1/1]
PD#SWPL-157887

Problem:
AFBCE default color config error.

Solution:
Modify afbce default color config flow.

Verify:
t3x

Change-Id: I7339666c71874c14e0f6652ccb6a7fd8295cad86
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-03-01 04:55:14 -08:00
Jian Cao 6d622ccf39 rdma: fix frequent printing problem. [1/1]
PD#SWPL-151485

Problem:
fix the issue of frequent printing of the following content.
rdma_watchdog_setting, flag:0 handle:1924 out of range[0, 16)

Solution:
fix the issue of incorrect function declaration.

Verify:
txhd2

Change-Id: I4636d423b27c3cdb681fab88f4961e80c144a078
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-03-01 01:51:18 -08:00
Pengcheng Chen c7d45c9970 vpp: fix pi_enable not enable for 4096x2304 video src [1/1]
PD#SWPL-158925

Problem:
fix pi_enable not enable for 4096x2304 video src

Solution:
fix pi_enable not enable for 4096x2304 video src

Verify:
s5

Change-Id: I4bba06f42e9e68f1a5ca019c7f5aea59790612b5
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-03-01 01:51:13 -08:00
Jian Cao c61a0ebf84 picdec: change output to full range [1/1]
PD#SWPL-158511

Problem:
256 greyscale have regular parallelism issues

Solution:
change output to full range

Verify:
txhd2

Change-Id: I10cc66d1e0dcadb8f3cd68f0a2b80a3990bae8b8
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2024-03-01 01:51:09 -08:00
donghui.wang d468bb8c64 ldim: add ioctl api for glb hist [1/1]
PD#SWPL-157518

Problem:
add ioctl api for glb hist

Solution:
add ioctl api for glb hist

Verify:
t5m

Change-Id: Idff2157533509a850eaf56a45b8ccc3b8bba7085
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2024-02-29 22:53:24 -08:00