Commit Graph

5091 Commits

Author SHA1 Message Date
haitao.liu 53a3794dee vdin: Mute when entering non-game mode [2/2]
PD#SWPL-237970

Problem:
When entering the non-game mode,the video pipeline needs to be muted.
Before muting,the game screen should be displayed, and after muting,
the non-game screen should be displayed.

Solution:
VDIN calls the VPP mute interface to prevent the non-game screen from
being displayed before muting.

Verify:
t6x

Change-Id: I02d5caf39876e339b0f27ab7f8d38d1d81841dc0
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
2025-12-19 08:24:25 -08:00
dijie.pan f43fb8d9e9 drm: SCALE_DOWN_LIMIT should be added to the scaler block check [1/1]
PD#SWPL-86118

Problem:
SCALE_DOWN_LIMIT should be added to the scaler block check

Solution:
mv SCALE_DOWN_LIMIT to scaler block check

Verify:
S7

Test:
DRM-OSD-14

Change-Id: I38818400de4d06f6338122c344c7ddb0a6cdbd71
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-12-19 08:24:10 -08:00
Jihong Sui 0e9c810398 dpss: add memory hd [1/1]
PD#SWPL-246589

Problem:
add memory hd

Solution:
1. add memory hd.

Verify:
T6W

Change-Id: I2e747c3792ac1b66ce8d751f3509d06750df4145
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-19 04:28:20 -08:00
linfang.zhao 09fbc26d58 drm: fix fbdev vblank warning and fbdev return the error result[1/1]
PD#SWPL-231624

Problem:
1.warning occurred in drm
2.fbdev return the error result when alloc
the resolution that osd can not support

Solution:
1.Based on the value of vblank->enabled,
determine whether to wait for vblank
2.fbinfo can not be changed when putvscreeninfo alloc buffer fail

Verify:
SC2

Change-Id: I38d48d032650155ce89a0150bee065f7cf1701b3
Signed-off-by: linfang.zhao <linfang.zhao@amlogic.com>
2025-12-19 04:23:22 -08:00
jie.dai 0b9ddabcbb lcd: t6x prbs mode support LCD_PRBS_MODE_FREQ [1/1]
PD#OPS-11465

Problem:
t6x prbe test need more freq

Solution:
add LCD_PRBS_MODE_FREQ for prbs test in t6x

Verify:
t6x

Change-Id: Id011f1ae5af90f6f314279556b940395ec0f9dcb
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-19 04:20:12 -08:00
jie.dai 7a4e353a33 lcd: tcon dma data flush by sw_dma when enable [2/2]
PD#SWPL-245400

Problem:
display abnormal when power on because tcon pq data not update to ram

Solution:
tcon dma data flush by sw_dma when enable

Verify:
T6X

Change-Id: Ia4ef0085fc260ff6e571e8ec67e6836422d5ae8b
Signed-off-by: jie.dai <jie.dai@amlogic.com>
(cherry picked from commit 187e38a8aebf6507e9384ef468e9b838b1244828)
2025-12-19 04:20:07 -08:00
zijie.hong 16b2d6cba9 vdin: k6.12 t6x dolby config reg error [1/1]
PD#SWPL-246313
PD#SWPL-245175

Problem:
k6.12 t6x dolby config reg error,
thus black screen and restart.

Solution:
sync t6x code from k5.15

Verify:
T6X

Change-Id: I2aea99e68f7d304926ff3b9bc4cfab0dc79886f7
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-12-19 04:19:56 -08:00
Jihong Sui 96e9c122dc dpss: memory crash [1/1]
PD#SWPL-245808

Problem:
memory crash

Solution:
1. add protection for unregister.

Verify:
T6W

Change-Id: Ib23689129162ada451dfe532c99c635dd20b7516
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-19 04:19:50 -08:00
mingxiu.sun 00126d0bf7 vdin: add sbtm type [1/1]
PD#SWPL-243511

Problem:
add sbtm config to the vframe

Solution:
add sbtm config to the vframe

Verify:
t6x

