Commit Graph

2776 Commits

Author SHA1 Message Date
yiting.deng 8972f1c2d1 vrtc: txhd2 vrtc pxp bringup [1/1]
PD#SWPL-121882

Problem:
txhd2 vrtc pxp bringup

Solution:
txhd2 vrtc pxp bringup

Verify:
pxp

Change-Id: I32944be022fac3d65981fbe2463ffd217671041f
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
2023-06-29 10:33:58 +08:00
Long 2474e9856d TXHD2: port-C is compatible with emmc/sdcard. [1/1]
PD#SWPL-119933

Problem:
port-C isn't compatible with emmc/sdcard

Solution:
controller-C is compatible with emmc/sdcard

Verify:
T7 pxp

Change-Id: Ia15c4ff3ae628af0baf2fbf2b9e6df7da23c7760
Signed-off-by: Long <long.yu@amlogic.com>
2023-06-29 10:33:57 +08:00
hai.cao b1db8cc014 vpu: add vpu support [1/1]
PD#SWPL-119963

Problem:
add vpu support

Solution:
add vpu support

Verify:
TXHD2

Change-Id: Iee1a83e075125ef00e494157c253c034f7e84adb
Signed-off-by: hai.cao <hai.cao@amlogic.com>
2023-06-29 10:33:57 +08:00
Zelong Dong 3716c2ce62 reset: add reset controller support for txhd2 [1/1]
PD#SWPL-119925

Problem:
don't support txhd2 platform

Solution:
add reset controller support for txhd2

Verify:
txhd2

Change-Id: I616a5799cefa42fa7bce6bf8382319adb7202200
Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
2023-06-29 10:33:57 +08:00
junyi.zhao 00f091285c pwm: support txhd2 pwm driver [1/1]
PD#SWPL-119918

Problem:
there is no txhd2 pwm driver

Solution:
need to support txhd2 pwm driver

Verify:
txhd2 pxp

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: I11513e9cce0080b5abd4560712287e794da151e2
2023-06-29 10:33:57 +08:00
Long 35a9b69cbb TXHD2: support eMMC. [1/1]
PD#SWPL-119932

Problem:
not support eMMC

Solution:
support eMMC

Verify:
txhd2 pxp

Change-Id: I9cfec928c113209844c235e882b0a09d4b0d8a14
Signed-off-by: Long <long.yu@amlogic.com>
2023-06-29 10:33:57 +08:00
junyi.zhao afb33117c3 i2c: support txhd2 i2c driver [1/1]
PD#SWPL-119922

Problem:
there is no txhd2 pwm driver

Solution:
need to support txhd2 pwm driver

Verify:
txhd2 pxp

Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
Change-Id: Ie6e67c71e927bedbcdd33990714ec844eb0122d5
2023-06-29 10:33:57 +08:00
Qianggui Song ffb14caa51 dts: txhd2 add more node and include file [1/1]
PD#SWPL-119911

Problem:
Need more nodes and include more files

Solution:
Add nodes and head file

Verify:
txhd2_ptm

Change-Id: Ida5b44e55241f86c37456b5f256572a967931487
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-06-29 10:33:57 +08:00
Yao Jie ee9c89d1ef pm: txhd2 reboot pxp bringup [1/1]
PD#SWPL-119939

Problem:
txhd2 reboot pxp bringup

Solution:
txhd2 reboot pxp bringup

Verify:
PXP

Change-Id: I0c137858f544290fead4d4c3a03c2346b86331be
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-06-29 10:33:57 +08:00
Yao Jie e954231c70 mailbox: txhd2 pxp mailbox bringup [1/1]
PD#SWPL-119929

Problem:
txhd2 pxp mailbox bringup

Solution:
txhd2 pxp mailbox bringup

Verify:
PXP

Change-Id: I042d1f4738b755796068f72ed078b91ca38b1769
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
2023-06-29 10:33:57 +08:00
junyi.zhao de73569ad7 clk: support txhd2 clk [1/1]
PD#SWPL-118428

Problem:
there is no txhd2 clk driver

Solution:
need to support clk driver

Verify:
TXHD2 PXP

