Commit Graph

873 Commits

Author SHA1 Message Date
Hao Shi ac1b38c235 amvdec: optimize vdec_info and vframe_counter_s [1/1]
PD#SWPL-168978
PD#SWPL-169060

Problem:
The size of vdec_info and vframe_counter_s of
the kernel and player are out of sync causing
tsplayer AMSTREAM_IOC_GET_MVDECINFO to fail.

Solution:
force structures to be byte-aligned

Verify:
t5w s4d

Change-Id: I14f2388d82288cbaa97dbc309a486f908bf597db
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-07-24 15:53:04 +08:00
yao liu a64e80c979 amdv: blank screen when osd3 on/off [1/1]
PD#SWPL-168062

Problem:
when osd3 on/off, core2a and core2c reset, but lut
updated fail; drm enable osd3 is one vsync earlier
then dv core2c

Solution:
1.drm set core2c lut when osd3 off->on
2.add force_toggle_once debug

Verify:
s5

Test:
s5

Change-Id: I5fe2a7abd1f4b887da5f32a655a24418fee86b64
Signed-off-by: yao liu <yao.liu@amlogic.com>
2024-07-22 19:07:26 +08:00
jinbing.zhu fad98367a6 amvecm: s6 osd sharpness bringup. [1/1]
PD#SWPL-173016

Problem:
s6 osd sharpness bringup

Solution:
s6 osd sharpness bringup

Verify:
s6

Change-Id: Ia15a81fee3bbad1302ce0253a6034ecf64555e6d
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-07-18 17:20:02 +08:00
Pengcheng Chen f09cf578f5 vpp: add dejaggy enable when input is interlaced [1/1]
PD#SWPL-176085

Problem:
s6 inline aisr quality is poor

Solution:
vpp: add dejaggy enable when input is interlaced

Verify:
s6

Change-Id: I734869c0a38d101922f92ff0857f1077d717334b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2024-07-18 17:12:10 +08:00
jinbing.zhu 503f39e4cb amvecm: s6 kernel bringup [1/1]
PD#SWPL-173016

Problem:
s6 kernel bringup

Solution:
s6 kernel bringup

Verify:
s6

Change-Id: Ibeefcf768f79e5e9e86caf9a37f30d8151fec223
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2024-07-18 08:12:38 +00:00
yao.zhou 8b9ce68999 camera: using v4l2 vdin [2/5]
PD#SWPL-176110

Problem:
bring up mipi sensor in s6

Solution:
1.add csi camera dts config
2.add csi driver support
3.the fe of mipi csi configure TVIN_SIG_STATUS_STABLE status defaultly
4.fix cfmt error
5.add VDIN_WORK_MD_V4L conditional statement
6.only modify s6_s905d5_bq201.dts s6_s905d5_bq208.dts s6_s905d5_bq209.dts
s6_s905x5_bl201.dts s6_s905x5_bl208.dts s6_s905x5_bl209.dts this time

Verify:
local

Change-Id: Ia54b8bf80dcbf26b3576e6eacc43b8f0082374b6
Signed-off-by: yao.zhou <yao.zhou@amlogic.com>
2024-07-18 10:30:07 +08:00
zongdong.jiao c53cd9ad8e hdmitx21: s6 need to support 1080p120hz [2/2]
PD#SWPL-176326

Problem:
s6 need to support 1080p120hz

Solution:
s6 need to support 1080p120hz

Verify:
S6

Test:
DRM-TX-130

Change-Id: I594f9671b36d3ea27c838bcf349a06cdcf2c707c
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:05:09 +08:00
hang cheng c2d04ecc69 hdmitx: provide hdcp topo info for drm [1/1]
PD#SWPL-174927

Problem:
currently apk like netflix get hdcp status
from hdmitx driver instead of drm, need to
use unify interface of drm to get hdcp status.
hdcp mode/auth status api already exist in drm,
but hdcp topo info is not provided to drm.

