PD#SWPL-5668
Problem:
recognized as dvi after suspend/resume
when connect xiaomi mtk box
Solution:
when resume, add rxsense pulse to avoid
sda pulled low by xiaomi mtk box
Verify:
TL1-T962X2_X301
Change-Id: I480cbb4376bbb0c3b38318df2e26f5cc85db3d59
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-5813
Problem:
HBR audio cannot work on TL1
Solution:
add a debug interface force hdmi afifo in 8ch mode
Verify:
t962x2
Change-Id: Ied02f772634e2c326e18f6d6463c0ae000430e29
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
PD#TV-3062
Problem:
When switching channels, Hisense platform needs hold video,
and the timming obtained at this time is wrong
Solution:
because we have add hold video function, so get width and
height interface give the last video frame width and height,
and so on change the video
Verify:
X301
Change-Id: I331a4589dcb5f5785dce7eea6d8cd03c92d733d2
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
PD#SWPL-5302
Problem:
For dongle products, it is connected to TV directly, and some
parameters are different from mbox.
Solution:
Add dongle mode for driver's usage
Verify:
U211/S905Y2
Change-Id: Ibe45b167800d3b830d78ca8e9d7b67efd64d8564
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
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>
PD#SWPL-5942
Problem:
Too many log when DI process called the vpp_set_filters with AFBC.
Solution:
Add log switch to disable it.
Verify:
verified on X301
Change-Id: I34c8573bed78e49d27ec386279e929e617bf76d5
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-5579
Problem:
audio fifo underflow after switch audio pattern
on chroma 2233: only 2ch audio in, but audio fifo
is configed to read out 8ch afifo. chroma 2233
may change from multi-channel(witch audio overflows
and workaround to config read out all subpackets)
to 2-channel audio pattern, then issue happens.
so need to reset audio fifo config.
Solution:
except for workaround case, always config audio
fifo to only store valid subpackets.
Verify:
tl1
Change-Id: If32a55330fa7ebd9f6359a460eea4ad62872207b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
PD#SWPL-4918
Problem:
when reg unreg event called too fast, di cause system crash
Solution:
pretect reg and unreg flow
Verify:
tl1
Change-Id: I9b3e28c2b0b709d4f53f60b1f044a390933117ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5827
Problem:
When Mbox->AVR->TV connected, if TV switch input sources, there
may be up 3 times short HPD in Mbox side. And this may cause
audio module lost downstream's capability.
Solution:
Remove original 2s delay in 'hdmi_audio' event.
Verify:
S905X2/U212
Change-Id: I39512030f058ab9c72ee4c779f3b692898440271
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
PD#OTT-2643
Problem:
when bringup imx307,sensor name in dts need to update
Solution:
add sensor name for imx307 in dts
Verify:
W400
Change-Id: Ic5614326b0debd01efa028f66e7c6337d78ec242
Signed-off-by: shichang.zhai <shichang.zhai@amlogic.com>
PD#SWPL-4597
Problem:
Probabilistic full-screen display mosaic after seek 8K H265
Solution:
alloc mem area with the cached which from the vmap. this way
can improve the efficiency of I/O.
Change-Id: Icf18b9cd57bdc54f832aa827a535399939b28611
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
PD#SWPL-2297, PD#SWPL-5450, PD#TV-2311
Problem:
Fix ATV audio output noise when switching channels to play.
Solution:
1.Add the judgment of SNR to prevent the weak signal
from entering the OV mode.
2.Wait for the signal to be completely stable before OV detection.
3.OV detection is turned off by default,
and will be turned on again when non-standard signals are encountered.
4.The OV detection moves from afc timer to monitor.
5.Optimize detection of A2/FM.
6.atv demod ver: V2.08.
Verify:
verified by x301
Change-Id: I3064230472ce51e1192a2d08ef6cc6f4ba10abaa
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-5366
Problem:
g12b cpucore cooling devices hotplug a little core and a big
when hot trippoint trigger, need to update cooling devices that
hotplug one core one hotstep for big core to little core.
Solution:
1.modify cpucore cooling for new solution.
2.modify hotplug core for can hotplug all big core.
3.ipa dts no cluster id, all cpucore is one cooling device
dts have cluster id, one cluster is one cooling devices.
Verify:
test on g12b w400.
Change-Id: I3320b007e35e7ac415cf7623f74f0a5153fed9b5
Signed-off-by: Huan Biao <huan.biao@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-4823
Problem:
1. After stack optimization, stack memory cannot be
mapped as dma buffers and thus causing crypto dma failed to
generate correct result.
2. crypto dma was not enabled on G12B
Solution:
1. Move key_iv buffer from stack to memory provided by kzalloc
2. Enable crypto dma on G12B
3. Replace module_param with debugfs
4. Replace pr_err with dev_err
Verify:
verified on G12B
Change-Id: I6de682e3d1fc141f8c6179c7d91f9b4bff165eae
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
PD#SWPL-5665
Problem:
some vbyone panel need large vswing
Solution:
add large vswing support for vbyone
Verify:
x301
Change-Id: I2e0e9ab6a73dab292e104a92b341867ceb5ecdbb
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-3085
Problem:
Add VRTC debug interface into TL1 Android P
Solution:
add wakeup and wakeup_time debug nodes
if you want to set alarm time, for example, set alarm wakeup time 10s
echo 10 > /sys/kernel/debug/wakeup_time
if you want to wake the system when an alarm is triggered, like this
echo 1 > /sys/kernel/debug/wakeup
Verify:
tl1_t962x2_x301
Change-Id: Ic40db0d9cb4ac2cab615206518d8db22b4095f72
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
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>
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>
PD#TV-1549, PD#TV-2829, PD#TV-2830
Problem:
Fix non standard for analog signal.
Solution:
1.Add non standard config 3 for analog signal.
2.Fix non standard default value.
3.Fix audio control register an bits.
4.After correcting the frequency offset success,
reset tuner to prevent audio from identifying errors.
Verify:
verified by x301
Change-Id: I65335dbe9ce9dc66d4ccaae3c1ff591660790616
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-1885
Problem:
We need a function to statistics drop frame.
Solution:
Add a function to statistics drop frame.
Verify:
Verified U212
Change-Id: I30b429c2f3710c5c8d0da6ec083060c9cc3e61ad
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
PD#SWPL-5575
Problem:
not Compatible with G12B version a and b
Solution:
add revA match-data
Verify:
G12B-W400 RevA and RevB
Change-Id: Iee09861f7b162ee0660ea12dab60a238a9ae6be5
Signed-off-by: long yu <long.yu@amlogic.com>
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>
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>
PD#SWPL-5358
Problem:
no DES support for DVB DSC
Solution:
add DSC support for DVB DSC
Verify:
Local build on R314
Change-Id: Ia66a69b49eaaa14ad249d7b2a459f3143e813185
Signed-off-by: Zhiqiang Han <zhiqiang.han@amlogic.com>
PD#SWPL-5290
Problem:
add more panel clk ss step for tl1
Solution:
change 5000ppm to 2000ppm for a step
Verify:
verify by t962x2-x301
Change-Id: Id8e6795f657cc4edf1fa0411721f741e87a0fcba
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
PD#SWPL-4679
Problem:
optimize vsync probe method, by string, not index value in dts
Solution:
optimize vsync probe method, by string, not index value in dts
Verify:
verify by t962x2-x301
Change-Id: Ib87a2913b7dafb3ea3c9c5a936b29939ab7ee034
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
PD#SWPL-5553
Problem:
Binder will allocate about 1MB vmalloc memory for IPC for each process,
but under code like GTVS, there are about over 100 vmalloc ranges
allocated by binder, which cause vmalloc address range not enough for
other modules.
Solution:
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, dump vmalloc info if vmalloc failed
Verify:
P212
Change-Id: I07eea2623e5e19d410e0ff8a0bc6b11e2037023c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
PD#SWPL-4511
Problem:
1Gb SLC Nand ZDND1G08U3D-IA requested by Marketing
aka ZDND1G08U3D-xx module number in code
Solution:
add the nand id into amlogic nand flash id table
Verify:
AXG_S400
Change-Id: I4e221497b801239aa62f62f844ff247fa05925d0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
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>
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>
PD#SWPL-5205
Problem:
support afbc from vdin and decoder on tl1
Solution:
1.add this function
2.support from vdin and decoder
Verify:
tl1
Change-Id: I258d40ad5706f4a9a5749298dd9a33a9b4bbafa2
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#SWPL-5356
Problem:
when cat clkmsr node in sysfs, i2c bus does not work
Solution:
delete hard code
Verify:
verify on axg s400
Change-Id: Ib01f251f4b77685db5a57df395f1c1a75620c07b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
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>
PD#SWPL-5205
Problem:
Now vdin support afbc+interlace format
Solution:
In vpp, add case to support vdin afbc with interlace
Verify:
tl1_x301, verify pass
Change-Id: I6540b03a6cb5308fc2bc202069aa87234fd35df6
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
PD#TV-3086
Problem:
3D display abnormal. The vd1 canvas1 was incorrect.
Solution:
When enabled 3D function, config vd1 canvas1 correctly
Verify:
x301
Change-Id: I201cda2f33badf1af54ab4f177a17f761c7cea8d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#TV-3042
Problem:
3D function did not support afbc format before
Solution:
Add the support case which format is afbc.
Verify:
x301
Change-Id: I38189bfa78eec6ac811fb81631514d7d7b8b3d62
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
PD#SWPL-4761
Problem:
When slave device is busy processing, it is unable to handle the
incoming communication attempts. i2c master have to repeatedly attemp
communication until the slave sends an ACK after receiving its slave
address.
Solution:
add retry-process when slave NACK.
Verify:
mesonaxg_s420_32_release
Change-Id: Ieb195176cac4b80e223ea6adb502ffd3bc9ef728
Signed-off-by: Daogao Xu <daogao.xu@amlogic.com>
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>