Commit Graph

973 Commits

Author SHA1 Message Date
hai.cao c0c0f6ee87 video: add t6w video support [1/1]
PD#SWPL-228895

Problem:
add t6w video support

Solution:
add support

Verify:
t6w

Change-Id: I999351db30836a46d1cf925eb99ffd0aec395698
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-09-28 00:32:05 -07:00
ruofei.zhao a0c3756c2b hdmitx: uboot supports qms, kernel does not need to be configured [2/2]
PD#SWPL-228929

Problem:
the uboot mode is 59hz. When the device is powered on for
the first time and qms is enabled, the output under uboot
will switch to 60hz. After the kernel starts, the mode
passed by uboot to the kernel is 59hz, so qms is switched
to 59hz

Solution:
after uboot configures qms, kernel should not configure
qms again

Verify:
S905X5

Test:
DRM-TX-78

Change-Id: I264f9edd567863e0df1da1cbcf4533da825fac91
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-09-27 22:30:33 -07:00
yao zhang1 88ea1e31f2 license: Fix amlogic drivers license. [1/1]
PD#SWPL-217731

Problem:
Fix amlogic license.

Solution:
Fix amlogic license.

Verify:
all chip

Change-Id: I36cc711e44a201ec944c6b0b54c0d21ab671b068
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2025-09-25 03:48:58 -07:00
zhikui.cui 32181ca03d NAND: unify slcnand&spinand mtdparts code [1/1]
PD#SWPL-224631

Problem:
mtd partition in spinand and slcnand have no difference,
should unify there code

Solution:
1. spinand partitions table define in dts keep same format with slc nand:
partitions {
	#address = <1>;
	#size-cells= <1>;

	partition@n {
		label = "part_name";
		reg = < ... >;
	};
};
instead of:
partition = <&partitions>;
partitions: partitions{
	part_name {
		offset = < ... >;
		size = < ... >;
	};
}

2. the definition of SLCNAND bl_mode in dts remains the same
as that of SPINAND
bl_mode = <0> : NAND_FIPMODE_COMPACT;
bl_mode = <1> : NAND_FIPMODE_DISCRETE;
bl_mode = <2> : NAND_FIPMODE_ADVANCE;
in this way, SLCNAND does not need to define bl2ex_mode in platform data by
meosn_nand.c

Change-Id: I32d1b1b55e6c927d73937f8f748d8285f3c6dff3
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
2025-09-25 14:03:05 +08:00
huijie.huang 6c8bb4f47c lcd: support more output mode and timing [2/2]
PD#SWPL-231810

Problem:
t6x need to support more output mode and timing

Solution:
1. Add 170/180/340/360hz output mode
2. Update max timing to 15
3. Update pll setting

Verify:
t6x

Change-Id: Ib4012179abbdd95aa581083aaab0ef20a30ddc78
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2025-09-22 21:06:35 -07:00
donghui.wang dcf74ea791 bl/ldim/bcon/ambilight: sync kernel5.15 [1/1]
PD#SWPL-228774

Problem:
need sync kernel5.15 code

Solution:
1.sync ldim/bcon/ambilight

Verify:
t6w

Change-Id: I602303a9b8aafb2784f50c64f129a1a178b34711
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2025-09-22 21:06:24 -07:00
lizhi.hu 8c5460e427 eDPTX: fixed panel_config develop [1/1]
PD#SWPL-228179

Problem:
fixed panel_config required for eDP panel

Solution:
add

Verify:
t7_an400

Change-Id: Ic458811cbfc1157ed5c6709462664fdc4b398bbc
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-09-18 16:24:46 -07:00
zhan.wang 6f896a17ca amvecm: hdr10 tmo driver [2/2]
PD#SWPL-229857

Problem:
tmo add set ootf1 flow

Solution:
tmo add set ootf1 flow

Verify:
t6x