Solution:
provide hdcp topo info for drm

Verify:
s7d

Test:
DRM-TX-126

Change-Id: Ifb8c4bafdccd66a4d81d73c4501d264c72ddc80e
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:04:20 +08:00
zongdong.jiao e1cc963dbf hdmitx: add hdcp1.4 key validation method [2/2]
PD#SWPL-175733

Problem:
need method to validate hdcp1.4 key

Solution:
add hdcp1.4 key validation method, check
aksv loaded from tee contains 20 zeros and 20 ones

Verify:
s7

Test:
DRM-TX-137

Change-Id: I46c6f38d74c61f3edccbb819da0c98f3f9085018
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:03:49 +08:00
Wenjie Qiao 5f15dac23c hdmitx: sync edid valid_mode check between uboot/kernel [2/2]
PD#SWPL-154107

Problem:
sync edid valid_mode check between uboot/kernel

Solution:
sync edid valid_mode check between uboot/kernel

Verify:
sc2/s5

Test:
DRM-TX-27, DRM-TX-29, DRM-TX-42, DRM-TX-44
DRM-TX-59, DRM-TX-70, DRM-TX-113

Change-Id: I2a708d55575e8d781380a34b397296589aa69d71
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-07-17 22:03:34 +08:00
zhou.han 37b56eb971 hdmitx: autotest fix [1/1]
PD#SWPL-161339

Problem:
EDID auto test fail

Solution:
print Source Physical Address

Verify:
ohm

Test:
autotest

Change-Id: I23cffa299418a7c79becfabb37c545baca4c6bda
Signed-off-by: zhou.han <zhou.han@amlogic.com>
2024-07-17 20:54:34 +08:00
zhiwei.zhang 789ffffbb2 camera: camera bringup on s6 [1/1]
PD#SWPL-173326

Problem:
add camera code for s6

Solution:
1. driver compatible for sm1 & s6;
2. for s6, add dts setting for squlech and deskew.
3. ov5640 add 640x480 rgb setting
4. 2 lanes & 4 lanes setting
5. enable mclk 24M using ioremap;

Verify:
local

Change-Id: I81dbaea3ddf46a4078d925ed64d230f6261a3f75
Signed-off-by: zhiwei.zhang <zhiwei.zhang@amlogic.com>
2024-07-17 20:03:22 +08:00
Long 5d3caa2b18 sdio: Optimize the throughput performance of sido wifi. [1/1]
PD#SWPL-174291

Problem:
need to improve sido wifi performance.

Solution:
Switch sdio source clock to DIV2 to provide bandwidth

Verify:
S7 ax201

Change-Id: I471517743851f381ec5d50aac3df9b26e5fe4aee
Signed-off-by: Long <long.yu@amlogic.com>
2024-07-17 19:18:59 +08:00
Long a1fe14d397 eMMC: Add method to sd clock sample cmd signal. [1/1]
PD#SWPL-143726

Problem:
Optimize the sampling method of cmd signal.

Solution:
sd_clk sample cmd response

Verify:
txhd2

Change-Id: Id851a1c81792f4267f766b4a9b904ebbffcc84aa
Signed-off-by: Long <long.yu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-17 19:18:52 +08:00
Long 2ef6cdc203 G12a: sdio and sdcard use time-sharing multiplexing. [1/1]
PD#SWPL-133324

Problem:
not support time-sharing multiplexing function.

Solution:
enable time-sharing multiplexing function.

Verify:
g12a_u212

Change-Id: I78392775c01b6b58aaf224b47537669bfe7737e1
Signed-off-by: Long <long.yu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-17 19:11:53 +08:00
jialong.jiang e0f25278a2 amdv: compilation failure problem. [1/1]
PD#SWPL-167603

Problem:
compilation failure problem.

Solution:
compilation failure problem.

Verify:
redi_wv4

