PD#SWPL-5175
Problem:
r842 agc control need be controlled by demod
Solution:
add agc control function
Verify:
verified by t962x2_x301 t962x2_t309
Change-Id: If712e22276b97c457e2e2ed1c79bdf3673813dff
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#SWPL-5338
Problem:
dnlp new c curve and interface
Solution:
dnlp new c curve and interface
Verify:
x301
Change-Id: I7a221b6c5546873ebc3c3182d4856d57ffc3df48
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#TV-1592
Problem:
no interface to get hdr type
Solution:
add ioctrl interface for hdr type
Verify:
tl1
Change-Id: Ib7781fa8c924cbd7721b592acb18d3b834a04f06
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#TV-3683
Problem:
1.pretect display pll set in vlock, m and frac value
write at the sametime.
Solution:
1.optmis vlock flow
2.add notify_callback when mode change
Verify:
tl1
Change-Id: I72fab117c5b7247659c5c08eeff62fbc4d421839
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-3683
Problem:
Repeatedly exit HDMI channel cause black screen
Solution:
1, support vlock_m and vlock_frac interface
2, optimized clk change and de timing
Verify:
verify on t962x2-x301
Change-Id: Iddedade08300290853e59b026b3ca1b9939eed79
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
PD#SWPL-6133
Problem:
monkey test di cause crash,when is di reg processing, unreg event
attach, and released the di buffer, so cause crash.
Solution:
every unreg event received, need waitting reg process had done.
Verify:
tl1
Change-Id: I2f2bb068ed65ab14ab4f09de96b64d7290da5914
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6152
Problem:
in some special cases, there are many sync
log information from serial port.
Solution:
remove this log and add pts realign.
Verify:
X301
Change-Id: I81d1753ef6d4e6c1e39d6c7f38eb3836e07be05d
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#SWPL-5595
Problem:
set_cpus_allowed_ptr(current, cpu_all_mask) is always errorly
called to retore CPU affinity for current task. In some cases,
the current may be a bounded kworker thread, and we should not
set its CPU affinity to all CPUs
Solution:
Save the original CPU affinity and restore it
Verify:
W400 revB
Change-Id: I3cd65e79791563af9dacc09639b8645b97979c44
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#TV-3641
Problem:
Add new interface to disable video when window is too small
Solution:
Add the black_threshold interface to control the threshold size.
And set the default value is width=20, height=30.
Verify:
verified by x301
Change-Id: Ifeb376c2e2edbb5706b2cdc2d08421bd0086b01e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-6169
Problem:
when resuming and playing hdr films, flash screen will happen
under LG TV
Solution:
quantization range has changed between UI and playing hdr
films. we keep quantization unchanged. Same as MTK.
Verify:
s905x2
Change-Id: I071abecfba705dbd44d33c2673d4938c39f419cf
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#SWPL-5971
Problem:
preview window color is green with 1080p & 4k hdmirx
Solution:
vdin1 dest_cfmt follow vdin0 for the software double write for preview
Verify:
x301
Change-Id: I2e45b5f838cddcac1ca1c4e6710a7cc1f45ae9b5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-6394
Problem:
free clk if failed to set 1G for fixpll.
Solution:
free clk if failed to set 1G for fixpll..
Verify:
test pass on A311D-W400
Change-Id: I1a7af6fe459c067e34ff8752453a1a04985edb88
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-6347
Problem:
When AFBC switch to normal frame, excluding the crop information, the pps
parameters are calculated with wrong input size.
Solution:
1.Add the crop information, when afbc swicth to normal frame.
2.check ratio of compress_width/width, sync to crop value
Verify:
verified on x301
Change-Id: Ib943f8a11263ce577952e589bc172d8b7bafd954
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-6094
Problem:
some mvc stream is not smooth.
Solution:
optimize the condition for pts loockup fail code.
Verify:
x301
Change-Id: I50bb3f317e1245735f9ce0ffcc44376c91e871ed
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
PD#SWPL-6200
Problem:
emmc calibration delay set error.
Solution:
modify delay_step to 250ps.
Verify:
verify by s912.
Change-Id: I1c0e31ae6bdda8b0f105e12f3efc81b5474376d6
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-5518
Problem:
In DTV passthrough, the output clk drifts from input
Solution:
add clk fine tuning interface
Verify:
verify by X301
Change-Id: I969d3eb865fb1aba90f155965548454cc3040c99
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-5908
Problem:
execute vmap when di reserved memory is disable
Solution:
skip memory calculation in init buf while using cma
Verify:
verified by t962x2_x301
Change-Id: Ib0c2e422f61f2b4182109cb7bbb3107029363ce0
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
PD#TV-3389
Problem:
add vad wake engine in kernel
Solution:
transfer audio data to wake engine
Verify:
x301
Change-Id: I7f44d0141141775bb40f01dbc344a295a72c9d87
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-6234
Problem:
flash line in the screen when HDMI connect iTV IV3010 box.
Solution:
1.update phy low frequency setting;
2.optimzie pll init sequence to save some detection time;
3.update verB pll setting(0323);
Verify:
TL1
Change-Id: I71225b06f02e4888ce093780a2beb0a381986293
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
PD#SWPL-6096
Problem:
from local av switch to dtv,black screen,then search channel
Solution:
revert the modification "62617"
Verify:
tl1
Change-Id: I49ae627b9f0b1f6a776e5cbffc723a43e85cee72
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-4858
Problem:
Soc not support sduart
Solution:
add not supported flag in dts
Verify:
verify by tl1 skt
Change-Id: Ifd1f975bd13b150aac9d99f60423ab4f0b903c98
Signed-off-by: Nan Li <nan.li@amlogic.com>
PD#SWPL-5823
Problem:
adjust cpufreq table for tl1
Solution:
adjust cpufreq table for tl1
Verify:
test pass on tl1_x301
Change-Id: I69f5efc5051c09102c07df34b7bd33b30c61361f
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-5904
Problem:
Audio DRC in SOC is out of work
Solution:
Add DRC tune interface
Verify:
Verify on X301
Change-Id: I5e8ecc6dafd7fc3805b0c3e60a6ec4c945729119
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-5334
Problem:
TX window is not stable
Solution:
Reduce the drive capability of emmc controller pins
Verify:
TL1-T962X2_X301
Change-Id: Ib641c66131c2dee41eb68fb262f4770f431676b9
Signed-off-by: long yu <long.yu@amlogic.com>
PD#SWPL-6070
Problem:
flash garbages when unreg process.
Solution:
can't speed down the clkb rate, there is a mirror mode
Verify:
tl1
Change-Id: I5fcc29a1cda196992a457f40fee31992f4bc1528
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-6147
Problem:
I2S has 8 channels but spdif only 2.
Need map every single i2s lane to spdif sharebuffer.
Solution:
Add the DTS setting MASKS as former does.
Verify:
Local tested.
Change-Id: If212fc1b9c937a42778682948773874951b8a55a
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#TV-3067
Problem:
Image signal delay of 1.5 seconds when switching to AV source.
Solution:
1.add av audio control for audio patch.
Verify:
verified by x301
Change-Id: I3e820923a26439b3aeb9841562b81cd6d55ed4ea
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SH-397
Problem:
use modetest to test A113D DRM function, displaying is incorrect
Solution:
add linear addr config for a113d drm mode
Verify:
verified on s400
Change-Id: Id6a2c6ad94bc0148815076561d9dc2ae8ded6884
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
PD#SWPL-6161
Problem:
partial ir-keys with RC5 can’t been decoded on some boards(Eg: TL1, TXLX)
Solution:
adjust the register to extend the detection range of half/whole bit
Verify:
test pass on TL1
Change-Id: I6ff0af79b3bf9f624c1f249f056b729df7b5dd0c
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#SWPL-5185
Problem:
"fence color format error 28" when test weston-simple-egl
Solution:
reset afbcd flag when convert format value
Verify:
Locally on g12b_w400
Change-Id: I81a9394288026bc596f6b3438cec72ceaad7749f
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#OTT-2745
Problem:
TEST_N used only as gpio, and don't support other function
Solution:
add new group definition for support TEST_N used as i2sout
Verify:
test pass on P212
Change-Id: I47103b27df9baf21537e82b48ad18911a355f873
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
PD#SWPL-6097
Problem:
flash green garbages when play h.265 SD video
Solution:
afbc input not enable
Verify:
tl1
Change-Id: I310eeb6d922ab8b9035c815afc4e967c0e5390ff
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-4308
Problem:
gpu limit cause cts performance test fail
Solution:
limit gpu only when video playing or hdmiin
Verify:
P321
Change-Id: I682a908957491c8445fdb384dedd404169757e2b
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
PD#SWPL-5685
Problem:
ge2d buffer index error when dma alloc called simultaneously
Solution:
add lock to ge2d buffer index
Verify:
verified by w400
Change-Id: I1efa4127fbcb939ade457a890769d59a146a0798
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>