Commit Graph

7362 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
Zhao Mingfei 4ded9c52aa adt5: add adt5 dts [1/1]
PD#SWPL-244392

Problem:
add adt5 dts from raman ai

Solution:
ADT5 dts are based on s6_s905x5_raman_ai_2g.dts from
https://scgit.amlogic.com/#/c/590894/
and was modified to adjust mic GPIOs,
enable UART C for thread function and support different memory.

Verify:
Verify it on local

Change-Id: If72878fca5da0e04766d4cd680b7bcdf758af91f
Signed-off-by: Zhao Mingfei <mingfei.zhao@amlogic.com>
2025-12-19 04:25:52 -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
zijie.hong 4d7c905020 vdin: sync vdin dts from k5.15 [1/1]
PD#SWPL-245489

Problem:
check vdin dts on k6.12

Solution:
sync vdin dts from k5.15

Verify:
T6D/T6W

Change-Id: I0cd8ce74fc8b538ee87e674abbb94b272bf95be3
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-12-19 04:18:56 -08:00
biao.sun bad313f113 bringup: open wifi for Android16 s4 [1/1]
PD#SWPL-246022

Problem:
bringup Android16 for s4

Solution:
set dts status okay

Verify:
s4

Change-Id: Iaba32a1e691ada66f763f4ef1dc572b1bdf31c2f
Signed-off-by: biao.sun <biao.sun@amlogic.com>
2025-12-19 04:18:46 -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
dijie.pan 4f9bbffc4f drm: drm need reports each osd planes capabilities [1/1]
PD#SWPL-236865

Problem:
drm need reports each osd planes capabilities

Solution:
reports each osd planes capabilities

Verify:
T7C

Test:
DRM-OSD-82

Change-Id: I2382defcf330829079a2ec3d7ee6bfefb2c6ab4b
Signed-off-by: dijie.pan <dijie.pan@amlogic.com>
2025-12-18 17:40:23 -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
Yongjie Zhu a06fe538dd dmaheap: asymmetric ddr limit dma range [1/1]
PD#SWPL-245350

Problem:
asymmetric ddr limit dma range

Solution:
asymmetric ddr limit dma range

Verify:
t6x 3g dts

Change-Id: Ie8610bff66dea3bff155d01f98ef97b6bc1f179f
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
2025-12-18 01:20:29 -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
Jiebing Chen c6789330d9 Audio: fix audio block when kernel panic [1/1]
PD#SWPL-245584

Problem:
there are pop noise when kernel panic

Solution:
disable spk and headphone pin when kernel panic

Verify:
use t6d

Change-Id: I6b5a8310874559d823f723561ed0c7e9a5523502
Signed-off-by: Jiebing Chen <jiebing.chen@amlogic.com>
2025-12-17 12:03:31 -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
yajing.li 98e2a6ec95 gpu: enable qchannel [1/1]
PD#SWPL-243800

Problem:
auto code sync to k6.12

Solution:
sync from 5.15
https://scgit.amlogic.com/#/c/594244/
https://scgit.amlogic.com/#/c/582330/

Verify:
android16

Change-Id: Ib328bcaf6d1da5b08039b5f00723487b1c5d3af3
Signed-off-by: yajing.li <yajing.li@amlogic.com>
2025-12-16 19:25:32 -08:00
qinglin.li b2b1ee80b9 dts: t5w codec_mm_cma cma not reserved [1/1]
PD#SWPL-245822

Problem:
t5w codec_mm_cma cma not reserved

Solution:
no-map attribute will be change the order of dts

Verify:
range reserved after using the codec

Change-Id: Id249ef758759f6b7e0a585c49f5648b71929c98c
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-12-16 11:34:49 -08:00
min.yang ec4a21d7fc dts: fix t6x tuner xtal cap config [1/1]
PD#SWPL-224835

Problem:
fix t6x tuner xtal cap config

Solution:
fix t6x tuner xtal cap config

Verify:
T6X_bu301

Change-Id: I56c1a1eff148a1d3e5c996fc2a0734f590b9239f
Signed-off-by: min.yang <min.yang@amlogic.com>
2025-12-16 06:21:35 -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
jian zhou 94383b0d7e audio: fix eARC RX crash when reboot system [1/1]
PD#SWPL-243649

Problem:
reboot system, shutdown callback function will disable
clock, then eARC RX 5V callback function is called,
it will access the register in it.

Solution:
if shutdown entry, don't access register in eARC RX
5V callback function.

Verify:
S7D Soundbar

Change-Id: I97247ed8dc05987ba909a600f3b94453f7986511
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
2025-12-16 06:21:19 -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