Change-Id: Ia2077b1d4e2956a16a2c3a73d82bd5a0e20c78db
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-07-17 16:58:02 +08:00
jialong.jiang d2c647b9c5 amdv: dolby signal flashes blue. [1/1]
PD#SWPL-158175

Problem:
the first dv signal did rgb2yuv by hdr core,
resulting in blue flashing.

Solution:
dv signal is not processed by rgb2yuv.

Verify:
t5m.

Change-Id: I886940deb9e943dd91c7426b7c71374fcba51b02
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
2024-07-17 16:42:35 +08:00
Junyi Zhao 385cd3c9fc pwm: fix hibernate clock reg [1/1]
PD#SWPL-170512

Problem:
clock config for hibernate

Solution:
add hibernate clock support

Verify:
T7C an400

Change-Id: I362522e91ea4e6f1aaa77216a686438d5876716e
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
2024-07-17 13:26:39 +08:00
yiting.deng fadfc17306 clk: s7: update pwm_clk to secure [3/3]
PD#SWPL-174549

Problem:
secure permission needs to be set for the pwm_clk register
related to voltage regulation. Relevant clk configurations
need to be stored in bl31. kernel configurations need to
be deleted.

Solution:
fix it

Verify:
s7

Change-Id: If3477940b33f4a612743cb1c5c58ce45e59a8505
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2024-07-17 00:10:46 +08:00
Hao Shi fcc4b649ce amvdec: optimize vdec_info and vframe_counter_s [2/2]
PD#SWPL-160457

Problem:
memcpy beyond individual struct members

Solution:
create a named mirror of an anonymous struct union

Verify:
sc2&sm1

Change-Id: If86c3581ac473bb8e4c2b2021bedcbe44ad406e2
Signed-off-by: Hao Shi <hao.shi@amlogic.com>
2024-07-15 14:30:00 +08:00
dian.shao db339fb46b usb: u3phy trim [1/1]
PD#SWPL-172978

Problem:
The u3phy needs trimming.

Solution:
Add driver codes.

Verify:
S6.

Change-Id: I159f6c74f78c8dbde2e180514f8ca215bab2ffa5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-14 17:57:46 +08:00
wenlong.zhang ed224cab12 drm: solution for gfcd odd size display abnormal [1/1]
PD#SWPL-171666

Problem:
gfcd source odd width display abnormal

Solution:
1.add workround for odd width input;
2.add gfcd odd size and gfcd global alpha enum;
3.move the gfcd block forward because it is more sensitive to timing;
4.optimizing gfcd afbc switches;
5.add gfcd div alpha setting;

Verify:
s7d

Test:
DRM-OSD-15

Change-Id: I83fda11948abd49abe021830a5acdd2607776094
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-14 16:31:48 +08:00
Tao Zeng e10d75785a amfc: add support for s7d revb [1/1]
PD#SWPL-175588

Problem:
Need support s7d revb

Solution:
1, add clk set for revb;
2, use clk interface for clk set

Verify:
S7D bm201

Change-Id: I168a942f6796208dd4dff67a13f065be14a40f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2024-07-14 16:25:15 +08:00
qiyao.zhou 73c0ca3be7 vicp: add enhanced security support for S6 [1/1]
PD#SWPL-174883

Problem:
add enhanced security support for S6

Solution:
add enhanced security support for S6

Verify:
s6

Change-Id: If4c88fecc4f0224402292c12a731494bda520499
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2024-07-13 20:53:27 +08:00
dian.shao 31aa2ea19d usb: usb3.0 phy cfg update [1/1]
PD#SWPL-175043

Problem:
usb3.0 phy cfg update.

Solution:
update driver.

Verify:
bl201 & bl208

Change-Id: I72bde2600870859b4a2aa3f4c448f1f553890ee7
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 20:53:27 +08:00
Chuan Liu b91b2a99f8 clk: s6: Fix mclk0 output exception [1/1]
PD#SWPL-172965

