PD#SWPL-97910
Problem:
use reserved memory
Solution:
complete it
Verify:
t3
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
Change-Id: I1ce6861930bd80a5a439b723fcfb96e675be4b78
PD#SWPL-97906
Problem:
T3 Kernel 5.15 Android T Bringup - di
Solution:
sync DI code
Verify:
smith
Change-Id: I590e2d71a453849d48207cccc3442e44da59c2da
Signed-off-by: yufei.huan <yufei.huan@amlogic.com>
PD#SWPL-98144
Problem:
t5m lcd need bringup
Solution:
add lcd related code for t5m
Verify:
ptm/pxp
Change-Id: I4d79cad87d37a1b15d9b790d87b3fbf83331c626
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
PD#SWPL-97537
Problem:
previous commit about phy set is ugly.
Solution:
replace with enum.
Verify:
t7c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I4fcba90fded92615741d5cc0f1b1c936257e4141
PD#SWPL-97537
Problem:
lcd phy lane_lock not set when lcd probed in uboot,
result in ANA_CNTL19 set to 0 when lcd1&2 probe but conflict;
By the way, correct a few typo error.
Solution:
add lcd_phy_set() to lcd_phy_probe()
Verify:
t7c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: I0c4889be119c3c222af81e46d8f304ef11c172c2
PD#SWPL-94126
Problem:
bring up freertos with t7c
Solution:
bring up freertos with t7c
Verify:
t7c
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: I49da1d2885baddf839f8229fe43dfd6f66055695
PD#SWPL-94121
Problem:
lcd_screen_restore and lcd_screen_black may be a nullptr,
under specific condition, results in kernel panic.
Solution:
remove pointer from pdrv.
Verify:
t7c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
Change-Id: If3bd01a8426ca6b67052265e98ff8ab9829ed07d
PD#SWPL-100780
Problem:
Requirement:modify the DV link when tsplayer plays.
Solution:
When tsplayer plays, amvideo in the DV link is changed to v4lvideo.*.
Verify:
ohm
Change-Id: I84dbe550308aceff8bd39c1dd331274439599153
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
PD#SWPL-101578
Problem:
use vendor_hook print cpu and irq info
Solution:
use vendor_hook print cpu and irq info
Verify:
sc2
Change-Id: I52f0474ea55d4136933c0a2c12daf31eff4ab261
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-99719
Problem:
when switch from SDR to HDR under adaptive
mode, audio will be mute for a few frames
cause nts detect audio drops
Solution:
remove audio mute when adaptive from sdr to hdr
Verify:
ah212
Test:
test on ah212, start play hdr movie
Change-Id: Ie09c09fa989a8c54f0a8ad688b8bc02ea51a9307
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-93858
Problem:
According to mpeg spec,aspect ratio can be described as SAR or DAR.
Now decoder only offer DAR for mpeg2
Solution:
Offer DAR and SAR to the application, and tell which kind of aspect
ratio is offerred at the moment
Verify:
ohm
Change-Id: I5aca911eefac01017b16840f038ca5270a5e5a59
Signed-off-by: zhentao.guo <zhentao.guo@amlogic.com>
PD#SWPL-99090
Problem:
When decode meta is too long, DI will skip it.
Solution:
Add protection to copy meta data
Verify:
Verified on sc2
Change-Id: Ia6ae379ec50a1f8f3f8a5549393835cb327bb39b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-38929
Problem:
Currently, the HDMITX source is binding to SPDIF a/b.
we need separate interface to configure HDMITX audio
source from SPDIF a/b or TDM a/b/c for different
use case.
Solution:
1.add a new interface to control the HDMITX source.
2.add a new interface to config i2s to hdmitx format.
Verify:
Ohm
Change-Id: I82a04cfadeba19a9b54b77dd6a443b60dc2c9b39
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-95914
Problem:
it's break gki
Solution:
Use other method to implement, so revert old method
This reverts commit 073082327a.
Change-Id: I93e8a56d6e6a354f3d2dd27029913b5c79b797fc
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
PD#SWPL-97387
Problem:
TV_TS/2.4_R2 failed
Solution:
remove useless parsing code, and adjust
edid parsing and fallback policy
1.if edid checksum invalid in any block,
or header of cta extension block is 0,
then use fallback mode list
2.if base block header invalid, of
checksum invalid, then don't parse
base block except dtd / standard timing
3.for cta extension block, if block
byte0 != 0x2, it means not valid
extension block, skip parsing whole
block. if block byte1 <= 2, it means
that it's DVI block, skip parsing data
block, just parse DTD.
4.fallback mode list:
480p/720p/1080p60hz, RGB,8bit, and uplayer
should use 720p60hz RGB,8bit by default
Verify:
ah212
Test:
TV_TS/2.4_R2 tested pass, hdmi1.4/2.0 CTS no side effect
Change-Id: I9e24a16cd6d645f2e28f3238b2f20ace0b5090bb
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-97096
Problem:
sync code changes from 5.4 to 5.15
Solution:
1. add the stride support in gdc_process_phys
2. add load/release firmware interface
Verify:
verified on t7-an400
Change-Id: I1e861f474c27be66f03cebd6d01d01582e763a0b
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-92714
Problem:
need modify the watchpoint to ko.
Solution:
modify the watchpoint to ko.
Verify:
sc2_ah212.
Change-Id: I26e5e451690fb557264d8bbd6bcceb7701494cc5
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-94658
Problem:
set mode 4x3, return valid mode 0, lead to no output
Solution:
when set mode 4x3 and 16x9, return valid mode 1
Verify:
sc2
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
Change-Id: I8ae7466bd92c927a9953fbd2f22335862ad02b8f
PD#SWPL-94506
Problem:
adc default print too much
Solution:
print and debug state optimize
Verify:
t5w
Signed-off-by: qiang.liu <qiang.liu@amlogic.com>
Change-Id: Id383cc0bdd87619241a6ceb4421906fd39ec0974
PD#SWPL-95400
Problem:
If we pin a file in android, the whole data of this file
will be loaded to DDR, but most of these data may not be
used, this caused memory waste.
Solution:
delay mark mlocked flags for unevictable pages until
it has been faulted.
You can use following command to disable this function:
echo 0 > /proc/sys/vm/shrink_unevictable
Verify:
sc2_ah212.
Change-Id: I3981b36114ab331c558198b80140aaa91fe7e7df
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-94447
Problem:
iotrace break gki10
Solution:
modify iotrace still builtin but not break gki10
also enabled DEBUG_PRINTK
Verify:
sc2
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Change-Id: Iffc6a21f28de871b7289ca671c2c226c40e9a66a
PD#SWPL-94447
Problem:
debug break gki10
Solution:
1, support amlogic_debug build to module, amlogic_debug module
includes debug_lockup, cpu_mhz and meson_atrace for now.
2, amlogic_debug some function still build in kernel but not break
gki10, for example: irq_check function on builtin kernel code,
module_debug, workqueue debug etc.
3, new config CONFIG_AMLOGIC_HARDLOCKUP_DETECTOR still builtin but
not break gki.
4, other functions for example iotrace still under developing
Verify:
sc2
Signed-off-by: Hanje Lin <hanjie.lin@amlogic.com>
Change-Id: I9c11465e3e879f999ae6fd13dc12c044efd2417a
PD#SWPL-97326
Problem:
hw config cmd value should larger than CMD_CONF_OFFSET.
Solution:
enum part start from CMD_CONF_OFFSET + 0x2000 to follow
legacy define.
Verify:
verify on OHM
Test:
DRM-TX-18
Change-Id: Icd7aa397cbd6f6ec3a638f90b822c78fe4edf893
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-96745
Problem:
No afd callback in vpp
Solution:
Add afd callback in vpp
Verify:
t3
Change-Id: Ibe5a3fe27a8dee108efaa4ef2e6fb285dc03b4ce
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-95126
Problem:
share set_content_type function for tx20&tx21.
Solution:
move cntlconfig to common hw api and implement
set_content_type drm api and sysfs.
Verify:
verify on OHM.
Test:
DRM-TX-15
Change-Id: Ie06229130175cc0b02d2816db48c9f8884777f2d
Signed-off-by: sky zhou <sky.zhou@amlogic.com>
PD#SWPL-95125
Problem:
share setphy/avmute function for tx20/tx21.
Solution:
move cntlmisc to common hw api and implement
setphy/avmute drm api and sysfs.
Verify:
verify on ohm.
Test:
DRM-TX-13,DRM-TX-14
Change-Id: Id231252241e30be2d88d4789b77b392c9cf10abb
Signed-off-by: sky zhou <sky.zhou@amlogic.com>