PD#SWPL-155399
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
S7-BH201
Change-Id: Ib548b4c0fc929b4bed788e9a350bd3791fd93f1a
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-159986
Problem:
need support swpdf function for a choice to decrease crosstalk
Solution:
add swpdf
Verify:
t5m
Change-Id: If6a283f3521e55a876467b7ce8b384472a8e8bb5
Signed-off-by: Jie Dai <jie.dai@amlogic.com>
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>
PD#SWPL-155395
Problem:
When modules send mailbox message to aocpu, sometimes
aocpu can not response because of stuck or interrupt
signal lost, at this time driver modules need to know
whether aocpu is alive or not, this is helpful to debug.
Solution:
Add aocpu alive check mechanism, when aocpu did not
response, system will check and print aocpu status.
Verify:
T5M-AY309
Change-Id: Idd1c47fd99505f3a159c86390c28303f5a5b60e9
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#GH-3737
PD#SWPL-155123
Problem:
play HDR video under DV_STD, output as SDR
Solution:
auto change the color depth to support HDR under DV_STD
Verify:
SC2
S5
Test:
DRM-TX-90
Change-Id: I255011995b80d2cf01499ea8c3584cbda5e54c5f
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-150719
Problem:
The g12a mailbox dtsi configuration does not
accommodate the new mailbox driver architecture
Solution:
Change g12a mailbox dtsi to accommodate the new
mailbox driver architecture
Verify:
G12A
Change-Id: Iab0a512141b945e3192c2cc4bd7fa15f4e30c6e1
Signed-off-by: Yao Jie <jie.yao@amlogic.com>
PD#SWPL-153931
Problem:
adjust backlight,does not change smoothly
Solution:
adjust backlight by use pdim or litgain
for different LD type
Verify:
T3X
Change-Id: I2e7e73f982f79b87412e0d6fd04fc7579800d2bd
Signed-off-by: zijie.lin <zijie.lin@amlogic.com>
PD#SWPL-158140
Problem:
need bl30 control via mailbox
Solution:
support it
Verify:
s1a
Change-Id: I737217be12377b800acda8b05a729b362c2fa622
Signed-off-by: Junyi Zhao <junyi.zhao@amlogic.com>
PD#SWPL-158644
Problem:
no need brightness meter function
Solution:
remove brightness meter function
Verify:
be311
Change-Id: Ifdcc6d6ad5bab79bbf901349d8cf203f32304772
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-157539
Problem:
1.for width <= 1024, ko set level to 6, so need TOP1 rdmif downscale.
If set dw 1:2, dw image is too small for decontour.
2.display blank for the first time playing with precision, reset top2
can resolve this issue
Solution:
1.for width <= 1024, config dw 1:1 and top1 rdmif downscale.
2.optimize playback process,bypass top1 for frame1,
enable top1 and top2 simultaneously
Verify:
t3x
Change-Id: I8f6d9936163b269a0dfd5865716d477a78dfbb8b
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-158200
Problem:
The upper layer cannot distinguish between dv allm and hdmi allm
Solution:
The bit1 of allm_mode represents dv allm, and bit0 represents hdmi allm
Verify:
t5w
Change-Id: I42f73ceffc20beae3e0182c1dce9e1fdc9c1f787
Signed-off-by: Haotian Guo <haotian.guo@amlogic.com>
PD#SWPL-158260
Problem:
amlvideo2 want to get hdcp status
Solution:
set hdcp flag in vf if HDCP input
Verify:
t7c
Change-Id: I1d5ddcb5d3e5d1f467e9de7f20dc76a96fdd94b4
Signed-off-by: haitao.liu <haitao.liu@amlogic.com>
PD#SWPL-158107
Problem:
tracer is not written in the edid parsing process
Solution:
edid tracer post-processing
Verify:
SC2
S5
Test:
DRM-TX-99
Change-Id: Ie802d13da665ae0846a6829ecca0618583d54166
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-153877
Problem:
conflict between drm and dv when write afbc top ctrl.
Solution:
dv add graphic interface to drm.
drm get dv status and write corresponding reg bit.
Verify:
t7c
Change-Id: I98f27d82f77af8aad35fba65b66b66f482d0802a
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
PD#SWPL-148358
Problem:
video show tear when 3840x1080
Solution:
different axis use different line delay
Verify:
t3x
Change-Id: Ieb68ef2058112426b505fd87a59c903269bc2a26
Signed-off-by: Bin.Wang2 <bin.wang2@amlogic.com>
PD#SWPL-96632
Problem:
hdmitx_common_validate_format_para has no mutex lock protect.
when hdmitx plug event happen in encoder atomic check stage,
it will lead to info mismatch
Solution:
add hdmitx_common_validate_mode_locked api which has mutex lock
to protect the encoder check flow.
Will revert it when we move edid parering to drm.
Verify:
ah212
Test:
DRM-OSD-5
Change-Id: I7b4c98fac8378133166100f9d22ddcfe0af66407
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-147387
Problem:
Android T support I/P switch for txhd2 while di backend.
Solution:
support I/P switch for txhd2 while di backend.
Verify:
txhd2
Change-Id: I9ba08dcfcd62aebd8ab32e23df77c4a461273cbb
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-147355
Problem:
due to lockup when dmc irq ratio is too high
Solution:
use dmc irq thread when irq ratio is too high
Verify:
local
Change-Id: Ie13d584f81563e3c2e111fb5d6033f0e2aa0d337
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
PD#SWPL-146509
Problem:
add new interface for di back
Solution:
1.add api for release buffer when unreg/reg
2.add api for post/pre num
Verify:
sc2
Change-Id: Ie1eadc81751b3ca6da2d1f337e94d54dc1455c6c
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
PD#SWPL-113283
Problem:
when use dma to read a small amount of data to a memory by kzalloc,
kzalloc memory len less than dma minimum handling length,
e.g. kzalloc one byte memory, but dma moves data with a width 64 bits,
so it would destroy the 7 bytes memory space on the right side of the
requested memory.
BUG: KFENCE: memory corruption in meson_nfc_exec_op+0x3b4/0x4c8
Corrupted memory at 0x00000000527f2fd0 [ ! ! ! ! ! ! ! . . . . . . . ]
meson_nfc_exec_op+0x3b4/0x4c8
nand_status_op+0x1ac/0x294
nand_erase_op+0x19c/0x328
nand_erase_nand+0x1d0/0x3cc
nand_erase+0x14/0x20
mtd_erase+0x174/0x1f0
mtdchar_ioctl+0x1c1c/0x2704
mtdchar_unlocked_ioctl+0x50/0x74
__arm64_sys_ioctl+0xa4/0x114
invoke_syscall+0x5c/0x140
el0_svc_common.llvm.4567374417812983254+0xb4/0xf0
do_el0_svc+0x24/0x84
el0_svc+0x2c/0xa4
el0t_64_sync_handler+0x68/0xb4
el0t_64_sync+0x1b4/0x1b8
kfence-#52: 0x00000000d4c8f37e-0x00000000d4c8f37e, size=1, cache=kmalloc-64
Solution:
align dma minimum handling length to kzalloc
Verify:
AT301_T962D4-K35E(1.5G) #256
Change-Id: I541b6acecaa9dd69ec6466bd7040af94b45ae596
Signed-off-by: zhikui.cui <zhikui.cui@amlogic.com>
PD#SWPL-154473
Problem:
other module can not get video real axis
Solution:
provide get video real axis function
Verify:
all chips
Change-Id: I0dae2a30c2841396cda7ee4bfefd57bfff186d59
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-155145
Problem:
Tracer prints abnormally when playing hdr10 plus video
Solution:
fix the abnormal printing problem of tracer when
playing hdr10 plus video
Verify:
SC2
S5
Test:
DRM-TX-91
Change-Id: Ia081b5667bfb01d540c497faa32479c38b084da9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-141096
Problem:
add vdec unsupport format status use by media_hal
Solution:
add vdec unsupport format status use by media_hal
Verify:
txhd2
Change-Id: I2ecf78ac8e91ca912f331dc8a8ed8a6494610dd5
Signed-off-by: zehong.luo <zehong.luo@amlogic.com>
PD#SWPL-152701
Problem:
Currently,we found that the Sanitize/Erase command may take longer
than that on the first factory reset after flashing.
This will cause the Sanitize/Erase command to timeout before completing.
Solution:
Enable max timeout in the eMMC controller only for Sanitize.
This will allow the factory reset command to always complete
successfully with the drawback that on eMMC failures, the device will
be stuck unless rebooted.
Verify:
T5d
Change-Id: Ifea2edfe758b2f723f2c02d369468e8ba9629fe3
Signed-off-by: Long <long.yu@amlogic.com>