Change-Id: I15f13c03768185a36a6a0eb607ff3835eaacd5b0
Signed-off-by: junyi.zhao <junyi.zhao@amlogic.com>
2023-06-29 10:33:57 +08:00
Huqiang Qin af4c9df8b2 pinctrl: txhd2: support pinmux/gpio [1/1]
PD#SWPL-118807

Problem:
TXHD2 PxP Bringup.

Solution:
TXHD2 PxP Bringup.

Verify:
PxP

Change-Id: I0f3970b8d922b671d7984575ff1f30fe72523fab
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
2023-06-29 10:33:57 +08:00
hongyu.chen1 36ea453834 txhd2: add power domain. [3/3]
PD#SWPL-118417

Problem:
need power domain support in kernel.

Solution:
add power domain.

Verify:
pxp

Change-Id: I004ec6bc1bbbea2ec5c901bce88cf73435885e80
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
2023-06-29 10:33:57 +08:00
Qianggui Song 7062c85700 txhd2: add basic device-tree [1/1]
PD#SWPL-118396

Problem:
Need to bringup txhd2 to kernel console on pxp

Solution:
Add basic device tree

Verify:
txhd2_z1

Change-Id: Ic8cd23967c811aa5b71e83e2116a25b23d2a28e8
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
2023-06-29 10:33:56 +08:00
qiankun.wang 52a028cac6 ramoops: don't parse ftrace buf when shutdown or cold boot [1/1]
PD#SWPL-128460

Problem:
system shutdown reboot or cold boot,parse ftrace old buf
will cause kernel crash

Solution:
skip parse ftrace old buf when shutdown reboot or cold
boot

Verify:
SC2

Change-Id: Ib2580c0206b97461389369d587f2266a8b3836f2
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-06-28 06:58:47 -07:00
Pengcheng Chen 3c4bfdb65c vpu: change to lowest vpu_clk when suspend [1/1]
PD#SWPL-117083

Problem:
change to lowest vpu_clk when suspend

Solution:
change to lowest vpu_clk when suspend

Verify:
t5m

Change-Id: I243dbe5ecc916490dc6163579f7676b95deca31a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2023-06-28 06:58:42 -07:00
Tianhua Sun 5eb382ddce uvm: add get vframe from v4lvideo [1/2]
PD#SWPL-128664

Problem:
can not get vframe when video is v4l

Solution:
add get vframe from v4lvideo

Verify:
s5

Change-Id: Ied37d3a563657521a48ae08d9e924b5694c7c9a4
Signed-off-by: Tianhua Sun <tianhua.sun@amlogic.com>
2023-06-28 03:22:54 -07:00
qirong.li 0dd74aadc2 amvecm: Added HDR part of the judgment [1/1]
PD#SWPL-127495

Problem:
AirPlay Cast does not have full YUV input

Solution:
Add the case of full in YUV

Verify:
T3

Change-Id: Idc9d48b5a000c6e8e450d7570963c5ceea39121f
Signed-off-by: qirong.li <qirong.li@amlogic.com>
2023-06-28 03:22:51 -07:00
yujun.zhang efc3102f39 drm: optimize drm code for zapper [1/2]
PD#SWPL-127041

Problem:
Large memory in zapper

Solution:
Optimize drm config

Verify:
zapper

Test:
DRM-OSD-74

Change-Id: If9006e719d74053b75ff530336ee985dd19d5549
Signed-off-by: yujun.zhang <yujun.zhang@amlogic.com>
2023-06-28 01:42:53 -07:00
yao zhang1 a0c556a99a Bringup: Add sm1 s905x3 ac214 dts [1/1]
PD#SWPL-127956

Problem:
Add sm1 s905x3 ac214 dts.

Solution:
Add sm1 s905x3 ac214 dts.

Verify:
sm1 ac214

Change-Id: I43eb1b3dc9776a7dd52d1e915bb32615445e7803
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
2023-06-28 01:29:38 -07:00
huijie.huang a2e1c7452e lcd: update base frame rate when vmode change [1/1]
PD#SWPL-129094

Problem:
Switch to DLG mode abnormally

Solution:
Update base frame rate when vmode change

Verify:
T5M AY301

