PD#SWPL-19310
Problem:
When playing dual layer dv streaming, first frame
may display green. BL layer is out of sync with EL
layer.
Solution:
Fix the case which will toggle one more EL vframe incorrecly.
Verify:
Verified by AC214
Change-Id: I13b4a05716e800b8d25564a82d1d34d7198bf467
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
(cherry picked from commit d3b7a081f3b744a7a24a84bbf74865445651d4b4)
PD#SWPL-18367
Problem:
amcsc used the wrong chip_id function from dolby vision driver,
but at the time, the dv driver maybe did not probe. So got the
wrong chip id state.
Solution:
Using the common chip id function.
Verify:
Verifed by u212
Change-Id: If27e861a2c8d8a586448f33cbaa70a81cbe2370f
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-20447
Problem:
The logo is displayed twice during the restart process
Solution:
Modify the codes used to update the status of HPD during the restart.
Verify:
verify on the board of U212
Change-Id: I05786b0668991eb4c161529d04b0333493475d8c
Signed-off-by: Zhengrong Zhu <zhengrong.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-21624
Problem:
audio hal can't get firstvpts.
Solution:
set firstvpts when video start.
Verify:
verified on S905X3-AC214
Change-Id: I22134ae58fbc89bb0748adcfc4b07718c192f8e9
Signed-off-by: Chen Chen <chen.chen1@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-21646
Problem:
usb C port bad recognition rate more than 3%.
Solution:
Using new PHY (that starting at TL1) parameters
that is different from the old PHY (g12a).
Verify:
test pass on tl1
Change-Id: I41885936645a90658318883b8556312814430633
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-21941
Problem:
Feature request:
need convert all video format to sdr
and output as sdr
Solution:
add force output mode feature for DV and CSC
For force output as SDR:
When policy == follow_sink(0) or force_mode(2)
echo 1 > /sys/module/am_vecm/parameters/force_output
mode:
BT709 = 1(SDR),
BT2020,
BT2020_PQ(HDR10),
BT2020_PQ_DYNAMIC(HDR10+),
BT2020_HLG,
BT2100_IPT(DV)
Verify:
none
Change-Id: If892be6c2a02a690fd6b8ef1a0b3e1db815c6595
Signed-off-by: robin.zhu <robin.zhu@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-21292
Problem:
There are mismatched information between dv_cap and dv_cap2
Solution:
Fix mismatch between dv_cap and dv_cap2
Verify:
G12
Change-Id: I147e5fe65e65d362259c66ae29ee14c63440ef97
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-20074
Problem:
When the variable hdr_priority is true, the original 'dv_cap'
will be masked, and systemcontrol can't get the value under
'HDR Priority/HDR10'.
Solution:
Add the sysfs 'dv_cap2' no matter what's the 'hdr_priority'.
Verify:
G12
Change-Id: Ia45e4016c1ce4fa17e5102509195afda95a20804
Signed-off-by: Zongdong Jiao <zongdong.jiao@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-21288
Problem:
if there's a short hpd low pulse(eg 10ms, plugout->plugin event),
the plugout event will be ignored in driver, and the subsequent plugin
event can't be handled by systemcontrol because systemcontrol can't
get the later plugin uevent when successive plugin uevent come.
But hdcp is disabled in driver, video will be mute after systemcontrol
detect hdcp auth status fail.
Solution:
don't ignore any hpd low pluse
Verify:
G12
Change-Id: I9b6a43c1f5cab5649b6dc011543f44601e96d4cb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-19812
Problem:
play non-standard hdr video, color is abnormal
Solution:
because video transfer characteristic is not SPMTE2084,
process as sdr video
Verify:
verify on SM1
Change-Id: Idc2d364917bf10ac9d1fb4a32962c629e22486f0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#SWPL-16900
Problem:
unable to wake up lcd after sleep, lcd io is used by other mode
Solution:
1,disable the mode and use the io for lcd
Verify:
axg s400
Change-Id: Ib2146f62a7dc8830eb46e8f0194f478abeab7cdf
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-20095
Problem:
1.optimize the loading of demod and tuner.
Solution:
1.optimize the loading of demod and tuner.
2.DVB uniformly calls the attach interface to load demod or tuner.
3.Demod and Tuner internal structure is independent of DVB structure.
4.All demod and tuner configuration parameters are passed on attach.
Verify:
Verified by x301 and ac214.
Change-Id: If5f485cebeadb7ec54cf5b10ef1424065c13b388
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
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-17916
Problem:
Reset spdifout will cause the spdif signal
stop a while and some AVR will spend 2s
to resync the spdif clk.
Solution:
As the chip after TL1 the audio FIFO changes to async
FIFO which may bring in channel map error.
In the case 2 channel playback, don't reset spdifout.
Verify:
SM1.
Change-Id: I65dbfe63251b4fbf468fbbcfbd07b2625708c8b6
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-15375
Problem:
subtitle weave error at the beginning
Solution:
finetune para for "di: fix pulldown 32 enter issue
from vlsi-LiuYanling [1/1]"
Verify:
tl1
Change-Id: I5929f50fd139797c25b9d4049acc9fdf04643534
Signed-off-by: Xihai Zhu <xihai.zhu@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-18249
Problem:
Using the wrong condition to select vd1 path
Solution:
Fix the wrong condition
Verify:
Verified on 905x
Change-Id: If88a8cc6e0a08eb9aaa85ebd613646a76af1d36b
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>