Change-Id: Ic6d2e7872b2146308ff4ea487fc87c876e6c89d3
Signed-off-by: mingxiu.sun <mingxiu.sun@amlogic.com>
2025-12-19 04:18:18 -08:00
can.zhang 871b542f3d amdv: add vpq interface2 [1/1]
PD#SWPL-241735

Problem:
test

Solution:
test

Verify:
Verified on local

Change-Id: I5c27ae60caec55134e45a016dd21b112c7602ccd
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-12-19 04:18:07 -08:00
yujun.zhang f77de68431 drm: fix am_cvbs_connector_funcs.reset [1/1]
PD#SWPL-237627

Problem:
State of cvbs connector allocates only state of drm_connector
when probing drm, so the first dereference to member of cvbs
connector state may cause "slab-out-of-bounds".

Solution:
Implement am_cvbs_connector_funcs.reset.

Verify:
S1A

Test:
DRM-OSD-81

Change-Id: Ib403cd8bf3a2667559e96188d13bc4586689b9d1
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2025-12-19 04:18:00 -08:00
ruofei.zhao 7e5073d5e7 hdmitx: change the debug node from read-only to read-write [1/1]
PD#SWPL-199648

Problem:
the hdmitx debug node needs to be modified to be readable and writable

Solution:
change the debug node from read-only to read-write

Verify:
S905Y5

Test:
DRM-TX-78

Change-Id: I743191d2fa93c39428329695f848b840c51aa615
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-12-19 04:17:53 -08:00
jie.dai bf43e03789 lcd: update vrr range min/max in first probe [1/1]
PD#SWPL-232636

Problem:
need separate the min/max from all timings for notifying VRR

Solution:
separate the min/max from all timings in lcd probe stage

Verify:
t6x

Change-Id: I8464b7266cf3ccb1ed913f02aa19c2dc2b6c813d
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-19 01:39:25 -08:00
yufei.huan 05ff62ba25 dpss: DPSS film grain setting err [1/1]
PD#SWPL-246517

Problem:
dv stuck due fg setting

Solution:
fix fg setting

Verify:
T6x

Change-Id: Ie592ee53e86c0aef9891588e7b6c4127fbd25a02
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2025-12-18 17:43:49 -08:00
Gaowei Zhao 8529f83c7b hdmirx: Fixed screen flickering after switching DSC to non-DSC mode [1/1]
PD#SWPL-245732

Problem:
After switching the DSC to non-DSC mode, the screen displays artifacts

Solution:
Disable DSC setting after switching

Verify:
T6X

Change-Id: I909555b47ebf179fb41d9a3f1eeb256d8b1405e4
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2025-12-18 17:41:55 -08:00
dijie.pan 3dfe86f1ce drm: Move scale before postblend [1/1]
PD#SWPL-242184

Problem:
Move scale before postblend

Solution:
Move scale before postblend

Verify:
T7C

Test:
DRM-OSD-14

Change-Id: I0b526556ce69c6bb5910edde5a21e0b8441c1e32
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-12-18 17:40:35 -08:00
congyang.huang 4ffbddcbac drm: add osd_capability and vpu_clk property for drm [1/1]
PD#SWPL-224252

Problem:
need add osd_capability and vpu_clk property

Solution:
add osd_capability and vpu_clk property

Verify:
s6

Test:
DRM-OSD-98

Change-Id: Ic9ccaf4a3c1d92fceb53fc52091856a000def091
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-12-18 17:40:17 -08:00
Jihong Sui 3db1cf87ae dpss: fix hdr_dd stuck [1/1]
PD#SWPL-244194

Problem:
dpss stuck

Solution:
1. add update hdr path;
2. add new frame trig;

Verify:
T6W

Change-Id: Id11d11b69af2f69ae338de1b0ef0cb4eab3fecaf
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-18 01:20:35 -08:00
qinglin.li cc7396a25f dmc_monitor: sec vio check print subid when sub not parse [1/1]
PD#SWPL-243386

Problem:
sec vio check print subid when sub not parse

Solution:
print subid when sub not parse

Verify:
local

Change-Id: I9292400fb5af535cd0c8210ff921b1fc32925958
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-18 01:20:24 -08:00
Jianyi Shi 5500a52208 t6x: is_pm_s2idle_mode return not correct 6.12 [1/2]
PD#SWPL-244062