Change-Id: I01f311444f2eda181625216a6b7cf97e044de78f
Signed-off-by: zhan.wang <zhan.wang@amlogic.com>
2025-09-18 05:36:48 -07:00
Evoke Zhang f3758e1eea lcd: update ioctl phy tuning [1/1]
PD#SWPL-228972

Problem:
need update ioctl phy tuning to support data lane sel

Solution:
update ioctl phy tuning

Verify:
be311

Change-Id: Ie7fec5ff49d877929468d2f1aed2604b562f2a93
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-09-17 18:51:34 -07:00
Jian Hu 69cb048aa6 mmc: t6d: fix compiling error when CONFIG_MMC is disabled [1/1]
PD#SWPL-191471

Problem:
there is compiling error when CONFIG_MMC is disabled

Solution:
add empty function for aml_sd.h

Verify:
t6d

Test:
Boot

Change-Id: I30f1a37558a9e8758caf15aa03420665721e5b97
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
(cherry picked from commit 7c81baeff3)
2025-09-17 18:46:51 -07:00
yidong zhang b5a0d8fcbe raman_ai: brinup raman_ai kernel 6.12 on android 16 [1/2]
PD#SWPL-229858

Problem:
bringup raman_ai on android 16.

Solution:
bringup raman_ai on android 16.

Verify:
raman_ai

Change-Id: I579ea5ce45ad0f24943c16ac20f9c86fad8f469e
Signed-off-by: yidong zhang <yidong.zhang@amlogic.com>
2025-09-16 21:43:29 -07:00
can.zhang ffcfa1561a amdv: resync cl optimize dma time cost [1/1]
PD#SWPL-231112

Problem:
wr reg interface error

Solution:
resync cl

Verify:
s7d

Change-Id: I32370171a88297f8dba2ca08bc4de8c01133fa73
Signed-off-by: can.zhang <can.zhang@amlogic.com>
2025-09-12 21:06:58 -07:00
zijie.hong 130ccef9be vdin: Provide UAPI headers for v4l2 module [1/1]
PD#SWPL-229736

Problem:
Provide UAPI headers for v4l2 module

Solution:
move headers related to v4l2

Verify:
T5W/T6D

Change-Id: I62f8cc38243a27204f19a64b3c0edb10fca34226
Signed-off-by: zijie.hong <zijie.hong@amlogic.com>
2025-09-12 21:06:53 -07:00
Sunny Luo 0d37703711 spi: Synchronize the 5.15 spicc & spisg driver [1/1]
PD#SWPL-229894

Problem:
Synchronize the 5.15 spicc & spisg driver

Solution:
Porting from 5.15
cl-455958: spisg: fix mutex lock panic of dirspi_async [1/1]
cl-416131: spi: spicc-v2: add vsync trig mode support [1/1]
cl-462610: spicc: reset controller when busy [1/1]
cl-465874: spicc: fix call strace warn by unexpected reset re-get [1/1]
cl-464625: spisg: T6D bringup [1/1]
cl-469415: ldim: optimize spi interface [1/1]
cl-477724: spisg: add std support [1/1]
cl-473141: spicc: driver optimization [1/1]
cl-481399: spi: optimize spisg driver [1/1]
cl-495042: spi: optimize spicc timing [1/1]
cl-502562: spisg: fix transmit incomplete issue when trig stop [1/1]
cl-498008: ldim: multiple spi support [1/2]
cl-521411: spi: optimize spicc cpu load [1/1]
cl-537218: spi: t6w spisg new features bringup [1/1]
cl-540340: spi: t6w spisg trig mode bringup [1/1]
cl-579760: spisg: workaround of multi-descriptors transferring failed [1/1]
cl-579846: spisg: Resolve the naming confusion issue of cs_setup/hold [1/1]
cl-579847: spisg: optimize cs_setup/hold to be consistent with SPICC [1/1]
cl-582022: spisg: t6x: transfer failed by the new feature of auto clk gate
           control [1/1]
cl-580925: SPICC: localdiming support [1/1]