Problem:
1 The mclk0 power supply uses the power supply inside the mclk_pll, so the
mclk0 output must ensure that mclk_pll is also enabled.
mclk_pll_clk can output clocks mclk_pll_src and fclk50m. The existence of
these two clock sources is meaningless.
2 If mclk0 uses mclk_pll as the clock source, div2 must be selected for
the clock of the later stage; otherwise, the output clock waveform of
mclk0 is abnormal.

Solution:
1 Delete the mclk_pll_src and fclk50m clock sources and set mclk_pll_clk
as the clock source of mclk0.
2 mclk0 selects div2 by default.

Verify:
s6_bl201

Change-Id: I9a8e3e1616b4c9b3b9c86990f86dc337f9f9c877
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:17:21 +08:00
Chuan Liu 05e0830f0f clk: s6: Fix some parent issue with sys_clk [1/1]
PD#SWPL-172965

Problem:
1 All I2C Masters (i2c_m_a-f) in a chip share an APB bus, which is
provided by sys_i2c_m_a. PWM is designed with a similar architecture, and
the APB bus of PWM is clock provided by sys_pwm_a.
2 The CLKID definition of smart card is inconsistent.

Solution:
1 The parent of sys_i2c_m_b-f is set to sys_i2c_m_a.
2 The parent of sys_pwm_b-i is set to sys_pwm_a.
3 CLKID_SC_DIV was renamed CLKID_SC.

Verify:
s6_bl201

Change-Id: I94482625f3a9fe387113edce21ed16e9dc63a074
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:16:40 +08:00
hongyu.chen1 4f02b1415f S6: add adapt power domain config. [3/3]
PD#SWPL-174348

Problem:
adapt need mempd control.

Solution:
add adapt config in kernel.

Verify:
bl201

Change-Id: Ibf2abce9524480b657a7d271215a0eb87aaeb6d4
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-13 19:16:37 +08:00
Doosan Baek 107fe326b2 kt: s6 kl/kt bringup [1/1]
PD#SWPL-169992

Problem:
s6 kt/kl kernel bringup
need multi2 algo type

Solution:
s6 kt/kl kernel bringup
add multi2 algo type

Verify:
s6

Change-Id: I0622e86c05194784934f08aa0dd5d38b1239857e
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2024-07-13 19:16:37 +08:00
Yao Jie 646178e138 mailbox: add aocpu alive detection and mailbox retry [4/4]
PD#SWPL-172976

Problem:
add aocpu alive detection and mailbox retry mechanism to
avoid mailbox message lost due to aocpu crash or mailbox
signal lost occasionally

Solution:
add aocpu alive detection and mailbox retry mechanism

Verify:
S6-BL201

Change-Id: Ia90380a7ead99e7f00eb82bcde02201f4636dd30
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-13 19:16:37 +08:00
Chuan Liu 791a2752e8 clk: s6: Fixed known issues [1/1]
PD#SWPL-172965

Problem:
1 mclk_pll and dspa_clk output are incorrect
2 mmc failed to insmod
3 Lost sys_i2c_s_a

Solution:
1 Update the table for mclk_pll
2 Update the parent table of the dspa
3 Ignore initializing gp0_pll
4 Added sys_i2c_s_a

Verify:
s6_bl201