Problem:
is_pm_s2idle_mode return 0 during vad freeze.

Solution:
export pm_suspend_target_state value.

Verify:
T6X

Change-Id: If383882b20284eeacf5495ac04537fbea8cfeb9c
Signed-off-by: Jianyi Shi <jianyi.shi@amlogic.com>
2025-12-17 17:22:58 -08:00
Jihong Sui 5078108a35 dpss: fine-tune fg flow [1/1]
PD#SWPL-245087

Problem:
stuck when nts test.

Solution:
1. fine-tune fg flow.

Verify:
T6W

Change-Id: I3fc59629e3d4e792c3c5d9258ebdff9492150ed1
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2025-12-17 12:03:26 -08:00
rong.wang 641d51769e dpss: modify mvx/y_div_mode [1/1]
PD#SWPL-243580

Problem:
video is error when in dlg mode

Solution:
modify div mdoe in nrdi and frc

Verify:
T6X/T6W

Change-Id: Id4f0df44558c1beedde0b3164c05e367867a6a7c
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-12-17 12:03:20 -08:00
jialong.jiang 36df1a55e0 hdr: The platform does not send sdr packets.[1/1]
PD#SWPL-245945

Problem:
When the platform exits sdr bt2020,
no sdr bt709 packet is sent.

Solution:
When the platform exits sdr bt2020,
no sdr bt709 packet is sent.

Verify:
ott

Change-Id: I2f2b6bdab876c2f3ea08eb6aee823d5a378d1e5c
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2025-12-17 12:03:15 -08:00
congyang.huang 13fef23744 vout: support vout meas ctrl [1/1]
PD#SWPL-237823

Problem:
no vout meas ctrl

Solution:
add vout meas ctrl

Verify:
t6x

Change-Id: I8ea8d204014893ad95654a6186ab71345c01846c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-12-17 12:03:10 -08:00
jie.dai 864c11cb26 lcd: vdf optimize [2/2]
PD#SWPL-240766

Problem:
display abnormal when both acc vdf exist

Solution:
make sure vdf lut wrote done then write acc

Verify:
t6x

Change-Id: Ie3b50df30f68eadef2f09b40bae16977e176d46e
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-17 12:03:05 -08:00
Gaowei Zhao 5f2f98ffaf hdmirx: fix PM-related DMC VIOLATION issues [1/1]
PD#SWPL-240194

Problem:
HDMIRX Causes a DMC VIOLATION issue

Solution:
HDMIRX Disables register writing when not in wake state

Verify:
T7C

Change-Id: Icf2d4f999990fa16d966e56d3eeb9ac519573aab
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2025-12-17 00:28:15 -08:00
min.yang 371f0f2ea9 dtv_demod: bringup t6x dvbc new blind scan (V4.1.006) [1/1]
PD#SWPL-235733

Problem:
t6x dvbc new blind scan bringup

Solution:
t6x dvbc new blind scan bringup

Verify:
T6X_BU301

Change-Id: I8af6e8e8325774dd5e7fcf6278f7efa89be1ecb6
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-12-17 00:24:51 -08:00
Haotian Guo 110a1a0f6e tvafe: update dtvdemod mux s2 and dvbc pll config [1/1]
PD#SWPL-224690
PD#SWPL-235733

Problem:
update mux s2 config

Solution:
update mux s2 config

Verify:
t6x_bu301

Change-Id: I8145b460fa4b8cfe9f893700bd6e4198e7cb715a
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2025-12-17 00:24:40 -08:00
huijie.huang 39b274bb81 lcd: update phy reset interface [2/2]
PD#SWPL-245454

Problem:
t6x/t6d need to phy reset sequence

Solution:
t6x/t6d update phy reset sequence

Verify:
t6x

Change-Id: I6113fefd588953f9f7bef44214efdbeb6b26a5f1
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2025-12-16 23:36:53 -08:00
yaoyu.xu 541d0f94ce hdmirx: fix bits per pixel cal [1/1]
PD#SWPL-242016