Verify:
T5M-AY301 S7-BH209

Change-Id: If2b279612fb86b0ea8278f93ecb57dbc3e18efdd
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2025-09-12 19:05:30 -07:00
Evoke Zhang 3f665f5524 bl: sync kernel5.15 [1/1]
PD#SWPL-198207
PD#SWPL-150271
PD#SWPL-200483
PD#SWPL-169836

Problem:
need sync kernel5.15 code

Solution:
1.add bl hold on config
2.Synchronize the index of bdrv and bl_level
3.analog_pwm_config function usage error
4.set bl_pwm_ctrl before bl_on_delay

Verify:
t5m, t3x

Change-Id: Ied3edfb68d59ab5d06014e3f9f576c319eb45eb4
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-09-11 03:16:30 -07:00
Tao Zeng 6ed3ff00ca f2fs: remove f2fs ko and use vendor hook for amfc compress [1/2]
PD#SWPL-231150

Problem:
f2fs is no need for extern ko

Solution:
remove it and use vendor hook for amfc

Verify:
s7d

Change-Id: I268d4e2bbc8bc9d7af0b2f1fce46690d5eac9832
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2025-09-11 01:08:51 -07:00
hai.cao b6c9425acc ge2d: sync ge2d code from 5.15 [1/1]
PD#SWPL-228896

Problem:
6.12 can not support t6w

Solution:
add support

Verify:
t6w

Change-Id: Ia079e5a9e16322d15f7bd733cf19843bf48c5364
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-09-10 21:16:09 -07:00
Doosan Baek 35600c23cc kl/kt: improve seckey driver [1/1]
PD#SWPL-215242

Problem:
structure variable type
old license

Solution:
fix seckey driver variable type
modify license

Verify:
s6

Change-Id: If6280e73b82f18dc45b5ac146c0532fbeecbd52a
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2025-09-10 01:34:11 -07:00
hai.cao b75ff7de8d vpp: add bypass video mute control [1/1]
PD#SWPL-230799

Problem:
add video mute bypass to debug

Solution:
add support

Verify:
tv chips

Change-Id: I83a956b949e7edcf6983b1aab728f70964c4f71c
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-09-09 02:11:41 -07:00
huijie.huang 1242492a55 lcd: support t6w and t6x chip [1/1]
PD#SWPL-228770

Problem:
Kernel 6.12 need to support t6w

Solution:
Kernel 6.12 T6W bringup

Verify:
t6w

Change-Id: Ied122f870bc5d141bc2201ff5e99f1293d74132b
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2025-09-08 04:58:58 -07:00
ruofei.zhao cff695651d hdmitx: optimize hdmitx_edid_check_data_valid code [1/1]
PD#SWPL-229484

Problem:
hdmitx_edid_check_data_valid is called multiple times, code is redundant

Solution:
optimize hdmitx_edid_check_data_valid code

Verify:
S905X5M

Test:
DRM-TX-78

Change-Id: I6bdab3a2275b25d2d60e893b81f3fadc8511f4ea
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2025-09-08 04:58:51 -07:00
Jianxiong Pan 4faea8d07f mm: provide interface to set cma task priority. [1/1]
PD#SWPL-229258

Problem:
some scenarios hope to dynamically modify the cma task priority.

Solution:
provide interface to set cma task priority.

Verify:
local.

Change-Id: I72ad141f3535a9173f622ff73c79c96440aa76da
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-09-08 01:19:00 -07:00
dongfei.li 282862c937 frc: frc sync k5.15 [1/1]
PD#SWPL-230806

Problem:
sync k5.15

Solution:
sync k5.15

Verify:
T5M

Change-Id: Id133261c3c87e636b85853978b45414ab1ff6039
Signed-off-by: dongfei.li <dongfei.li@amlogic.com>
2025-09-05 05:16:31 -07:00
hai.cao ab179b938e rdma: sync codec_io canvas rdma for t6w [1/1]
PD#SWPL-228894