Change-Id: I23586623d908ef871e178acf0da8883aabc12fc9
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:16:35 +08:00
dian.shao 97d84cd48e usb: s6 bringup usb3.0 & misc [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB
- usb3.0 & misc

Solution:
Dts&driver.

Verify:
s6

Change-Id: If7cdf1af5dc6c21a91eb89869bf9e6ca32be9d00
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 19:16:34 +08:00
Chuan Liu 8df10c037a clk: s6: Clock bringup [2/2]
PD#SWPL-172965

Problem:
1 Lost mclk and aclkm clocks
2 Discard meson_clk_pll_v3_ops
3 clk_measure table has been updated
4 hifipll and gp0pll cannot be locked
5 Optimize clock naming

Solution:
1 Added mclk and aclkm clocks
2 Replace meson_clk_pll_v3_ops with meson_clk_pll_v4_ops
3 Updated hifipll and gp0pll configuration timing

Verify:
s6_bl201

Change-Id: Ia5407b3b529c38a241e0a038aad371b5822c0c02
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:12:10 +08:00
dian.shao d7b450e5fb usb: s6 bringup [1/1]
PD#SWPL-172978

Problem:
S6 Silicon Bringup
- Kernel
- High speed peripheral driver
- USB

Solution:
Dts&driver.

Verify:
s6

Change-Id: If41c5d1fa45be1eeb9453b1c9c435cf0b05042a5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
2024-07-13 19:12:09 +08:00
Chuan Liu ee3ca92d7d clk: s6: Optimize clock driver [2/2]
PD#SWPL-158289

Problem:
1 The register corresponding to oscin was updated;
2 Put some of the key clocks into bl31 for processing.

Solution:
fixed

Verify:
pxp

Change-Id: Ie5ea8b6c507ce136ba397e8e54362b72f05cf45c
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:04:51 +08:00
Qianggui Song 6169a4ce90 pinctrl: s6: driver bringup [1/1]
PD#SWPL-154155

Problem:
s6 pinctrl bringup

Solution:
add pinctrl driver data

Verify:
s6_pxp

Change-Id: I4e0cb65df30ba4bfa1acd6c0c81231bcda012f7b
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2024-07-13 19:04:11 +08:00
Chuan Liu f9bb63b9f5 clk: s6: clock tree bringup [2/2]
PD#SWPL-154653

Problem:
clock tree bringup

Solution:
added

Verify:
pxp

Change-Id: I421aad497bbd7d1bd46430bf5c708cede10c7301
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
2024-07-13 19:03:26 +08:00
Yao Jie af6a866061 mailbox: s6 mailbox pxp bringup [1/1]
PD#SWPL-156519

Problem:
S6 mailbox pxp bringup

Solution:
S6 mailbox pxp bringup

Verify:
PXP

Change-Id: I08917759de24df334397db8f49f64b057172f3f3
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2024-07-13 19:02:39 +08:00
hongyu.chen1 1a29030af1 S6: power domain: add config. [3/3]
PD#SWPL-153862

Problem:
s6 need power domain support.

Solution:
add power domain in kernel.

Verify:
pxp

Change-Id: I5ba46225cb08a4a92d43fe25d7f6385d65bf6efb
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2024-07-13 19:02:01 +08:00
yuhua.lin 749f0a9aa1 s6: add codec_io/canvas/rdma support for s6 [1/1]
PD#SWPL-156543

Problem:
s6 codec_io/canvas/rdma bringup

Solution:
complete it

Verify:
pxp

Change-Id: Ic9facdff23c43b330d8203744d9ca6a3a0172b8f
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
2024-07-13 18:59:02 +08:00
Zelong Dong 0ef37f7ca6 reset: add reset controller support for s6 [1/1]
PD#SWPL-154396

Problem:
don't support s6 platform

Solution:
add reset controller support for s6

Verify:
s6_pxp

Change-Id: I7b5b78f28b1b9b0fa512aa7d13c67eab77dbf065
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2024-07-13 18:58:44 +08:00
yao zhang1 173c0f4f1c bringup: Add s6 dts and dtsi. [1/1]
PD#SWPL-149346

Problem:
Bringup s6.

Solution:
Add s6 dts and dtsi.

Verify:
s6 pxp

Change-Id: I545254ab574a29c65d586db054bf8e29f09a090d
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2024-07-13 18:58:29 +08:00
song.han a9c7776df6 iotrace: call stack support [1/1]
PD#SWPL-175591

Problem:
5.15-u scs can't work
arm 32bit caller_addr can't work

Solution:
arm64 use CALLER_ADDR micro
arm32 support find stack operation

Verify:
SC2

Change-Id: Ic8142284af335f22cf5fe0aceb438e2119ec7373
Signed-off-by: song.han <song.han@amlogic.com>
2024-07-09 10:52:25 +08:00
Long 95c83c56ca eMMC: support amlogic CQE v2. [1/1]
PD#SWPL-160981

Problem:
The CQE v1 does not support placing tasks in memory
and does not support data encryption.

Solution:
support CQE v2

Verify:
S7 ax201

Change-Id: I0737d7b2b9e955838a9f3294d1f5faf5fd84aa17
Signed-off-by: Long <long.yu@amlogic.com>
2024-07-05 20:14:02 +08:00
Qianggui Song 6575722d58 gpio: porting gpiolib-sysfs from common [1/1]
PD#SWPL-166758

Problem:
Some customer neeed to support gpio sysfs in gki mode

Solution:
Porting common gpiolib-sysfs to common_driver

Verify:
T7_an400 & txhd2_be311

Change-Id: I72f60644fa383abe05409bfe0bf978c7ea901d92
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:54:31 +08:00
Tao Zeng 3f57dda326 amfc: add aml erofs ko to suppor hardware [1/2]
PD#SWPL-173093

Problem:
build in erofs do not support amfc hardware

Solution:
add aml erofs ko to support it

Verify:
s7d bm201

Change-Id: I89ef060fabaca2f4d7cbaf26b552ba147c73f539
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2024-07-04 10:52:19 +08:00
shihong.zheng 20341a5b55 media: h266 format define. [1/1]
PD#SWPL-172885

Problem:
media_moduls h266 code depend on h266 format define.

Solution:
define h266 format for decoder

Verify:
s6 pxp

Change-Id: Ia001b35292691811425de6b7e8c98e9e3e65575d
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2024-07-03 20:32:24 +08:00
Xingxing Wang 0ca2b9e37a thermal: add indmc sensor driver to do thermal cooling [1/1]
PD#SWPL-166661

Problem:
DDR kernel refresh control patch list

Solution:
add indmc sensor driver to do ddr thermal cooling

Verify:
S7D

Change-Id: I5ba8d167f9ce83785f51af6d2809030147aaacde
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
2024-07-02 19:35:55 +08:00
zongdong.jiao 02fd74a5e1 hdmitx21: add vrr range and vic lists [1/1]
PD#SWPL-170918
PD#SWPL-161717

Problem:
Sink may support only 4k120, but its QMS range may be from
24 to 120.
Or sink may support upto 4k60, but 1080p120hz.

Solution:
Add the qms/game vrr range and vic lists to DRM group
Don't clear the EDID when forced_edid is true
Skip BRR 120 check when QMS tfr_max is false

Verify:
s7d/ross

Test:
DRM-TX-75

Change-Id: Ia65fa38bf18ae7399c9c4178665f8a3f18a03a74
Signed-off-by: zongdong.jiao <zongdong.jiao@amlogic.com>
2024-06-27 20:10:21 +08:00
ruofei.zhao 6b2d0c2e1c hdmitx21: remove is_cur_hdmi_mode [1/1]
PD#SWPL-170502

Problem:
During the switch to 444,8bit, drm will first set_nulldisp_vout_server,
and then disable hdmitx module. Since it is not currently hdmi_server,
callback send_drm_pkt cannot clear hdr pkt.

Solution:
Remove the is_cur_hdmi_mode judgment in the send_drm_pkt function,
and the hdr pkt can be cleared normally

Verify:
SC2
S5

Test:
DRM-TX-34,DRM-TX-78,DRM-TX-79,DRM-TX-80,DRM-TX-81

Change-Id: Ie85a6073c0c11a8100d344cefffecac613c82a22
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
2024-06-26 20:19:35 +08:00