Change-Id: If4408a2b956230238a2c5244902b3bd126c28ac5
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2023-06-28 01:29:32 -07:00
qiang.liu 8f126c2a66 vdin: dv color format change [1/1]
PD#SWPL-128183

Problem:
dv color format error cause vdin not tunnel

Solution:
dv color format change

Verify:
t5m

Change-Id: I37a07ee57fe5b8c37821fd4030aa181b39dfac99
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-06-28 01:29:20 -07:00
Jianxiong Pan 56ee03d507 mm: enable CONFIG_AMLOGIC_MEMORY_OPT for upgrade p and r. [1/1]
PD#SWPL-128561

Problem:
memory optimization when no gki requirement.

Solution:
enable CONFIG_AMLOGIC_MEMORY_OPT.
enable CONFIG_AMLOGIC_PIN_LOCKED_FILE.

Verify:
build pass.

Change-Id: I6d37f24a51109b85ba55bcaca95034eb522eb8ec
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2023-06-28 01:29:00 -07:00
qiang.liu 6b5dee33b0 adc: solved demod not adc clock will crash [1/1]
PD#SWPL-125630

Problem:
demod not adc clock write register crash

Solution:
solved demod not adc clock will crash

Verify:
T3

Change-Id: Ia99e79c98804f753dfe69ad902028969c266021b
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
2023-06-28 01:28:54 -07:00
Doosan Baek 9200a73d43 KT: Fix setting of S17 algo config [1/1]
PD#SWPL-129723

Problem:
It is used for M2M/descrambler.

Solution:
It is used only for descrambler.

Verify:
S4D

Change-Id: I94f34095dce7fa16af497bb5c61c52edf1a34f39
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-06-27 21:39:47 -07:00
yao liu 201a66bd7a amdv: hdmi in source-led or sink-led flicker [1/1]
PD#SWPL-127855

Problem:
It's hw bug, frm_rst control error.
dolby_vsync||reg_sw_rst_dtnl=>dolby_vsync&&reg_sw_rst_dtnl

Solution:
set reg_sw_rst_dtnl always 1

Verify:
t3x

Change-Id: Ic7299d609041d9014c2f7f0953c29efc5156386e
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-06-27 21:39:43 -07:00
Wanwei Jiang cd1d91220d script: support google kernel build [3/3]
PD#SWPL-128563

Problem:
use tools/bazel to build

Solution:
support google kernel build

Verify:
adt4

Change-Id: I9be912bf1eb54503ca5ba4819e4504415cd2c56a
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2023-06-27 21:39:35 -07:00
MingLiang Dong 20ae88967b amvideo: add vpp fmm support [1/1]
PD#SWPL-128391

Problem:
add vpp fmm support

Solution:
add vpp fmm support

Verify:
t3

Change-Id: Iab1836cefe6ac0fbef827c09a99773d748b9853e
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2023-06-27 21:39:22 -07:00
chen.xu 6fc07d33c5 amlvideo2: support dump amlvideo2 input and output data [1/1]
PD#SWPL-129658

Problem:
need support dump amlvideo2 input and output data.

Solution:
1.support dump amlvideo2 input data.
2.support dump amlvideo2 input and output data,
starting from screen recording, continuously dump.

Verify:
t3

Signed-off-by: chen.xu <chen.xu@amlogic.com>
Change-Id: I530f09109d6441557a29f477cc3fb4a25a7e7364
2023-06-27 05:12:49 -07:00
nengwen.chen 1825f1f34f dtv_demod: fixed dvbc 16/32 qam unstable (V3.2.013) [1/1]
PD#SWPL-129490

Problem:
aft patch cause 16/32qam unstable.

Solution:
1.remove reset fsm when try 16/32qam in auto qam mode.
2.AMLDTVDEMOD_VER "V3.2.013".

Verify:
T5D/T3.

Change-Id: Id7b68ca8b0421f4ecbc0a470fb0bb369f7d352e5
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-06-27 05:12:45 -07:00
qirong.li 93285fd8b5 amvecm: Dual-screen PQ adjustment function [1/1]
PD#SWPL-127748

Problem:
Dual-screen PQ adjustment requires two sets of parameters