Problem:
sync codec_io canvas rdma for t6w

Solution:
sync codec_io canvas rdma for t6w

Verify:
t6w

Change-Id: I7678a6c93fdd0002bc23023c998359a66e717c31
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2025-09-05 04:52:11 -07:00
qinglin.li 3d18d31974 ddr_bandwidth: move dmc_side_band define [1/1]
PD#SWPL-226991

Problem:
move dmc_side_band define

Solution:
move dmc_side_band define

Verify:
local

Change-Id: I407e8fb8783f4bdeb7a456c0a298dc76e5a79f68
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-09-05 04:51:57 -07:00
Ao Xu d7f68502e7 meson_tx_connector: update dptx and hdmitx driver [1/1]
PD#SWPL-229825

Problem:
update dptx and hdmitx driver

Solution:
update dptx and hdmitx driver

Verify:
s7d

Test:
DRM-TX-38

Change-Id: Ic0f8ccdfd250b3fa5bc54f63d4c73c4904948b50
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2025-09-05 04:50:02 -07:00
Jianxiong Pan 4fa9cce6f5 mm: profile cma pool usage. [1/1]
PD#SWPL-225018

Problem:
statistic cma pool usage.

Solution:
echo cma_name > /proc/cma_stat
cat /proc/cma_stat
or call get_cma_stat() to get info;

Verify:
local.

Change-Id: I39ad7e9fbc6ad8b1bf75e40d2f3074ccd77b0f2b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-09-05 04:49:33 -07:00
yicheng shen d6f9e99cee cec: add gpio_w17 support [1/2]
PD#SWPL-213081
PD#SWPL-228901

Problem:
T6W has two kinds of chips,one uses gpio_w16 for CE,the
other one uses gpio_w17,but current driver only supports
gpio_w16;

Solution:
add gpio_w17 support for CEC

Verify:
T6W

Change-Id: Ie9fb286f00586465b11aaa456b3bb0a6bd5a2de8
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2025-09-01 04:33:16 -07:00
yao liu 537cb57c50 amdv: optimize code [1/1]
PD#SWPL-194769

Problem:
pyramid related logic is a bit messy

Solution:
optimize pyramid code

Verify:
t3x

Change-Id: Ied8045e1cca36673fd68a753075c88428b50fa71
Signed-off-by: yao liu <yao.liu@amlogic.com>
2025-09-01 02:21:29 -07:00
yao liu e36e986a02 amcsc: fix compile error [1/1]
PD#SWPL-222700

Problem:
compile error when DOLBYVISION disabled

Solution:
fix cmopile err

Verify:
s7d

Change-Id: If4cd94b75ef5982fd3ab6297e7497ddaa2d365d8
Signed-off-by: yao liu <yao.liu@amlogic.com>
(cherry picked from commit 7dbd82b70c42a1c6d455e87fe2c33e4c3c1cbdc6)
2025-09-01 02:21:24 -07:00
Jian Cao a135889e21 rdma: add more interfaces for RDMA read function [1/2]
PD#SWPL-221001

Problem:
add RDMA read function

Solution:
1.add read function in RDMA module
2.enable for t6w vdin0

Verify:
t3/t6w

Change-Id: Ib5558abde7f69e1c393986af1e6c7d9823a56702
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2025-09-01 02:07:17 -07:00
jinbing.zhu 22e28dcff2 amvecm: sync kernel 5.15 to 6.12 with pq [1/1]
PD#SWPL-226504

Problem:
sync kernel 5.15 to 6.12 with pq

Solution:
sync kernel 5.15 to 6.12 with pq

Verify:
t5m

Change-Id: I2efecf27542eee4378ff0b7a8e9c053715df25fc
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-08-31 19:44:08 -07:00
Zhongfu Luo 884e4716c4 efuse: T6W: efuse driver bringup [1/1]
PD#SWPL-207464

