PD#TV-2802
Problem:
The image is stuck or blackscrean for a few seconds
when the DTV stream is replayed.
Solution:
when audio pts and video pts discontinue, then
adjust the pcr source clock.
Verify:
X301
Change-Id: Id0a74e2d4106a30b426bfa7a4faa70451db9b79e
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#SWPL-4551
Problem:
ImagePlayer cannot play picture
Solution:
add picdec dev node for u200 u211 u212 w400
Verify:
franklin
Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1
Signed-off-by: xi an <an.xi@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-6586
Problem:
Android P trunk can not compile 64bit kernel
Android P vendor size is not enough,
64bit kernel and isp so etc ,
the size exceeds 256M
Solution:
change vendor size from 256M into 320M
Verify:
galilei
Change-Id: Icc7b3d7c8d56f5c361acf9722bba6422b8dc3af2
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-5002
Problem:
TL1 need to support defendkey secure upgrade check
Solution:
1.modify the way of get random
Verify:
TL1 skt board verify pass
Change-Id: I76b29800de787c5e5b18e023d84c1161c9b1643a
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
PD#SWPL-6896
Problem:
In the HF1-31 Iter 03 test, the Rx EDID's max tmds clock is 600MHz,
and it doesn't claim that it supports Y420 modes. But
echo 2160p60hz,420,8bit > /sys/class/amhdmitx/amhdmitx0/valid_mode
'cat valid_mode' will get 1.
Solution:
Add Y420 8bit check
Verify:
G12/U212
Change-Id: I0a128eb33aeb2b4bcbf253eff49e9c5186386af1
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#SWPL-4551
Problem:
ImagePlayer cannot play picture
Solution:
add picdec dev node for u200 u211 u212 w400
Verify:
franklin
Change-Id: I35cc28e2ab06367f33a7326ce671b1ee461e6fb1
Signed-off-by: xi an <an.xi@amlogic.com>
PD#SWPL-6694
Problem:
home button has no function in sm1-ac200
Solution:
add home button configuration in dst node
Verify:
test pass on sm1-ac200
Change-Id: I670480c6dfd7f833e737adaddbe5981d84091203
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
PD#OTT-2452
Problem:
Black screen in the middle of the cut.
Solution:
add keep last frame.
Verify:
on U212
Change-Id: Ib24f066e0682c7427024a74d9bf8cc9b8a310d62
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
PD#SWPL-3730
Problem:
playback not smooth
Solution:
if p2 lookup fail, set p2 = p
Verify:
verified by x301
Change-Id: I181eae2ba40edd937df12e0925c2a55c856162ba
Signed-off-by: rongrong zhou <rongrong.zhou@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-4653
Problem:
optimize the S905Y2 power consumption
Solution:
limit CPU and GPU frequency, reduce hdmi tx consumption
Verify:
test pass on u221
Change-Id: I1d95068f8beb5616c9aeea91122b5233e479db8b
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
PD#SWPL-5404
Problem:
emmc report data crc error in hs200 busmode
Solution:
set hs200 co_phase to 2 and did not reset the
hs200 co_phase and tx_phase when adjust tuning is
find the error point in sm1
Verify:
verify pass on sm1_s905d3_ac200
Change-Id: I56aa8eb666fb55641db75878a3488f66c721bd6d
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
PD#SWPL-5404
Problem:
sm1 usb fixdiv mode set adjust cause error
Solution:
disable emmc calc_f in dtsi.
Verify:
test pass on sm1 ac200
Change-Id: I4459bf4faa2141a9e684b1e5bb95fb806eecbbfa
Signed-off-by: ruixuan.li <ruixuan.li@amlogic.com>
PD#SWPL-2634
Problem:
eyetest mode is a little unstable
Solution:
adjust the tuning mode of the fixed adj
Verify:
R311
Change-Id: I6112e0078bf013d2a4cfe4ff04210f1d15e3439d
Signed-off-by: long yu <long.yu@amlogic.com>
PD#SWPL-6810
Problem:
android version, no sound for spk
ad82584 is mute in default.
Solution:
un-mute ad82584, and add delay for de-pop
Verify:
ac200
Change-Id: Id78eb77b5e1a0ebed0a16a9b97992c6a07f78cde
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
PD#SWPL-3750
Problem:
when debug on, too more log
Solution:
delete
Verify:
verified on android p
Change-Id: Iabaaa4fa205da5453a303c98bce8b71b55c5f77b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5292
Problem:
g12b-revB, some u disk amldevread test failed.
Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.
Verify:
g12b revB
Change-Id: Ibbf924c93d193d7e40c4d8121a4616a8d1caeaaa
Signed-off-by: he.he <he.he@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#TV-1361
Problem:
Add scene change detection for DM (read part),
start from TL1 by VLSI(Zheng.Bao).
Solution:
1. add control in function noise_meter_process;
2. add debug information:
cat /sys/class/deinterlace/di0/nr4_param
3. set NR2_CUE_MODE[11:10] as 3; (by feijun)
Verify:
tl1
Change-Id: Ib34d1b403539ba5fe5135d6608bfa2cf27490826
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
PD#SWPL-5836
Problem:
kernel panic when read cec reg
Solution:
remove func that might cause sleep in spinlock,
so as to avoid deadlock
Verify:
S805X-P241
Change-Id: I8394f69bdbeff6673c795a221c08ef76164c5bdb
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-86
Problem:
Android tensorflow lite ,NN API implementation
Solution:
NN API implementation
Verify:
Local on galilei
Change-Id: I7c1a3a68005218544d0a3c7a7360c9ee38fc53de
Signed-off-by: deng.liu <deng.liu@amlogic.com>
PD#SWPL-6168
Problem:
avb+abupdate with care map.txt cann't boot up
because of check product partition
Solution:
add avb for product partition in dts
Verify:
ampere
Change-Id: I0310853965340d9b810a89cbf1719f9ba002261d
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
PD#SWPL-6179
Problem:
PLAY-AL1-30FPS-HEAAC exist multi short frame every 16.6s
Solution:
Hold one frame in case occur pattern broken. Problem occur as this,
for non-tunnel mode, amlvideo vidioc_dqbuf in omx so fast, then lead
decoder buffer quickly pushed to amlvideo queue with only current frame,
without next frame. Hold one frame we need next frame and next frame pts
after next frame, here we use next frame pts and a crease with duraion
as next next frame pts.
Verify:
verify by u212
Change-Id: Ie98c30791e785abb886aa19a7e930d191f5c2b3e
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-5430
Problem:
new function lane 6 and lane 8
Solution:
support max 16 channel playback
Verify:
sm1_ac200, verify pass
Change-Id: I3af42a0b68bca8804afa042ad4a506a379b9bf86
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-6028
Problem:
enable ftrce in ramoops
Solution:
enable ftrce in ramoops
Verify:
u200
Change-Id: I2403bf82c342416b7c34f2115b14dce623406997
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
dts: debug: enable ftrace_ramoops for new dts [1/1]
PD#SWPL-6028
Problem:
enable ftrce in ramoops for new dtbs
Solution:
enable ftrce in ramoops for new dtbs
Verify:
X301
Change-Id: I0643329a873a310d1078ebd898fec2d3cb75d43c
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-5975
Problem:
adjust cpufreq table for g12b
Solution:
adjust cpufreq table for g12b
Verify:
test pass on g12b_w400
Change-Id: I037ab2a1718a2aae0f42a15b7d95f163bc77ca85
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
PD#SWPL-6192
Problem:
no sound from av and amp spk
Solution:
1) fix tocodec for sm1
2) add no mclk control for ad82584
Verify:
ac200
Change-Id: I63f0ec94d2f5b980249ac5c9c810c8e4d8410ea3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-3435
Problem:
P321 doesn't support DTS HD decoding
Solution:
In HDMI RX module, we add a new field to
indicate whether the input audio is HBR.
With this info, hal can enable the PAO
mode to decode the HBR audio.
Verify:
P321
Change-Id: I6fd180e6636905f5119fe1d313214d4b56d07d5e
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: codec: The tl1_acodec_probe takes 340ms time [1/1]
PD#SWPL-4345
Problem:
The tl1_acodec_probe operation takes 340ms time
Solution:
Using workqueue to replace the msleep func
Verify:
verify on T962x2_X309 board
Change-Id: I5316beb8a0e94ae022c948ec112b6fb219050212
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
audio: auge: fix hw resample crash when pcm disabled [1/1]
PD#SWPL-4387
Problem:
system would reboot when carshed by hw resample
Solution:
actrl of toddr is modified to null pointer, so it leads to crash.
fix to pass toddr pointer to function, not fetched by resample module.
Verify:
x301
Change-Id: I91c30260ee825d843e8ed17304031382b42ac119
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
audio: fix tas5808 no sound [1/1]
PD#SWPL-3081
Problem:
1,lack suspend/resume function
2,lack reset pin control
Solution:
1,add suspend/resume function
2, add reset pin control
Verify:
962x2
Signed-off-by: Che Song <che.song@amlogic.com>
Change-Id: I1cb920fdba4ad32048518fdad93e3a5a81039dd9
audio: Fix Linein Not work [2/2]
PD#SWPL-4737
Problem:
HDMI in and Line in use the same device.
But their input I2S inskew is not same.
Solution:
We need use separate skew setting for different
source.
Verify:
A113
Change-Id: I8e306af06d9c9d614c4032f2030dbedb64a7f6df
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
audio: Add binv setting [1/2]
PD#SWPL-4733
Problem:
The Speaker has noise
Solution:
The binv is not correct for TDM out c,
we will use amixer to set it
Verify:
A113
Change-Id: I7c8af8e00e3c8834533347947630a6944b7e2136
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
dts: Add new dts files for S400 SBR [1/3]
PD#SWPL-4435
Problem:
adapt Soundbar solution to S400 SBR platform
Solution:
new dts file axg_s400_v03sbr.dts changed from axg_s400_v03.dts
add reference remote control mapping in mesonaxg.dtsi
add tas5782m
Verify:
S400+D621 A113D
Change-Id: I6feee3993192656eb66b7ee5a9ff6c85d22075e4
Signed-off-by: bing.jiang <bing.jiang@amlogic.com>
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: auge: fix spdifout clk for share buffer [1/1]
PD#SWPL-4278
Problem:
spdif out clk is related to tdm clk for share buffer.
For play raw data 32k/44.1k, it's not correct for spdif out clk.
Solution:
separate spdif out clk and tdm clk
Verify:
x301
Change-Id: Ie6e3d7413d9577c9c80ea90e8b1f9ff4bf3eefcf
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Revert "audio: fix samesource clk after play DDP [1/1]"
This reverts commit aeb98641df.
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
sound/soc/amlogic/auge/spdif_hw.c
Revert "audio: audio glitch at tdm startup [1/1]"
This reverts commit 47425f47c1.
audio: audio glitch at tdm startup [1/1]
PD#SWPL-5219
Problem:
audio glitch at tdm startup
Solution:
Pad 0 data to clear the remaining data
in the module.
Verify:
Local tested.
Change-Id: Iab526c6893a32030799567b57e05e7bb11b8fea0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
audio: auge: fix spdif reset when used for share buffer [1/1]
PD#SWPL-3655
Problem:
spdif output 8 channel, channel map in wrong order.
Solution:
reset spdif before enable as soon as quickly.
modification is limited for tl1 now
Verify:
x301
Change-Id: I224032390404be85c77d7436a9be9148df09c997
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
audio: auge: modify share buffer can be occupied by later module [1/2]
PD#SWPL-5300
Problem:
share buffer is not alaway used for tdm and spdif,
but raw data needs to output by spdif.
this would lead to spk silence for dual output
Solution:
share buffer can be occupied by later module.
when tdm and spdif output in share buffer, then play spdif,
spdif will release from share buffer,
only frddr is only used for tdm, another new frddr is used for spdif.
Verify:
x301
Change-Id: Ib0c2e02e575f496c0b0911d347857ede0d0cfa14
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
audio: add kcontrol of EQ setting [1/2]
PD#TV-1808,TV-1809,TV-1810,TV-1811
Problem:
HW EQ on TL1 doesn't work
Solution:
Add kcontrol of EQ setting and getting
Verify:
test on X301
Change-Id: Iea1525b4a57241a99389c746c0238d96424df316
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: Add tas5782 volume control [1/1]
PD#SWPL-4734
Problem:
There is no volume control for tas5782
Solution:
Add ch1/ch2 volume control for tas5782
Verify:
A113
Change-Id: I1e866a2bc024713278aea0c19cc8c91084a24b90
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
audio: Merge code from RSR project [1/2]
PD#SWPL-5495
Problem:
There is some improvement code on RSR
project, we need to merge them back to
trunk.
Solution:
Merge the code from rsr branch
Verify:
A113
Change-Id: I0ba11c8ff412db659ff2f10bfc00d63c49f84bb5
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
audio: Add PDM lane mask [1/1]
PD#SWPL-5594
Problem:
The PDM input channel is not always in the
first lane, we need a mask to detect which
lane to use
Solution:
Add lane config in PDM module
Add lane-mask-in in W411 config
Verify:
W411
Change-Id: I48ca5927402282611ba5e225d75d034eeceacad6
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
audio: tune audio volume slew time [1/1]
PD#SWPL-5845
Problem:
audio playback too slow
Solution:
change audio volume slew time
Verify:
Locally test on X301
Change-Id: I48c920037cac852aaa01818bb02eaa8991c1df6b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
audio: fix H-voltage when tdm disable [1/1]
PD#SWPL-2952
Problem:
High voltage will cause the tdmout
data pin wrong I2S data which cause pop.
Solution:
Disable the bias of gpio.
Verify:
I2S data will be low when I2s closed.
Change-Id: If5d68e0f30df074f528dfec21cbe297795bc4ea7
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: add spdif/HDMI mute ctrl [1/1]
PD#TV-3016
Problem:
HDMI SPDIF mute interface has no effect.
Solution:
Add these interfaces for auge platform.
Verify:
Tested locally.
Change-Id: I168c0940e0f2b3d94091d43c6b8190f6f833c0f1
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: auge: fix PAO for frhdmirx [1/2]
PD#SWPL-4010
Problem:
Not detect audio type by PAO for frhdmirx
Solution:
Add hw detect for frdhmirx PAO
audio type is checked by hw for PCM too
Verify:
x301
Change-Id: Ib60d738c69f336866250a8181609503912bf0485
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
audio: Add Mute function for tas5782 [1/1]
PD#SWPL-5961
Problem:
There is no mute control for tas5782
Solution:
Add mute function for tas 5782
Verify:
A113
Change-Id: I75f8b82a359778f28494636fe76c7bc4db848643
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
audio: Image signal delay of 1.5 seconds when switching to AV source [1/2]
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>
audio: add I2S samesrc channel mapping to spdif [1/1]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: add soc DRC tune interface [1/3]
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>
audio: auge: transfer audio data to wake word algorithm [1/3]
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>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
audio: add tdm and spdif clk fine tuning interface [1/1]
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>