Problem:
bpp double when 422 and 420.

Solution:
div 2 when 422 and 420.

Verify:
T6X

Change-Id: Ieae392043b232abc92eaa77cfaede33919fe3d4c
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2025-12-16 23:36:41 -08:00
hai.cao 8db5070561 video: clean vpp coverity [1/1]
PD#SWPL-245920

Problem:
vpp coverity clean

Solution:
vpp coverity clean

Verify:
t6w

Change-Id: I9dd6332f4b1be7db735a7fcbea100057dd8cd984
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-12-16 22:25:18 -08:00
yicheng shen 9697380a56 hdmirx: Audio fifo error causing soundless issue [1/1]
PD#SWPL-245475

Problem:
Audio fifo error causing soundless issue

Solution:
optimize audio fifo error recovery flow

Verify:
T6X

Change-Id: Id583581cab33195f5dcd251581493a95bc1f01bd
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2025-12-16 19:26:25 -08:00
Gaowei Zhao 8642d8a7f9 hdmirx: Fix the green screen issue 2 [1/1]
PD#SWPL-244453

Problem:
Flash a green screen when DV switching to SDR

Solution:
Mute video when switching

Verify:
T6X

Change-Id: I3c98b89afce31b5cd864a83df5fa46277c64bffb
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
2025-12-16 06:21:26 -08:00
Pengcheng Chen dda7576d44 lut_dma: fix video flash when video switch from fg disable to enable [1/1]
PD#SWPL-244066

Problem:
fix  video flash and DMA_RD DMC SEC READ CHECK ERROR
when video switch from fg disable to fg enable

Solution:
1. change back lut dma to vcbus write
2. change lut dma security to vcbus write

Verify:
s7

Change-Id: I369a5625486220e87e9256dde1938ba46884ffd7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2025-12-16 06:21:02 -08:00
Feng Chen 8e6ccec83f spicc: coverity defect [1/1]
PD#SWPL-245716

Problem:
fix for a Coverity defect(CID:1319661).

Solution:
fix it.

Verify:
Local.

Change-Id: I9fd9dd016426a8e49270f058298b318c1868dd58
Signed-off-by: Feng Chen <feng.chen@amlogic.com>
2025-12-16 06:20:57 -08:00
lukang.jia 99d04263dc dpss: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-245970

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12
574821
610996
615838
616810

Verify:
T6X

Change-Id: I8f2c55ba78d3bb6cb0ea4ea2f4ea37c31875ba19
Signed-off-by: lukang.jia <lukang.jia@amlogic.com>
2025-12-16 06:20:51 -08:00
Jian Cao 8fa33a7eb4 vpp: t6x: adjust line-skipping policy [1/1]
PD#SWPL-243881

Problem:
home mini-window shows poor display quality.

Solution:
adjust line-skipping policy

Verify:
t6x

Change-Id: I1bdaa91d36327baa53cc319d63337e2e2d1bb802
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-12-16 06:20:41 -08:00
xiang.wu1 3542cd3582 hdmitx: add blank pattern for vid_mute [1/1]
PD#SWPL-244339

Problem:
add vid_mute function with debug

Solution:
add blank pattern for vid_mute

Verify:
S7D

Test:
DRM-TX-79,DRM-TX-80,DRM-TX-81,DRM-TX-82

Change-Id: I1b03e123723ab8f5394cf54cdaa1a3ce109c0c91
Signed-off-by: xiang.wu1 <xiang.wu1@amlogic.com>
2025-12-16 06:20:32 -08:00
jie.dai 11701747ef lcd: tcon ip27 bring up [2/2]
PD#TV-179918

Problem:
tcon ip27 bringup

Solution:
add ip27 driver

Verify:
t6x

Change-Id: I3d28a4f2938743b7f25976ce4b2d0b3b9ab5df19
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-16 06:20:24 -08:00
Jianxiong Pan 5e3a10bb02 pagetrace: stat the atomic allocation. [1/1]
PD#SWPL-245461

Problem:
allocation failure.

Solution:
stat the atomic allocation.

Verify:
local.