Problem:
T6W: efuse driver bringup

Solution:
enable efuse node in dtsi
update efuse cali subitem

Verify:
T6W BS319

Change-Id: I512c841e24bf08530b2480ad0714141c31d06499
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2025-08-27 23:04:15 -07:00
chenyang.liu f6e39c784b lcd: add phy clk range match rules [2/2]
PD#SWPL-224205

Problem:
add phy clk range match rules

Solution:
add phy clk range match rules

Verify:
bs311
ay301

Change-Id: Ib8b46eb25e6adcb30a7f38c1c354f11bd27da106
Signed-off-by: chenyang.liu <chenyang.liu@amlogic.com>
2025-08-27 22:24:48 -07:00
qinglin.li 9b384d63d0 ddr_tool: build fail if ddr_bandwidth not define [1/1]
PD#SWPL-182359

Problem:
build fail if ddr_bandwidth not define

Solution:
use static inline define function

Verify:
local

Change-Id: Iab9bb597a0c8238224c70f66cafb3c549044a3d2
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-27 02:27:58 -07:00
qinglin.li d1bc1e8cce freertos: C3 fix rtos lose frame [1/2]
PD#SWPL-175077

Problem:
C3 doorbell lose frame

Solution:
Optimize ISP and encoder processes

Verify:
c3

Change-Id: Ief888fb4d5e9a7e93af94487dc92eeadbe22c7e1
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-27 02:27:47 -07:00
Long Yu 0d18c631c9 eMMC: Support for CQE mode with Inlinecrypt. [1/1]
PD#SWPL-229101

Problem:
not support for CQE mode with Inlinecrypt.

Solution:
Support for CQE mode with Inlinecrypt

Verify:
S6 bl201

Change-Id: I2dfcc962c4385a149e67d95c04d0337cbd1913e7
Signed-off-by: Long Yu <long.yu@amlogic.com>
2025-08-26 20:35:24 -07:00
qinglin.li 5724876ed7 debugfs: add class debug replace debugfs [1/1]
PD#SWPL-227680

Problem:
add class debug replace debugfs

Solution:
limit aml_reg and aml_ddr, set cmdline 'debug_class=2'
/sys/class/debug/atrace_tag --> /sys/class/debug/atrace/atrace_tag
/sys/kernel/debug/aml_debug --> /sys/class/debug/aml_debug
/sys/kernel/debug/aml_reg --> /sys/class/debug/aml_reg
/sys/kernel/debug/aml_ddr --> /sys/class/debug/aml_ddr
/sys/kernel/debug/watchdog --> /sys/class/debug/watchdog

Verify:
Detail info

Change-Id: I90d6944729b699b7c4b0c3cceb56eff9956edd57
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
2025-08-25 19:54:30 -07:00
Ruixuan.li e0feed4f7e emmc: store pattern in last gap [1/1]
PD#SWPL-226607

Problem:
some project remove reserved partition

Solution:
save pattern in last gap

Verify:
s7

Change-Id: I084be4129f079711d0738e99face5fac395e9357
Signed-off-by: Ruixuan.li <ruixuan.li@amlogic.com>
2025-08-25 19:53:07 -07:00
jinbing.zhu 66a395ee6d amvecm: sync 5.15 lcevc to 6.12 [1/2]
PD#SWPL-223334

Problem:
sync 5.15 lcevc to 6.12

Solution:
sync 5.15 lcevc to 6.12

Verify:
s7d

Change-Id: Ife432ccc2c8be5052d9c2e0615ed716cf6a3768e
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2025-08-22 08:09:45 -07:00
Doosan Baek fc72a77dd3 kt: add key flag command [1/1]
PD#SWPL-189327

Problem:
need key flag info

Solution:
add key flag command

Verify:
s6

Change-Id: If77ae46dfba7c696c1e6093b977d694f7fb2cd97
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit aee0ed53b6)
2025-08-21 19:39:31 -07:00
Doosan Baek 809837677b kl/kt: add mid extra function [1/1]
PD#SWPL-187016

