PD#SWPL-195444
Problem:
multiple applications accessing the dsp at the same time, which will
malloc multiple times, but the same address may be free when kfree
Solution:
add mutex
Verify:
sc2
Change-Id: I5043a055e4a8ed7d06e89a8e0542a4bf9de678f3
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-194007
Problem:
OTT mode, HDMITX will be silent.
Former design: TDMB->AD82128 speaker and TDMC->HDMITX HBR.
But S7D chip TDMC doesn't support 8 channel.
Solution:
HBR output needs switch to TDMB which supports 8 channel.
For OTT mode, case is TDMB->HBR.
But for soundbar mode, case is TDMB->Speaker.
As TDMB links to AD82128 which support max samplerate 96k,
in HBR case(192k clock rate) will corrupt AD82128, to fix it adding
tinymix interface to power up/down Ad82128.
Restore when switch to soundbar mode.
Verify:
S7D: ross soundbar
Change-Id: Ifcd0e192a12832c4bcddc7db6d4e160286cc7830
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-195735
Problem:
Get cs mute true value when it is ARC mode.
Solution:
Only get cs mute value when eARC mode, if ARC mode,
it is false value.
Verify:
s7d
Change-Id: Ib7b87d417cbe58cc5043887c022942f20848abda
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-195716
Problem:
error sei, parser metadata result is dual-layer
Solution:
treat it as sdr for dual-layer
Verify:
s5
Change-Id: I136e970ff08b2ff5227a64738809efd58862323b
Signed-off-by: can.zhang <can.zhang@amlogic.com>
PD#SWPL-195584
Problem:
s7d chip info is wrong.
Solution:
set s7d chip info same with t7c.
Verify:
s7d
Change-Id: Iee169bf8d7c49de12abf97840979e4f811bc3f1b
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
(cherry picked from commit e578da993e)
PD#SWPL-194746
Problem:
the sync_duration_num under interlace mode is wrong,
cause play youtube video stream non-smooth
Solution:
correct sync_duration_num for interlace mode
Verify:
S7
Test:
DRM-TX-139
Change-Id: I2e39016024fc9774299158428d14f8d0d8b1b906
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-184689
Problem:
DSP needs to support low power mode.
Solution:
Add dts config for DSP suspend.
Enable mailbox path for DSP to ARM.
Verify:
S6
Change-Id: Ib1198d260e9658a486d8e75817af8ebbb751d164
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
PD#SWPL-181167
Problem:
need drop error frame in low latency mode
Solution:
need drop error frame in low latency mode
Verify:
T5M
Change-Id: If6b5c458f3abed2694db4238f259a21e436d2862
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-193355
Problem:
clk is restricted by efuse, need check it after enabled
Solution:
add check mechanism
Verify:
s805x3
Change-Id: Iae5ed58299c599fd0bdbb3b1903543528ad05285
Signed-off-by: yiting.deng <yiting.deng@amlogic.com>
PD#SWPL-194781
Problem:
the spdif pinmux function can not be restored when suspend && resume
with youtube playback.
when suspend, the spdif was muted by audio hal change routing from arc to
speaker, and spdif pin function changed to default gpio pin function;
after resume, because the spdif resume done before audio hal changed route
from speaker to arc with spdif unmute, so the spdif pin function can not be
restored controlled only by spdif mute flag.
Solution:
use spdif soft mute and mute flag to cover it
and it will not affect the tinymix control with both soft mute and pin
mute
Verify:
t6d
Change-Id: I9af00ab1bbe014098556b548911c0650928bbf19
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-166012
Problem:
Some 512MB platforms need memory optimization and
our remote control not use rc core framework.
Solution:
Disable the whole media rc core framework.
Verify:
t5M,TXHD2
Change-Id: I284a759e494f258fc527ae428fb24f933867c179
Signed-off-by: rufei.fu <rufei.fu@amlogic.com>
PD#SWPL-183025
Problem:
some unnecessary config cost boot time, such as TRACER init cost
more than 100ms on boot stage
Solution:
sync with ARM64, disable some unnecessary config
Verify:
soddy
Change-Id: I4495aeec4f76fc36d644bc04d84738c976c85608
Signed-off-by: Lei Zhang <lei.zhang@amlogic.com>
PD#SWPL-181118
Problem:
error return value of codec_mm_scatter_alloc_want_pages_in cause the DMC
VIOLATION.
Solution:
Optimized the interface return value.
Verify:
none
Change-Id: I0f10472541c4de06d00718dee67d6bd02db09770
Signed-off-by: yu.xie <yu.xie@amlogic.com>
PD#SWPL-190078
Problem:
after reboot latest iotrace record may not completely clean
Solution:
add more exception check
Verify:
t5m
Change-Id: Iae157d6a8d195024bfa6ce5f6cd5e9fbfd6e5363
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-188326
Problem:
When the argument of the last command was non-zero,
the argument of CMD12 was non-zero because it was not cleared.
Solution:
The argument of CMD12 is set to 0.
Verify:
S7_S905Y5
Change-Id: I987f0579afbeb7b93fe8e33662207c0d72d3e095
Signed-off-by: jinbiao <jinbiao.ou@amlogic.com>
PD#SWPL-194584
Problem:
LayoutB is 8 channel, and layoutB happened channel swap.
Solution:
There is unstable tick when channel swap, set parity true,
audio hal reopen earc dmac,channel is alignment.
Verify:
t7c
Change-Id: I5d1b9c93efa357c28d72d118d46b92cb755c30a8
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
(cherry picked from commit 6890853289)
PD#SWPL-176946
Problem:
need set trim efuse value for kernel boot up
Solution:
read efuse value in earc driver probe, if can't read
efuse value, then set default value 0x10.
Verify:
bl201
Change-Id: I8a43becbb1d5823851fa1ad0238a52c58f8cf588
Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
PD#SWPL-185715
Problem:
s6/s7d eARC RX 32k jiter test failed, capture nothing data from
eARC RX.
root cause: eARC RX pll lock flag is false, so can't get data.
Solution:
add detection task, when eARC RX pll lock flag is false, and
eARC RX pll auto frequency calculation(afc) is true, and afc value
is 0x1f, then enable lock force.
Verify:
s6/s7d
Change-Id: Ie180051c31d155474ce5e43fffd77a06f39feeb9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>
PD#SWPL-193228
Problem:
need maintain the unused directory.
Solution:
remove the unused directory
Verify:
not verified
Change-Id: I1e7551340e336de91fb046f874480a63824a23f1
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-192187
Problem:
power consumption of cvbs is not satisfied
Solution:
disable cdac_pwd for s4/s4d when suspend, only
keep bangap for SAR ADC
Verify:
s4
Test:
DRM-CVBS-3
Change-Id: I825fc8400f19838ff39988dc60f7efcc85907449
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
PD#SWPL-187343
Problem:
Some chips have their dsp disabled by efuse, which would cause fail
starting of dsp. In this case, the reserved resources in the dts
should be released.
Solution:
Read the efuse register to confirm whether dsp is disabled or not
and release the reserved space in dts when it is disabled.
Verify:
sc2/s6
Change-Id: If9ebb4c26d72fe225354c23063b96efa73a2de7d
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-193457
Problem:
DV certification test, HDR packet is not closed,
resulting in test failure
Solution:
when there is no HDR output, the HDR packet is disabled
Verify:
S7D
Test:
DRM-TX-138
Change-Id: I10aa0a8d0af4c5fbf2cd48814b2f3df2966912e9
Signed-off-by: ruofei.zhao <ruofei.zhao@amlogic.com>
PD#SWPL-168498
Problem:
1. resample
loopbackA with resample_B for 4micin + 4LB.
resample_B only support 2ch resample process, which cause signal
aliasing;
2. earc tx pop issue for some devices
Solution:
1. select resample_A module for loopback 4 +4
changlist from:https://scgit.amlogic.com/#/c/407913
2. holdbus with format change control
changlist from:https://source.amlogic.com/c/tv/customer/
ay30a4/kernel/common_drivers/+/26293
Verify:
T5M
Change-Id: I11c522bf590503055b2778549b487f22745318d2
Signed-off-by: qing.zhang <qing.zhang@amlogic.com>
PD#SWPL-184116
Problem:
on sc2, the default bandgap setting of vdac is enabled,
thus cause cvbs out power consumption issue when suspend
Solution:
forcely disable bandgap when suspend, even if cvbs out
is not enabled currently
Verify:
SC2
Test:
DRM-CVBS-3
Change-Id: I7b2b07b5b4dfb2d7601413f39ba93c8b00be6b32
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
PD#SWPL-179917
Problem:
1. There's no power consumption limitation in early suspend
state.
2. After pressing power key to enter suspend, audio hal would
release audio_in lock slowly (after about 300ms or more), and
audio hal would send mbox cmd for pcm read and get latency.
3. After audio_in lock released, audio hal needsend mbox cmd
to check DSP VAD keywords wakeup first before Google katniss
receive the screen wakeup event.
Solution:
1. DSP do not enter power off while in early suspend.
2. Host driver do not switch clk if ffv is supported.
Verify:
sc2
Change-Id: I79768a691ac07af60fa8dc7e471254937398f727
Signed-off-by: bangzheng.liu <bangzheng.liu@amlogic.com>
PD#SWPL-175417
Problem:
if any cmd resp timeout error in HS400es will not
continue to send the stop command.
Solution:
if there is cmd resp timeout error, we need to
send stop command additionally.
Verify:
txhd2
Change-Id: Id6652ab18e8e7b4281e06d8ff537986bdf60a31e
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-180164
Problem:
The results obtained by cmd tuning are all 64,
and no abnormal sampling point can be found
Solution:
Test the cmd tuning again.
Verify:
T5m
Change-Id: I2bcdfc8cb46abd8bfbfd38922fc34d36f0dd8435
Signed-off-by: Long <long.yu@amlogic.com>
PD#SWPL-178926
Problem:
video_composer need support dec set screen mode.
Solution:
1.while dec set screen mode, vpp using this 1st priority.
Verify:
T982
Change-Id: I71d9cdb4d7b7ed452427f55e6e8767709d35b052
Signed-off-by: chen.xu <chen.xu@amlogic.com>
PD#SWPL-193153
Problem:
during burn-in testing, ge2d causes the system to reboot.
Solution:
1. add a timer to prevent the clock from turning on and off frequently
2. modify the status register and bit
3. add GE2D_LOG_SKIP_PROCESS flag for debugging
Verify:
s7d
Change-Id: I30fac680be0e1b0fa9833088aab05f45df7ca822
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
PD#SWPL-178328
Problem:
in scenarios where DSP is not required, dsp should disable clk when
suspend
Solution:
disable dsp clk
Verify:
sc2
Change-Id: If0351c63d5b631871e67e6100388d1e143e05ab0
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-193799
PD#SWPL-175752
Problem:
eARC RX discovery failed after suspend/resume.
root cause:entry the suspend, heartbeat lost, and eARC state disconnected.
when entry resume, there is no new eARC discovery process.
Solution:
eARC RX keep 5V low for 300ms when resume, and new eARC discovery
process is triggered by the HPD.
Verify:
sc2
Change-Id: Iffe9b78b00c0d77359e6e34289e3735276f056d9
Signed-off-by: jian zhou <jian.zhou@amlogic.com>