Solution:
Add the appropriate control interfaces and processes

Verify:
t7

Change-Id: I8cd2412173ddc0670cded55576a3cf4f057cb510
Signed-off-by: qirong.li <qirong.li@amlogic.com>
2023-06-27 03:21:14 -07:00
yufei.huan fd1d42f884 deinterlace: HDMI 4K image edge jaggies obvious [1/1]
PD#SWPL-127722

Problem:
HDMI 4K image edge jaggies obvious

Solution:
add lossy configuration

Verify:
t5m

Change-Id: I03af8a2c3ead8a42c92af9a23896d5d497df28f2
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-06-27 03:21:01 -07:00
qianqian.cai d49ef4c61f deinterlace: dv path bypass pre-link [1/1]
PD#SWPL-128316

Problem:
dv bypass for di

Solution:
bypass dv/game mode

Verify:
Verified on t5m

Change-Id: Ic0b5a795034c15706384319bea781ef8c92cabf4
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-06-27 03:20:58 -07:00
qianqian.cai 8bbd0d7230 deinterlace: 4k h264 green screen pre-link [1/1]
PD#SWPL-127955

Problem:
4k register error

Solution:
4k flag for input register

Verify:
Verified on t5m

Change-Id: I9a8385219f85d3bd9a45fcbba705c3464a9bbbe7
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
2023-06-27 03:20:55 -07:00
yufei.huan 700c8571a1 deinterlace: vbone 4K reverse screen [1/1]
PD#SWPL-127784

Problem:
4k panel Reverse feature is not supported.

Solution:
Add panel Reverse feature.

Verify:
t5m

Change-Id: Iddf948247180eabd8bd424d0c65b4df3ecb9fa6a
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
2023-06-27 03:20:52 -07:00
pengzhao.liu a923dea38d kernel: Remove Makefile autoreview script [1/2]
PD#SWPL-128588

Problem:
Cannot copy files when compiling

Solution:
Remove Makefile autoreview script

Verify:
no

Change-Id: Icdbe276ef2a5c2aefe0173c0b8457c09a3b40e4b
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2023-06-27 01:17:25 -07:00
donghui.wang 1a9419a4c6 ldim: fix fw_sel switch issue [1/1]
PD#SWPL-128556

Problem:
fw_sel can't switch

Solution:
fix fw_sel switch

Verify:
t3x bc302

Change-Id: Ic380bfa84ba4a76e4fe7605e0d595927a162e003
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-06-27 01:17:18 -07:00
donghui.wang a1ab9992cf ldim: add t3x support ldim [1/3]
PD#SWPL-124379

Problem:
add ldim support

Solution:
add ldim support

Verify:
t3x bc302

Change-Id: I508c14892db6b2535684126802151a5304a4df0e
Signed-off-by: donghui.wang <donghui.wang@amlogic.com>
2023-06-27 01:17:12 -07:00
Hangyu Li 0960a77811 tee: reserve secure vdec memory in codec_mm instead of BL32 [2/4]
PD#SWPL-125671

Problem:
reserve secure vdec memory in codec_mm instead of BL32

Solution:
reserve secure vdec memory in codec_mm instead of BL32

Verify:
Android + Kernel 5.15

Change-Id: I63103ae162a0e233b6c0d29a7081f039340deeb3
Signed-off-by: Hangyu Li <hangyu.li@amlogic.com>
2023-06-26 21:19:05 -07:00
pengzhao.liu 127b36d61b kernel: delete the script in the .gitigore file [1/2]
PD#SWPL-129652

Problem:
Delete the script in the .gitigore file

Solution:
Delete the script in the .gitigore file

Verify:
no

Change-Id: I717afe7315f44ccea5954b0fbcf070f3f1769cb7
Signed-off-by: pengzhao.liu <pengzhao.liu@amlogic.com>
2023-06-26 21:10:49 -07:00
qiankun.wang d8b9b89fec iotrace: fix config name error in auto_patch. [1/1]
PD#SWPL-126934

Problem:
because of gki2.0,the config "CONFIG_AMLOGIC_BGKI_DEBUG_IOTRACE"
should be deleted.

