PD#SWPL-23499
Problem:
osd sdr2hdr process cause osd color contour
Solution:
1. root cause is cgain curve is not smooth
2. bypass cgain
Verify:
verify on G12A
Change-Id: I81480244c8b13f942ae99b45238d947f874120fe
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-24882
Problem:
When 4K output, DoVi core3 htotal does not leave enough timing,
in addition to scaler pipeline delay, cause output does not get
data in time.
Solution:
reduce htotal(porting setting from g12b) for 4K output timing.
Verify:
HDMI DoVi 4K input, connect to DV 4K TV, set same axis as preview:
echo 1740 0 3839 1299 > /sys/class/video/axi
and check display: no more garbage display.
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
Change-Id: Ic075d00ea784b2bd080e6069baf9ea2c96c1c782
PD#SWPL-24904
Problem:
When the semaphore is used, it is suddenly re-initialized.
Solution:
The semaphore is only initialized during the probe.
Verify:
on X301
Change-Id: I1c45a56c1c204f5a3e2ee2fc7e31ac3da88348e1
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-24864
Problem:
High security vulnerability in dm-anroid-verity
Solution:
we add this code for test.
It was improperly released, revert it.
Android avb code is ok after revert it.
Revert "md: use dm-anroid-verity [3/4]"
This reverts commit 84edbc7284.
Verify:
franklin
Change-Id: I8daa068475ee6d29b3ee8a5e8475b7594d71ce7d
Signed-off-by: Xindong Xu <xindong.xu@amlogic.com>
PD#SWPL-24764
Problem:
dv mem power down is earlier then dv core off
Solution:
delay one vsync to power down dv mem
Verify:
tm2
Change-Id: I895b2444358d365bf9481d964c6da0f207ff8733
Signed-off-by: yao liu <yao.liu@amlogic.com>
PD#SWPL-22877
PD#SWPL-22442
PD#SWPL-23113
Problem:
1.flash screen when suspend on Sony KD-55X9500G TV & SVA LE2481G TV
2.flash screen when plugin SONY KLV-26BX205 under 576p50hz
Solution:
1.add delay after set avmute so that TV can completely respond
2.add delay before start hdcp so that to auth after TV detect stable.
Verify:
AC214
Change-Id: I5dd8c37f71298c4eb630e5407ae4122b78b48133
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-18082
Problem:
xiaomi t972
ATV source have sound without picture
after TV wake up and enter source
Solution:
modify the suspend flow for unreg
Verify:
franklin
Change-Id: Icbecd561471e12a33e30ac4601e8278f29df8aec
Signed-off-by: qianqian.cai <qianqian.cai@amlogic.com>
PD#SWPL-23935
Problem:
audio no sound, ref pcr set error
Solution:
1) get ture ref pcr
2) judge video pid whether valid, decide whether wait
3 seconds to set pcr
Verify:
verify by AC214
Change-Id: Ia782799e43fda17f7f1affbfcd7184f4b1ffb16d
Signed-off-by: Chengshun Wang <chengshun.wang@amlogic.com>
PD#SWPL-23516
Problem:
lmk is too agressive for kill process
Solution:
revert lmk change in
74a35431d2
Verify:
x301
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Change-Id: I52ff4f32262a33c9b54802d4ab012d404c942384
PD#SWPL-22008
Problem:
it will hang up sometimes when playing 8k video.
Solution:
critical region of cpu and dsu clock settings
Verify:
ac214
Change-Id: Icbdf3c26b129d4901e42c2e6c58700bd684c871c
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-23790
Problem:
There is no short pointer judgment.
Solution:
Add null pointer protection.
Verify:
on U212
Change-Id: I46cf33607dc37793ad11442b9b2f9aa63462c560
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-22126
Problem:
powergate and mempd not optimized for g12 and tm2
Solution:
fix mempd in vpu and optimize power for dv
Verify:
ab311 and ac213
Change-Id: I204c03acbbc532793d0891631ae9dd132175a5c9
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-21381
Problem:
not support DoVi hdmi input for Source 2.4.2
Solution:
add hdmi in DoVi(Source/Sink-LED) support for Source 2.4.2
Verify:
ab311
Change-Id: Ica11b8bfdb1c108131cfdd04c688e4de392fceca
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-23306
Problem:
For the OTT-9111, when application start playing
before dvb stream rollback, the video pts is
bigger than audio because audio has been dropped
the tail of the stream. Video can`t toggle frame
in A-master mode.
Solution:
Force video toggle the video frame if meet the
tail frame of the stream.I made a parameter to
set the threshold between the audio and video pts.
This solution Will influence the stream which has
pts error, need QA to verify that stream on DVB
environment.
Verify:
S905X2
Change-Id: Idc8f050cdb9f5d8c878f3570e2213a5e1f309ca1
Signed-off-by: junliang zhou <junliang.zhou@amlogic.com>
PD#SWPL-22030
Problem:
add afbc flag for getting capbility
Solution:
add this flag support
Verify:
on g12b w400
Change-Id: I4f6efec85e3a62c484388821c24bbdd7eee06251
Signed-off-by: Cao Jian <jian.cao@amlogic.com>
PD#SWPL-22912
Problem:
when set hdr_policy to 1, but this value is 0 in boot init.
Solution:
init hdr_policy state by hdr_policy value in bootargs.
Verify:
verify by newton.
Change-Id: I8abb3969d6cdf28ea028317348ae060cda216f7f
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-14955
Problem:
Pcm playback is mute after replaying multiple times
Solution:
Don't clear the tsync_pcr_inited_flag when video stop
Verify:
Verified ok on patch-build
Change-Id: I1cf76d2dd8a56ce85c62b0c3b8b7782223b1d282
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
PD#SWPL-19839
Problem:
Dolby Vision support using EMP transfer metadata and vsif
Solution:
Add code used to EMP transfer metadata and vsif
Verify:
verify on the board of U212
Change-Id: I8720327781a913a83ccbe0511ccf3e5db46ce0e7
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
Signed-off-by: robin.zhu <robin.zhu@amlogic.com>
PD#SWPL-19365
Problem:
panel can't display when first resume by dual display mode,
without kernel printk log print.
lcd workqueue resume will effect each other for dual display.
Solution:
change lcd driver to directly resume for dual display
Verify:
ac200
Change-Id: I4638a9b526625693ed97070a0967b37328617ae6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-22711
Problem:
When toggle frame, vpp did not check sar_width/sar_height
change. It caused that vpp setting did not update when only
sar_width/sar_height information changed.
Solution:
Add sar_width/sar_height check
Verify:
Verified on u212
Change-Id: I68c0c1d0e51ec0c537296b3ef5d26dcc4ca0c6d8
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-21344
Problem:
DI timeout when play a spical video
Solution:
add change condition
Verify:
u212
Change-Id: I1e674ae0349546021ea9514a34cf3619d3ce3259
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-22371
Problem:
cec read blocking 4s when no msg in. sometime will cause
watchdog reset.
Solution:
de-crease the time.
Verify:
g12a
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Change-Id: I18c83b8fd7c4cacc07c4d0ee1ca2ecdf179492e9
PD#SWPL-22415
Problem:
Config DI mif wrong when processing progressive frame
Solution:
Using right vf->type as condition.
Verify:
Verified on u212
Change-Id: I1f24385967bc00039702d2d873b37b6e12241b13
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-22140
Problem:
DI don't support VIU_FIELD interlace map from decode
Solution:
Support it
Verify:
Verified on u212
Change-Id: Ibd34475881a36eb0891fd11fff091d4bbb233b50
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-16910
Problem:
Need keeping authenticated status during suspend
Solution:
Add a workround to keep status
Disable the NULL packet
Verify:
G12/SM1/TM2
Change-Id: I2f08c086a4289de9f988425bc5ad9deb740c4db4
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-19969
Problem:
current the Ri is short reading
Solution:
add non short read method
Verify:
G12
Change-Id: I0815910062ca8422acddc574fa293c9b3a280bbe
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-22140
Problem:
DI don't support VIU_FIELD interlace map from decode
Solution:
Support it
Verify:
Verified on u212
Change-Id: Ibd34475881a36eb0891fd11fff091d4bbb233b50
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-17365
Problem:
There exits deadlock between ion_client_destroy
and ion_debug_heap_show.
ion_client_destroy will take debugfs_mutex and then
call debugfs_remove_recursive, which will wait for
the finish of debugfs_srcu's GP.
sys_read will enter debugfs_srcu'critical section,
then ion_debug_heap_show will try to get debugfs_mutex.
At last, deadlock occurs.
Solution:
change mutex_unlock place in ion_client_destroy,
don't let the mutex lock synchronize_srcu.
Verify:
autoreboot test on tl1
Change-Id: I7008a6bf21421ab08d84754ae52d0840e53900c9
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
PD#SWPL-17365
Problem:
There are race condition between ion_client_destroy
and ion_debug_heap_show after adding memtrack function
Solution:
move debugfs_mutex to protect the ion_debug_heap_show
Verify:
autoreboot test on tl1
Change-Id: Ife30539426a003946db464bb7349746d991c6f36
Signed-off-by: binqi zhang <binqi.zhang@amlogic.com>
PD#SWPL-21670
Problem:
Play from beginning,it will get stuck for a while
Solution:
Use the video start pts to init pcr if audio invalid
Verify:
Verified ok on patch-build
Change-Id: I0673d811889cb6b9ae3301355f09b268725d472d
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
PD#SWPL-20851
Problem:
omx can not set omx pts after reset
Solution:
set omx pts after reset
Verify:
U212
Change-Id: I582e5696f14b50bb774e18ef8295af5b4f121501
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-21670
Problem:
Play from beginning will stuck
Solution:
Use first_vpts to init pcr instead of the invalid audio pts
Merge the SWPL-18995,SWPL-20085,SWPL-21122,SWPL-21117 patch
Verify:
Verified ok on patch-build
Signed-off-by: Zhizhong Zhang <zhizhong.zhang@amlogic.com>
Change-Id: I1bbd3a94b0c17f104eeb67c8f8ba528f2a37fdf4
PD#SWPL-20253
Problem:
free_q len is 0 when dec reset
Solution:
reset free_q after reg
Verify:
U212
Change-Id: Icfb5e36cb13198bece0710aeafae6f02d3d26f7d
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
PD#SWPL-19636
Problem:
null pointer in hdmitx_set_vsif_pkt when driver early suspend
Solution:
Check the pointer, if the pointer is null then use the default val.
Verify:
verify on the board of U212
Change-Id: I106ba2b72843cf1aa4ae15bcd7b1bbbda4fa6a71
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-19062
Problem:
Please add the debug info of hdmitx
Solution:
add the debug info of hdmitx
Verify:
verify on the board of U212
Change-Id: Ib6ce0ec6f9388e102b7d31b645a2d6d105058178
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
PD#SWPL-18939
Problem:
1.read gpupp failed
2.binding cdev gpufreq failed
Solution:
1.add gpupp parameter and change the min state of gpufreq
2.put part of sm1 thermal dts parameter in dtsi
Verify:
S905X3_AC214
Change-Id: I364fabf05d606ee82bbe8cb30b40dae5063a0b00
Signed-off-by: zhenxin.pu <zhenxin.pu@amlogic.com>
* changes:
ODROID-COMMON: arm64/dts: move can0 node to each overlay directory
ODROID-COMMON: arm64/dts: Extract spidev node from main dts to spi0 dtbo
ODROID-COMMON: arm64/dts: Rename uart DTBOs to use numerical order
ODROID-COMMON: arm64/dts: move onewire node to each overlay directory
ODROID-C4/N2: fix to remove compile warning of 'Warning (reg_format): "reg" property in ...'
ODROID-COMMON: arm64/dts: Move peripheral nodes from dts to each dtbos.
ODROID-COMMON: arm64/dts: Support device tree overlay.