Change-Id: I7f550b3a4f4bd7a8c2881ef773ae00821bbb3ec7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-12-16 05:30:01 -08:00
dijie.pan ea809c0388 drm: meson_video_plane_async_update swap state optimization [1/1]
PD#SWPL-241222

Problem:
When only the second video stream is playing (index=1),
the sub_pipe object will be unable to swap state.

Solution:
Remove index limit

Verify:
S7

Test:
DRM-OSD-20

Change-Id: I0e24a19b3dc85b18c0cc71fbf68e3942070d7c75
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-12-15 22:45:15 -08:00
Haotian Guo 3990a9fe3f hdmirx: update vrr range once [1/1]
PD#SWPL-245471

Problem:
update vrr range once

Solution:
update vrr range once

Verify:
t6x

Change-Id: I4b8afb87bd2b00f4ba3fc263e202355eef890a5b
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
2025-12-15 19:31:42 -08:00
rong.wang 73dd38756c deinterlace: di rotation 180 no work [1/1]
PD#SWPL-232387

Problem:
di rotation 180 no work

Solution:
fix di rotation 180 parameters

Verify:
t950s

Change-Id: I4309f9651287ac204d4c87f1965e492b725b1f38
Signed-off-by: rong.wang <rong.wang@amlogic.com>
2025-12-15 06:40:38 -08:00
Pengcheng Chen b022aea0f2 vpp: set frc_ratio to 10 for t5m [1/1]
PD#SWPL-245702

Problem:
n2m not 1:1, dlg on, vskip calc error

Solution:
set frc_ratio to 10 for t5m

Verify:
t5m

Change-Id: Id253513550108c26796af30e28109a8213a92ac0
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2025-12-15 06:40:34 -08:00
yao liu 807898bef6 amdv: coverity err [1/1]
PD#SWPL-245581

Problem:
coverity err

Solution:
remove useless code

Verify:
t6x

Change-Id: Icf4a361a61eaa892fba2c58c030dbbc6d2693462
Signed-off-by: yao liu <yao.liu@amlogic.com>
2025-12-15 06:40:16 -08:00
Qiang Guo 52b902e2c2 uvm: lcevc converity issue clean [1/1]
PD#SWPL-245519
PD#TV-187327

Problem:
lcevc converity issue clean.

Solution:
lcevc converity issue clean.

Verify:
Android U T6X

Change-Id: I94250914648bc35ad743861ed713f1bd4a408d1b
Signed-off-by: Qiang Guo <qiang.guo@amlogic.com>
2025-12-15 06:40:05 -08:00
congyang.huang e4998a5571 drm: add fresh rate support [1/1]
PD#SWPL-245460

Problem:
lcd connector did not export 330/340/360 etc fresh rate

Solution:
add fresh rate support

Verify:
t6x

Change-Id: I7031b0980d0545b22bb16915f8df27f0e2de2547
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-12-15 06:39:57 -08:00
jie.dai 3926a54a00 lcd: tcon vrr vdf bringup [2/2]
PD#SWPL-237149

Problem:
need support vrr vdf function

Solution:
add vrr vdf driver

Verify:
t6x

Change-Id: Id7657cda14086d1bc391cb03f61c7844a7c46e52
Signed-off-by: jie.dai <jie.dai@amlogic.com>
2025-12-15 06:39:44 -08:00
qinghui.jiang 88e46bb42d amvecm: sync code from 5.15 to 6.12 [1/1]
PD#SWPL-237898

Problem:
sync code from 5.15 to 6.12

Solution:
sync code from 5.15 to 6.12

Verify:
t966d5

Change-Id: If5587692616b04786c1c8d9b843a76b4224a5d81
Signed-off-by: qinghui.jiang <qinghui.jiang@amlogic.com>
2025-12-15 06:39:35 -08:00
Zelong Dong 18480009c6 ir: support freeze suspend [1/1]
PD#SWPL-242049

Problem:
irq was disabled when system freeze suspend

Solution:
enable irq when system freeze suspend

Verify:
t6d_br301

Change-Id: I64de4bfb86f045340ec809450f77311eac6013cc
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2025-12-15 04:17:17 -08:00