Solution:
"CONFIG_AMLOGIC_BGKI_DEBUG_IOTRACE" has been
modified by "CONFIG_AMLOGIC_DEBUG_IOTRACE"

Verify:
on s4d_ap222 and c2_af400

Change-Id: I733c57a11dfc69c692020974bc93b055798e6af5
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2023-06-26 21:10:38 -07:00
jinbing.zhu 48d058b887 amvecm: delete set hdr error [1/1]
PD#SWPL-129285

Problem:
delete error

Solution:
delete error

Verify:
t982

Change-Id: I6a22eed95379d5198dda3b8f32abb9285611dcdb
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
2023-06-26 21:10:32 -07:00
Evoke Zhang 02750fb3ea ambilight: support ambilight for t3x [1/1]
PD#SWPL-128669

Problem:
need support ambilight driver

Solution:
add ambilight driver support for t3x

Verify:
bc302

Change-Id: Ic4b998006eaf09ec5f3fd9a9d5da736ca2ec385a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2023-06-26 21:10:25 -07:00
ziyi f38b40750a emmc: clock is not disabled after suspend [1/1]
PD#SWPL-123245

Problem:
clock is not disabled after suspend

Solution:
revise code

Verify:
t5w

Change-Id: I60c1005e18ad94f685bd71f6b9b6bca2a65ee0df
Signed-off-by: ziyi <ziyi.huang@amlogic.com>
2023-06-26 04:48:07 -07:00
yao liu 3901e48ca4 amdv: case5344 bitmatch [1/1]
PD#SWPL-128553

Problem:
case5344 cannot run

Solution:
add top1+top2 processing
add case0 and case5344 top1 fix data flow
add dynamic test cfg

Verify:
t3x

Change-Id: I40bc5f61f8eaf8edfbaeecbbf35e0a0c6513ee0c
Signed-off-by: yao liu <yao.liu@amlogic.com>
2023-06-26 01:03:14 -07:00
Brian Zhu b0e4d13702 di_multi: reset inp afbcd module when di on [1/1]
PD#SWPL-127842

Problem:
DI inp afbcd stuck after stop pre-link

Solution:
Need do reset for inp afbcd

Verify:
Verified on t5m

Change-Id: I5567419bd85db7a69185ff42abf886bf0de18845
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2023-06-25 21:33:29 -07:00
qiyao.zhou 9b4d5a21c1 vc: change vicp table buf to non-cached. [1/1]
PD#SWPL-128880

Problem:
vicp would write illegal address when table
buf flush error in vc.

Solution:
use non-cached buf to replace cached buf.

Verify:
s5

Change-Id: I8a0a3516d7d22becb9b932028af9e33ac82960fb
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2023-06-25 21:33:10 -07:00
Ao Xu 28d6466429 drm: fix low resolution vague issue [1/1]
PD#SWPL-127755

Problem:
for low resolution, drm use COEFS_4POINT_TRIANGLE scale filter
it will lead to vague

Solution:
if input and output is same, change the scale filter to COEFS_BICUBIC

Verify:
T3

Test:
DRM-OSD-72

Change-Id: I03840d4642a5f2d5ccccbca75bfcaf14f62e2bc1
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2023-06-25 21:32:57 -07:00
nengwen.chen 8bb45d3b21 dtv_demod: improved dvbc auto qam (V3.2.012) [1/1]
PD#SWPL-129183

Problem:
improved dvbc auto qam.

Solution:
1.improved dvbc auto qam.
2.AMLDTVDEMOD_VER "V3.2.012".

Verify:
T5W/T5M.

Change-Id: Ib6d3bf22a91f0ae8e65aff65b0fb2b4b1ba9e5f6
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2023-06-25 21:32:50 -07:00
yaoyu.xu d1e001eb70 hdmirx: clear emp data when only dv hdr flag change [1/1]
PD#SWPL-127507

Problem:
emp data not clear when only dv flag change

Solution:
clear emp data when only dv hdr flag change

Verify:
t5m

Change-Id: Icaf38d5ff71dd454478b77eb4915864f7ccda8f0
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
2023-06-25 03:33:49 -07:00