PD#SWPL-7324
Problem:
tvafe work abnormal when use vdin1 preview
Solution:
revert the previous commit for v4l2start/stop
Verify:
x301
This reverts commit 81c1e1449c.
Change-Id: I8cdefececb8b01cb86426684a6c700bc9bf8b615
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-4638
Problem:
Speaker output high frequency howling
after change from pattern 615 to pattern 1 on chroma22294.
The hw resampler keeps sending noise if it has no input.
Solution:
Enable the hw resample pause thd by default.
Verify:
TL1 X301.
Change-Id: Ib6f0924025e155eaa8ba0e3681b307f7ff56b449
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-6994
Problem:
Sometime will lose msg. because of the isr src
number connected to timer.
Solution:
modify irq src number to 203
Verify:
tl1
Change-Id: I12586b543dbf87a964ba79e1c82561f9516f8e3c
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-7511
Problem:
no need enable vdin afbce under 4k,
it is no help for bandwidth with these resolution
Solution:
only enable vdin afbce for 4k resolution
Verify:
x301
Change-Id: I283efd872004846d158ef6c9addbd1e666d2f61a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#SWPL-4253
Problem:
Compared with P212, GPU on g12a can not work with high
frequency
when running some cases like particle;
Solution:
update gpu freq tbl for buildroot
Verify:
build pass
GPU on g12a can work with high
freq when running particle
Change-Id: Ifcb286cd37faa9f618b48ab515ca360aba563a34
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
PD#SWPL-4253
Problem:
Compared with P212, GPU on g12a can not work with high frequency
when running some cases like particle;
Solution:
update gpu freq tbl for buildroot
Verify:
build pass
GPU on g12a can work with high freq when running particle
Change-Id: Ie10335d1f3a043d4418245d31efa8b42077031a9
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
PD#SWPL-7197
Problem:
There is not detail calculation process for i2c duty cycle
Solution:
add detail calculation process for i2c duty cycle
Verify:
verified on x301
Change-Id: Ifc222acda3268f792f63e84c6dc3513d80568e19
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-5475
Problem:
need to add interface of HDR Prime SL driver
Solution:
add interface of HDR Prime SL driver
Verify:
U212
Change-Id: If0e62b74ccbaa4ede490e7a9896d9f5915480d6f
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
PD#SWPL-6937
Problem:
1.get lefttime error by 'cat sys/class/watchdog/watchdog0/timeleft' cmd.
2.if DTS is configured to feed watchdog by Android, the system will
restart automatically after wake up.
Solution:
1.modify the code to get time.
2.when the system wakes up, first judge whether the watchdog runs,
and then decide whether to start the watchdog.
Verify:
test pass on u200
Change-Id: If64888ffdd5651e8cfcace5ea0d0da31641bb397
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
PD#OTT-2524
Problem:
enable sdr2hdr function, uboot logo have color change
Solution:
match uboot sdr2hdr function
Verify:
verify on G12A
Change-Id: I160cd6141d09a385d299ca96a89eb1ebf09c86e8
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
PD#TV-4708
Problem:
small window, bottom of the screen is covered by
blank on the online video
Solution:
vline is odd, mif out is not right
Verify:
verify on TL1
Change-Id: I39eb0cdfd2f4b200a09a9c8b779f509caf6dea37
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-4638
Problem:
Speaker output high frequency howling
after change from pattern 615 to pattern 1 on chroma22294.
The hw resampler keeps sending noise if it has no input.
Solution:
Enable the hw resample pause thd by default.
Verify:
TL1 X301.
Change-Id: I076d1b80c6482661fdc3fd5808f1cc231666d07e
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-5664
Problem:
pcr is probably adjust when test AL1 eyepatch test case
Solution:
the time is not accurate when check pcr and omx_pts differ, because
omx_pts is used the value that be set, but pcr is current. Here add
compensation for omx_pts
Verify:
verify by nts
Change-Id: I3e0f6f006fd79cf7cac4148fd18da72111a333c7
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
PD#SWPL-6696
Problem:
Pad key '+' cannot work
Solution:
Add to pad key support list
Add more key support for SBR remote
Verify:
S400 S400_SBR A113D
Change-Id: I9bdc3053f2b3ce778e9c2f682fcf31ac054887b4
Signed-off-by: Yeping Miao <yeping.miao@amlogic.com>
PD#SWPL-7326
Problem:
slab-out-of-bounds in strlen called by name_store
Solution:
Make sure the string passed to strlen is always '\0'
ended
Verify:
Locally
Change-Id: Ifd78a100c0e34ff9afb527ebe7b044ceb5c3505e
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#SWPL-5038
Problem:
image will block when pts discontinue
Solution:
do not show the frame when pts greater than pcr
Verify:
tested on Marconi
Change-Id: I57ea973b7fdcdc7cded2c5c9b681be29f0a31a4b
Signed-off-by: peter wang <peter.wang@amlogic.com>
PD#SWPL-7184
Problem:
flanklin bring up based on google-ref.
Solution:
Modify copy file for franklin.
Verify:
verify it on franklin.
Change-Id: Ibaba2dcb7a3e8715243f5a93d69a1bf96e8c49a7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
PD#SWPL-6785
Problem:
there's garbage frame show when signal change
Solution:
enable forward video frame skip interface, and set vdin
to skip one more frame to prevent garbage been shown
Verify:
X301
Change-Id: Id099558c733843f330b99246ea31fbbd0c18ed84
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-7085
Problem:
Currently kasan can't be used on 32bit kernel, it's difficult to debug
memory problems;
Solution:
Bring up KASAN on 32bit kernel
Verify:
p212
Change-Id: I4d80568f023315994e969c79b786eba856177c9c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-6865
Problem:
ddr bandwidth measure is not supported on sm1
Solution:
1. Add port description and support for it
2. Record max/average bandwidth support;
3. Support up to 60 continue bandwidth sample
4. Fix bit mismatch of dmc monitor for sm1/tl1.
Verify:
sm1
Change-Id: I0b42db8214099b9cd6d1c3f00174dc65eebfc030
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-7027
Problem:
audio path AVin is on audio
Solution:
enable ADC for linein
Verify:
Verify on AB311
Change-Id: Iea1d694e0b605d62596635d85416d33f56dbbcb2
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#SWPL-7262
Problem:
dnlp iRgnBgn and iRgnEnd not load db value
Solution:
add refresh of iRgnBgn and iRgnEnd.
Verify:
on x301
Change-Id: I81ae91490a7fd2899eefd4f800948851ebbf21e7
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#OTT-3244
Problem:
When vd layer state is on_pending, calling enable videolayer
function will overwrite the state. Then it will not enable video
layer really.
Solution:
Add the judgement to check if the state is on_pending.
Verify:
verified on W400
Change-Id: I0513a6610fdb108bec05858c7f6c7976be5e7edb
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#TV-4213
Problem:
can't wake up by gpio/adc key when suspend into freeze mode
Solution:
not suspend gpio/adc when freeze
Verify:
X301
Change-Id: I32ff27aafebe35d8deb6e9b4d3daee686bbf90bc
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
PD#TV-3541
Problem:
1.only vmalloc 4KB at first.
2.if user space need more memory, try to allocate a new vmalloc
range with large size and move all related data to new place.
3.the first 4KB is not free when release this binder.
Solution:
free the first 4KB when release binder.
Verify:
R311
Change-Id: I4429de04a260671e4626b77ec340e47e436d5c8d
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
PD#SWPL-7302
Problem:
sm1 green screen when play videos
Solution:
add chip support
Verify:
s905D3
Change-Id: I50c0a9f889d72b65157a973bfe1df8dce10db64a
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
PD#SWPL-6028
Problem:
improve ftrace_ramoops to debug bus hang
Solution:
1. in uboot
setenv initargs $initargs ramoops_io_en=1 loglevel=3;save;reset
2. in linux command line:
cat /sys/module/kernel/parameters/ramoops_io_en
to check if success.
3. after watchdog reboot, get trace data with:
cat /sys/fs/pstore/ftrace-ramoops-0
Verify:
TL1 x301
Change-Id: If1a2582b40a3ded31eedef5355eb0b8a5bf495c3
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
PD#SWPL-6969
Problem:
For some historical reason, aml-uart is configured as the earlycon
name in uboot, which is not recognized by 4.9 kernel
Solution:
support aml-uart as the name for earlycon
Verify:
Ampere
Change-Id: I53463ac6d27ff3e911aa675cd5d10d6cbf26ba05
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
PD#TV-4306
Problem:
vdin afbc will show green screen when hdmirx change dest_cfmt after stable
Solution:
dynamic config vdin afbc with cfmt
Verify:
x301
Change-Id: I404c47934f090222a2cdd7cf98b619826cd92cc7
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-4274
Problem:
fix audio config (PAL_M, NTSC_M) when video is PAL.
Solution:
fix audio config (PAL_M, NTSC_M) when video is PAL
Verify:
verified by x301.
Change-Id: I9be8d71d52a226b6422317be0b77ca6331f23147
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-5427
Problem:
lack vad function for sm1
Solution:
add vad function for sm1
Verify:
ac200
Change-Id: Ib4118b16405102a72f98ff65396e6f9d98f97bca
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
PD#SWPL-7009
Problem:
hotplug hdmi causes system crash
when unplug hdmi display mode is null, hwc hasn't received
event and post frame normal but osd vsync lost, which caused
wait hw vsync timeout(1s), and fd leak.
Solution:
when process every frame, if display mode is null, exit frame process
just process fence.
Verify:
verified on Raven, franklin
Change-Id: Icbe7cd76776e46a6ed79c6cee3ea05772cc5f9d2
Signed-off-by: Pengcheng Chen <pengcheng.chen@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: li ting <ting.li@amlogic.com>
PD#SWPL-7174
Problem:
spk is out of work on AB311
Solution:
bringup AMP ad82584f
Verify:
AB311
Change-Id: I8771fc204b19eeebed5247ec4c8984acbf004372
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>