Problem:
need mid_extra
need tdes kt capability
need m2m_any kl capability

Solution:
add mid extra mode
add tdes kt capability
add m2m_any kl capability

Verify:
s6

Change-Id: I1f49890b61bf70110596c036c970d895388317c1
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit 29fe9c3b05)
2025-08-21 19:39:24 -07:00
Doosan Baek fb26a7369a KL: add etsi challenge-response function [1/1]
PD#SWPL-149012

Problem:
KL driver should be able to check
if KL's fuse is okay without M2M or descrambler in REE.

Solution:
add etsi challenge-response function

Verify:
T5D

Change-Id: I8492896086ba3e6e4701ee4511794e803ed6d900
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit d7d4979d9d)
2025-08-21 19:39:11 -07:00
Xiangyu Cai 44c2c587c1 frame_lock: sync code [1/1]
PD#SWPL-226563

Problem:
sync code

Solution:
fix code

Verify:
t5m

Change-Id: Id8fec606a4cf7dadbe4df7295769f3bb659fc235
Signed-off-by: Xiangyu Cai <xiangyu.cai@amlogic.com>
2025-08-21 19:32:42 -07:00
Jianxiong Pan 623502fb52 mm: sync memory related patches from 5.15. [1/1]
PD#SWPL-225609

Problem:
sync memory related patches from 5.15.

Solution:
sync memory related patches from 5.15.

Verify:
local;

Change-Id: I010fa5dc436d486bc46b7d49f8e0b32057c05ac7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2025-08-20 09:08:02 -07:00
lizhi.hu 42c423017c eDPTX: fix resume link training [1/1]
PD#SWPL-226583

Problem:
link training failed when resume

Solution:
fix

Verify:
t7_an400

Change-Id: I28898fad70eddf190201f00a4eddaf27bb077720
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
2025-08-20 09:06:54 -07:00
Evoke Zhang e4d3f53736 lcd: add frame change debug test support [1/1]
PD#SWPL-224872

Problem:
need support frame change test for debug

Solution:
add frame change debug test support

Verify:
ay301

Change-Id: I1e0d9f1707a4aa9eba8ac28b3d4da7d012956cee
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2025-08-20 02:13:14 -07:00
Mingyen Hung 02e14860d3 cryptodev: support HMAC [1/1]
PD#SWPL-226830

Problem:
Need to make cryptodev support HMAC

Solution:
1. Add new ioctl to support HMAC from kte
2. Not support state export and import now.
3. All data should be sent once.

Verify:
1. S7 + bh201 + kernel 5.15

Change-Id: Ie2acd1bcd3b8f319a3bbfbcd612b08bd5783b4c9
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
(cherry picked from commit 0751e1018df03d6d37a46f6e5e5b1077bbdac617)
2025-08-18 08:40:04 -07:00
zhicheng.huang 628cb19270 dvb_extern: add i2c interface(V1.31) [1/2]
PD#SWPL-213861

Problem:
reduce dependence on kernel interfaces

Solution:
1.add i2c interface
2.VER V1.31

Verify:
t5m, s7

Change-Id: Ic388e569d7885cfa53467a27b7be36f7e5fb8307
Signed-off-by: zhicheng.huang <zhicheng.huang@amlogic.com>
2025-08-18 08:38:36 -07:00
congyang.huang 15e81d58e7 hdmitx: clean validate vmode [1/1]
PD#SWPL-216213

Problem:
need clean validate vmode for hdmitx

Solution:
1.move viu_mux flow from validate_vmode to get_viu_mux
2.move vout_device flow to post_enable
3.move vmode setting flow from validate_mode to encoder_atomic_check

Verify:
s7d t7c

Test:
DRM-TX-151

Change-Id: I7c7670feb3411745414f5074430049e59d94c28c
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
2025-08-16 22:55:15 -07:00