Pengcheng Chen [Mon, 29 Apr 2019 08:51:19 +0000 (16:51 +0800)]
osd: add osd sw_sync [1/1]
PD#SWPL-9736
Problem:
osd fence crash when play AIV H264 video
Solution:
add osd sw_sync
Verify:
Verified with raven,w400
Change-Id: I309af0e3718221e2309460a990ef0badb9e8bd39
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jian Cao [Tue, 25 Jun 2019 13:04:05 +0000 (21:04 +0800)]
osd: modify VIU_MISC_CTRL1 conditions [1/1]
PD#SWPL-5522
Problem:
S912 display S912 Android P support for osd
Solution:
modify VIU_MISC_CTRL1 for gxm
Verify:
verified on gxm-q201
Change-Id: I2bccfb3fe03864e55d41ab4f9ecf4db68d9dfbea
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
yao liu [Mon, 24 Jun 2019 09:52:21 +0000 (17:52 +0800)]
dolby: fix osd1 last line abnormal [3/3]
PD#SWPL-6807
Problem:
green line displayed when osd alpha 0xff/0x00 continuous
Solution:
close osd matrix, osd always output rgb format and
use osd1_hdr2_mat do rgb2yuv
At the same time, need disable osd1_hdr2_mtx
when dv on
Verify:
g12a/g12b/sm1
Change-Id: I1fdb11707f30a1938167b6bfc8e6ec6bce5485eb
Signed-off-by: yao liu <yao.liu@amlogic.com>
MingLiang Dong [Thu, 30 May 2019 11:52:30 +0000 (19:52 +0800)]
hdr: fix osd1 last line abnormal [2/3]
PD#SWPL-9042
Problem:
osd1 last line abnormal
Solution:
use osd1 hdr mtx workaround
Verify:
verify on TL1
Change-Id: I04b848d996d0c819c9eb841ac1da4b927b42383d
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Jian Cao [Mon, 24 Jun 2019 11:04:18 +0000 (19:04 +0800)]
osd: modify VPP_OSD_SC_DUMMY_DATA alpha conditions [1/1]
PD#TV-6994
Problem:
When ATV Mode has no signal
the bright line interference at the bottom
Solution:
modify VPP_OSD_SC_DUMMY_DATA alpha value
Verify:
verified on txlx-r311
Change-Id: Icc5039f80bd794ed5adb98e22fbf41f52758ef83
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
bing.jiang [Fri, 21 Jun 2019 08:49:21 +0000 (16:49 +0800)]
audio: init volume and mute for tas5782m [1/1]
PD#SWPL-10115
Problem:
There is no mute amixer scontrol for tas5782
set volume and mute in init tas5782m
Solution:
Add mute function for tas5782
set volume and mute in init tas5782m
Verify:
S400_SBR A113
Change-Id: I4b25da42620407e24f0b26e62bae21cc12081f7c
Signed-off-by: bing.jiang <bing.jiang@amlogic.com>
zhiwei.yuan [Tue, 25 Jun 2019 06:54:37 +0000 (14:54 +0800)]
vdin: tl1 1g platform,hdmi in black screen [1/1]
PD#SWPL-9473
Problem:
vdec cann't release memory in time
Solution:
add retry mechanism for allocate mem fail
Verify:
verified by t962x2_x301
Change-Id: If75e81c75da067bdbbd641614c7d2b2dbdc3799a
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Zhongfu Luo [Mon, 24 Jun 2019 08:14:04 +0000 (16:14 +0800)]
unifykey: support operate efusekey for 32bit [1/1]
PD#TV-7131
Problem:
unifykey: can operate efusekey under 32bit
Solution:
unifykey: add operate efusekey support for 32bit
Verify:
TL1 skt board verify pass
Change-Id: I0e0175554e180bb70da01e751ec5bcde4771c7a6
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
MingLiang Dong [Wed, 29 May 2019 11:46:39 +0000 (19:46 +0800)]
amvecm: fix cm size delay one frame [1/1]
PD#TV-5968
Problem:
cm size set delay one frame
Solution:
get cm size from scaler, and set size with rdma
Verify:
verify on TL1
Change-Id: I9d1ef3167a4717a20c5d77a4cd7674d5a417526c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Zongdong Jiao [Wed, 12 Jun 2019 12:19:45 +0000 (20:19 +0800)]
hdmitx: fix valid_mode effects color attribute [1/1]
PD#OTT-4372
Problem:
Need add a extra hdmi_format_para for valid_mode
Solution:
Add a extra hdmi_format_para for valid_mode
Also, fix cedst_en assginment and wrong aud ACR/N parameters when
kernel bootup, need to get current vinfo then set right ARC/N.
Verify:
G12/U212
Change-Id: Ib59986d7436a578daeb7055aa41a379e9381a99b
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Zongdong Jiao [Sat, 22 Jun 2019 10:48:11 +0000 (18:48 +0800)]
hdmitx: optimise the sup_2160p60hz of DV [1/1]
PD#SWPL-10065
Problem:
TV claims that supporting DV version2, but it lacks
the Max_TMDS_Clock2 600MHz
Solution:
if max tmds clock is less than 600MHz, clear sup_2160p60hz
Verify:
G12/U212
Change-Id: I77c024dfa860bca60020db689c2a07ae8f502528
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Jihong Sui [Thu, 6 Jun 2019 06:19:09 +0000 (14:19 +0800)]
deinterace: add codec mm interface [1/1]
PD#OTT-3688
Problem:
add di when playing encrypted stream(DRM)
Solution:
1. add codec mm interface;
2. set flag_cma '4' in dts for codec mm;
Verify:
verified on u212
Change-Id: If969899e0d5a457a038660c22a1e85dedcfcb40b
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Jian Hu [Mon, 24 Jun 2019 06:29:37 +0000 (14:29 +0800)]
clk: x301: cpu hangup when play 3D game [1/1]
PD#SWPL-9471
Problem:
it will hangup when play 3D game for a long time
Solution:
using the origin clk-mux ops to register cpu clock
Verify:
test passed on x301
Change-Id: I1b977e3a9559ef5f376d4cb8a4735e943c07f525
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Evoke Zhang [Thu, 20 Jun 2019 13:47:48 +0000 (21:47 +0800)]
vout: add poll support for ioctl [1/4]
PD#SWPL-8450
Problem:
need poll method for vout ioctl
Solution:
add poll support for vout ioctl
Verify:
x301
Change-Id: I9312e8ce9708d700f26d79ac5eadf762fac9bf62
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
shuanglong.wang [Mon, 24 Jun 2019 09:31:43 +0000 (17:31 +0800)]
video: modify omxpts compenstate condition [1/1]
PD#SWPL-9676
Problem:
h264 non-tunnel mode video, video resume play will frezee one frame
after pause
Solution:
modify omxpts compenstate condition to let pcr stop in time
Verify:
verify by nts
Change-Id: I719150064b0abe4fdfd230a2429cfdfc000ea786
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
Viresh Kumar [Fri, 8 Mar 2019 09:53:11 +0000 (15:23 +0530)]
PM / wakeup: Rework wakeup source timer cancellation
commit
1fad17fb1bbcd73159c2b992668a6957ecc5af8a upstream.
If wakeup_source_add() is called right after wakeup_source_remove()
for the same wakeup source, timer_setup() may be called for a
potentially scheduled timer which is incorrect.
To avoid that, move the wakeup source timer cancellation from
wakeup_source_drop() to wakeup_source_remove().
Moreover, make wakeup_source_remove() clear the timer function after
canceling the timer to let wakeup_source_not_registered() treat
unregistered wakeup sources in the same way as the ones that have
never been registered.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 4.4+ <stable@vger.kernel.org> # 4.4+
[ rjw: Subject, changelog, merged two patches together ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: Iae10e0d836e4933ef0311c72508c5cf246bbe437
Bencheng Jing [Fri, 21 Jun 2019 06:44:56 +0000 (14:44 +0800)]
amvecm: Revert "amvecm: add sharpness0 cvbs table in driver" [2/4]
PD#SWPL-8450
Problem:
add cvbs table in db
Solution:
remove cvbs table in driver
Verify:
U212
Change-Id: I5db52c6bbf8f00f94834d8bf151135892602b56a
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Jihong Sui [Fri, 21 Jun 2019 08:23:35 +0000 (16:23 +0800)]
deinterlace: enable pulldown for G12A/G12B [1/1]
PD#SWPL-10047
Problem:
enable pulldown for G12A/G12B
Solution:
enable pulldown;
Verify:
U212
Change-Id: I25f19868d64326ffba6694e6d3e365b3d6da7c00
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Bencheng Jing [Wed, 19 Jun 2019 13:10:22 +0000 (21:10 +0800)]
di: fix the garbage in ColorBar.mp4 [1/1]
PD#SWPL-7071
Problem:
reg_dnr_dm_chrmen not follow db
Solution:
disable chroma dm for ott according to vlsi-baozheng
Verify:
u212
Change-Id: If530c5c5f47e132b01a2cb31a96347f2f465afda
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
renjiang.han [Sat, 15 Jun 2019 15:16:39 +0000 (23:16 +0800)]
ppmgr: modify first frame garbage. [1/1]
PD#SWPL-9350
Problem:
ppmgr first frame garbage for afbc.
Solution:
alloc canvas.
Verify:
on u212
Change-Id: Ifd8d865240fee07f37d8ed47b224a39f24eac3d4
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Wed, 12 Jun 2019 09:06:39 +0000 (17:06 +0800)]
ppmgr: add compatibility with doublewrite. [1/1]
PD#SWPL-9350
Problem:
For output with compressed and uncompressed formats,
ppmgr recognizes the compressed format and returns directly.
Solution:
add compatibility with doublewrite.
Verify:
on u212
Change-Id: I9fffa720deee80b5db4ef21086c4638a630f9a80
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Tue, 11 Jun 2019 13:40:03 +0000 (21:40 +0800)]
ppmgr: Interlaced video only shows half. [1/1]
PD#SWPL-9350
Problem:
Interlaced video only shows half.
Solution:
Interlaced video height is divided by 2.
Verify:
on U212
Change-Id: I983e3369687eeb55f03d3e7f8474b9e37549440f
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Wed, 5 Jun 2019 12:55:47 +0000 (20:55 +0800)]
ppmgr: add phy_addr add support. [6/6]
PD#SWPL-9350
Problem:
ppmgr not support vf with phy_addr.
Solution:
config canvas
Verify:
on U212
Change-Id: I96629ed6287edaf4e7d7a2673ff604e99e3b12df
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
Hang Cheng [Fri, 14 Jun 2019 05:59:32 +0000 (13:59 +0800)]
vout: add adjustment for hpd event monitor [1/1]
PD#OTT-4604
Problem:
1.Before systemcontrol starts up, vout monitor takes
place to monitor hpd event of hdmi, but vout server
module is indepent with hdmi module, so the hpd status
that vout server got may out of sync with hdmi. If
the monitor interval is larger than hpd reset duration,
for example, the vout server monitor frequency
for hpd event is 500ms once, but hpd reset duration
of TV is smaller, 20ms~200ms..., vout server may miss
some hpd events, thus there will be no notifications
from vout server to set new output mode.
2.If vout monitor timeout before systemcontrol starts
up, hpd events happen during the interval will
not be handled.
Solution:
add adjustment of hpd monitor time and interval
Verify:
A311D
Change-Id: Ic6c371362c63baf50de3c5849fdbcdc5ec22ef61
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
Tao Zeng [Mon, 24 Jun 2019 10:39:48 +0000 (18:39 +0800)]
kasan: fix panic issue when open kasan with vmap stack [1/1]
PD#SWPL-10141
Problem:
When open kasan with vmap stack on ARM32 platform, there
will be a panic issue which pc is running out of range:
[ 56.726530@2] PC is at 0x50
[ 56.729301@2] LR is at 0x0
Solution:
Close kasan when open vmap stack on ARM32
Verify:
TL1
Change-Id: Id82eb27543e8eade86b281cde9e160b8bf4e7878
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
renjiang.han [Tue, 4 Jun 2019 11:13:04 +0000 (19:13 +0800)]
ppmgr: add keep last frame in ppmgr. [5/6]
PD#SWPL-9350
Problem:
freeze frame fail among two vertical videos switching.
Solution:
add keep last frame in ppmgr
Verify:
on U212
Change-Id: I7192c69725ce08a546af3f2252e743224ad19ec3
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Tue, 4 Jun 2019 08:55:00 +0000 (16:55 +0800)]
ppmgr: Add the value of stats_get to protect tb_task. [4/6]
PD#SWPL-9350
Problem:
Low probability of system crash when play live channel
Solution:
Increase the value of stats_get to protect tb_task.
Verify:
on U212
Change-Id: I4a13a3f7f2a4259fc8d4dd6630dd28d82a8c2541
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Tue, 4 Jun 2019 07:37:44 +0000 (15:37 +0800)]
ppmgr: Rotate the screen after rotation. [3/6]
PD#SWPL-9350
Problem:
After the HDR video is played, play normal video,
and the display is abnormal.
Solution:
Signal_type and bitdepth need to be reassigned.
Verify:
on U212
Change-Id: Ie2acddff3be34e01062a69d48bf4e82619559fb9
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Tue, 4 Jun 2019 07:28:39 +0000 (15:28 +0800)]
ppmgr: Detection of top and bottom for interlace sources. [2/6]
PD#SWPL-9350
Problem:
HDMI connection vertical screen, 1080i signal picture jitter.
Solution:
The interlace source is extracted based on the top and bottom values.
Verify:
on U212
Change-Id: I38f91fda32d1275dcc286fbb33034b4fd099e18f
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
renjiang.han [Tue, 4 Jun 2019 07:15:04 +0000 (15:15 +0800)]
ppmgr: add vdin support 10bit. [1/6]
PD#SWPL-9350
Problem:
ppmgr does not support 10bit to cause a rotating screen.
Solution:
add vdin support 10bit.
Verify:
on U212
Change-Id: Idbe90f7e351edbc12e0e2d905f06e0cdd18da148
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
Jiyu Yang [Tue, 18 Jun 2019 07:03:48 +0000 (15:03 +0800)]
staging: revert SWPL-9254 fixed issue [1/1]
PD#SWPL-9788
Problem:
UI sliding is not smooth.
Solution:
revert SWPL-9254 two commits.
Verify:
verify by franklin/galilei
This reverts commit
4c0482c80ece66a40796c7b476a15640ed1eadfa.
This reverts commit
b78959e21bea51b0ab1882b7c55a35c5d4f7fff1.
Change-Id: Ifc9ac43e69abb578795ac3f6f9b2f324cbf590f3
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
yao liu [Fri, 21 Jun 2019 07:46:18 +0000 (15:46 +0800)]
Dolby: HDR-001-TC5: VID and GFX doesn't match [1/1]
PD#SWPL-8159
Problem:
HDR-001-TC5 source is dv, need graphic max 300
HDR-001-TC3 source is hdr, need graphic max 210
Solution:
Set 300 for DV source and 210 for HDR source in LL mode
Verify:
Verified on U212
Change-Id: I93c71ee51fc128d9d01113d4e24d4df1786901e2
Signed-off-by: yao liu <yao.liu@amlogic.com>
Xing Wang [Wed, 12 Jun 2019 05:27:43 +0000 (13:27 +0800)]
audio: auge: fix ARC to single mode [1/1]
PD#SWPL-8967
Problem:
ARC amplitudeļ¼The test value is 0.376V, requiring 0.4-0.6VPP
Solution:
update to single mode
Verify:
tl1
Change-Id: I59198596f6db22ec49eea35084325005f13bc5b6
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Xihai Zhu [Tue, 18 Jun 2019 07:30:09 +0000 (03:30 -0400)]
amvecm: fix the jitter while disabling CM [1/1]
PD#TV-6869
Problem:
screen jitter while disabling CM
Solution:
using RDMA method to program related registers
Verify:
TL1
Change-Id: I23e947093034107c69b2dc47483d562c95764a44
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
Yong Qin [Tue, 7 May 2019 01:58:49 +0000 (09:58 +0800)]
di: request afbc when vpp use [1/2]
PD#SWPL-6033
Problem:
afbc mode, when di bypass mode switch di path,
will cause flashing
Solution:
when mode change, request hw afbc from vpp, when idle
di use afbc, vpp need switch to none afbc mode, vf add
VIDTYPE_PRE_DI_AFBC flag for vpp use.
Verify:
tl1
Change-Id: I4aaf96044249d5b79bdc627018f0c0714c85f941
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
shipeng.sun [Tue, 28 May 2019 11:42:22 +0000 (19:42 +0800)]
amlvideo: Optimize reduce latency of input frame [1/1]
PD#SWPL-8068
PD#SWPL-8069
Problem:
1. use select to polling frame.
Solution:
1. add when use video layer amlvideo support poll
2. add trace debug info
Verify:
Verify on marconi
Change-Id: Ib1ae87b4b7ab35b075bc357953abe43e3410232a
Signed-off-by: shipeng.sun <shipeng.sun@amlogic.com>
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
Brian Zhu [Wed, 19 Jun 2019 18:50:47 +0000 (02:50 +0800)]
vpp: disable sr core0 scaler up for special cases on tl1 [1/1]
PD#TV-6612
Problem:
When 3D LR mode with AFBC, enable sr core0 will display
abnormal on TL1.
Solution:
Bypass sr core0 scaler up function at those cases
Verify:
Verified on X301
Change-Id: Ib36c32df6a05749d87ef0d4deec2acc81694071d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Hong Guo [Fri, 21 Jun 2019 08:22:15 +0000 (16:22 +0800)]
dvfs: delete unused dts cpi_clocks. [1/1]
PD#SWPL-10144
Problem:
delete unused dts cpi_clocks
Solution:
delete unused dts cpi_clocks
Verify:
delete unused dts cpi_clocks
Change-Id: I7de8e5188e5f3b11a26b133fa0387069245907cd
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
jintao xu [Tue, 7 May 2019 03:09:04 +0000 (11:09 +0800)]
ionvideo: fix latency and crash [1/1]
PD#SWPL-8069
Problem:
1.about 2ms latency due to sleep
2.crash while poll ionvideo
Solution:
1.use semaphore instead of sleep
2.fix poll function
3.add trace info for ionvideo
Verify:
U212
Change-Id: Idde64151541d826ba6a6cd1abcc901e80f0e4b45
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
Jian Cao [Thu, 20 Jun 2019 13:18:42 +0000 (21:18 +0800)]
gdc: correct max length of config store path [1/1]
PD#SWPL-10123
Problem:
max size of config store path is wrong
Solution:
use macro CONFIG_PATH_LENG to set
max length of config store path
Verify:
verified on g12b-w400
Change-Id: I0e2d09515099f77ff95505706a0c3b588135c083
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jihong Sui [Wed, 12 Jun 2019 12:17:00 +0000 (20:17 +0800)]
deinterlace: add api for free mirror mem [1/1]
PD#SWPL-9678
Problem:
di keep buf for mirror function till next reg
Solution:
1.add api(di_trig_free_mirror_mem) for free mirror mem
after unreg;
2. debug cmd:
echo free_mirror > /sys/class/deinterlace/di0/debug;
Verify:
G12A
Change-Id: If2e5ceb4266cf5df0b79997dbd16f5bd90220ef8
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Jian Cao [Thu, 20 Jun 2019 12:35:47 +0000 (20:35 +0800)]
ge2d: correct ge2d_magic value in CONFIG_COMPAT case [1/1]
PD#SWPL-10046
Problem:
unexpected conversation result
under 32bit userspace + 64bit kernel
Solution:
use compat_config_para_ex_memtype_s as ge2d_magic
for CONFIG_COMPAT
Verify:
verified on g12b-w400
Change-Id: I5a8fad9c18d9852c4e214c810b910100a30046a9
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Hu [Thu, 20 Jun 2019 04:48:37 +0000 (12:48 +0800)]
clk: tl1: fix vpu_clkb_composite can not set to 500M [1/1]
PD#SWPL-10083
Problem:
vpu_clkb_composite can not set to 500M
Solution:
using CLK_SET_RATE_PARENT to set up relationship
between vpu_clkb_composite and vpu_clkb_tmp_composite,
when change vpu_clkb_composite's rate, it may
change vpu_clkb_tmp_composite'rate to get the best
rate.
Verify:
verified on tl1 sktt
Change-Id: I9a08eab4dd6b2209e0b2589e72e79567589fb217
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Luan Yuan [Thu, 20 Jun 2019 11:32:22 +0000 (19:32 +0800)]
p231: cannot open wifi. [2/2]
PD#SWPL-10117
Problem:
p231 can not enable wifi
Solution:
add pre-assign memory
Verify:
verify by p231
Change-Id: I10c11743033d049be2dbab0555d49f9e470d6f04
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Shuai Li [Wed, 12 Jun 2019 08:13:45 +0000 (16:13 +0800)]
audio: Fix audio stuck [1/1]
PD#SWPL-9142
Problem:
Audio stuck in stress test.
Solution:
Work around:
Wait until the fifo stops and then stop toddr.
Verify:
Tl1.
Change-Id: I8ce50732a7e23124b4b37374aa4505d79cd68cfe
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Luan Yuan [Mon, 17 Jun 2019 11:13:54 +0000 (19:13 +0800)]
dts: logo addr overflows the max size in 1g platform.[1/1]
PD#SWPL-9938
Problem:
logo addr overflows the max size in 1g platform.
Solution:
fixed it
Verify:
verify by fermi
Change-Id: Ic1edc545c702b10d88cd03ddc4b761f142457b43
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Brian Zhu [Wed, 19 Jun 2019 19:36:59 +0000 (03:36 +0800)]
vpp: add threshold to omit irregular screen AR [1/1]
PD#TV-3602
Problem:
The irregular aspect ratio of screen will cause that video
position dose not match the axis even if the source aspect
ration matches the display windows's aspect ratio.
Solution:
Add threshold to omit the irregular screen aspect ratio.
Verify:
Verified on X301
Change-Id: Ie375de69e42fc168fb3b5a51d9ab2662789dc807
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Bencheng Jing [Mon, 17 Jun 2019 11:35:46 +0000 (19:35 +0800)]
amvecm: fix local constrast open failed [1/1]
PD#TV-6846
Problem:
local constrast open failed
Solution:
if the register in db is enbale,set lc_en to 1
Verify:
TL1
Change-Id: Id0bde987d3a45056a86dfe2e758d82a509611b10
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Yong Qin [Tue, 18 Jun 2019 08:45:48 +0000 (16:45 +0800)]
vlock: finetune vlock setting for game mode [1/1]
PD#TV-6913
Problem:
game mode, hdmi delay time too long
Solution:
fine tune setting, make tune P mode will got
the real phase.
Verify:
tl1 android P
Change-Id: I4c4a1d6d6578c5015b556f5e4cc88a592be4d7fa
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
yao liu [Mon, 17 Jun 2019 13:50:30 +0000 (21:50 +0800)]
Dolby: garbage images on screen when output 720 [1/1]
PD#SWPL-9805
Problem:
dolby graphics core setting is marginal at 720@50 or 720@60
Solution:
Leave more margin in vertical potch for graphic core
Another modification: force update core2 and core3 reg
when dolby-vision on
Verify:
local build test on dolby tv 720@50/720@60/1080p24hz
Change-Id: I1019d2c1564230b0e42516fe1a7732ba25b2e8bf
Signed-off-by: yao liu <yao.liu@amlogic.com>
Yong Qin [Mon, 17 Jun 2019 12:07:26 +0000 (20:07 +0800)]
vdin: horizontal floral stripe 4k afbc mode [1/1]
PD#SWPL-7391
Problem:
4k afbc mode, horizontal floral stripe in the lower half of
the screen when HDMI connect to PS4.
Solution:
when game mode and panel is reverse, vdin must delay
one frame, can't read/write the same buffer
Verify:
tl1
Change-Id: I42bb3271b8dd5972799b3dfda021b5c120710bdd
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Brian Zhu [Mon, 15 Apr 2019 18:11:02 +0000 (02:11 +0800)]
vpp: add interface to force non-afbc path [1/1]
PD#SWPL-7035
Problem:
When DI switched to use VD AFBC, need vpp force to non-afbc first.
Otherwise, display willl flash.
Solution:
Provide new interface to request the vpp release afbc hardware first.
Then return the current afbc status.
Verify:
verified on x301
Change-Id: Ibb2b897db7d2f2c40006433d63709988992c84f1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Tao Zeng [Fri, 14 Jun 2019 07:06:40 +0000 (15:06 +0800)]
mm: fix cma allocation time too long [1/1]
PD#TV-6340
Problem:
When quickly enter live tv just after boot to home, video may display
more than 10 seconds late after sound comeout. The main problem is
cma allocation time too long.
Solution:
1, add a page flag for pages under cma allocating. And do not
increase page-ref count for cma pages under allocating when it
is used by user space again.
2, restrict shmem/swap back pages using cma
3, improve cma using policy check in page allocating process.
4, replace righ page trace for migrated pages.
Change-Id: Ie6b591213a9eda974c3443ca9b491fa8d00cee50
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Yong Qin [Wed, 19 Jun 2019 09:39:42 +0000 (17:39 +0800)]
cec: cmd read some time will loss msg [1/1]
PD#SWPL-9283
Problem:
android read cec, some time will lose msg
Solution:
del hal flag
Verify:
tl1
Change-Id: I2357ff2a09c60e930e64d663650a4d4509688c71
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
wenbiao zhang [Tue, 4 Jun 2019 07:20:05 +0000 (15:20 +0800)]
suspend: default suspend adc in freeze mode for power consumption [1/1]
PD#SWPL-8587
Problem:
in freeze mode detect adc key cause power consumption problem
Solution:
adckeyswitch from bootargs to decide whether resume by adc key
in freeze mode, default set to POWER_WAKEUP_NONE
adckeyswitch values POWER_WAKEUP_NONE/POWER_WAKEUP_POWER/POWER_WAKEUP_ANY
Verify:
X301
Change-Id: I2726c2ec394e1ffa528acb0862ef302983683b3b
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
Zongdong Jiao [Thu, 13 Jun 2019 08:05:18 +0000 (16:05 +0800)]
hdmitx: correct hpd trigger [1/1]
PD#SWPL-8724
Problem:
When kernel boots up, there will be two irq status.
[ 0.602639] hdmitx: system: irq
80000004 0
[ 0.622658] hdmitx: system: irq
80000002 0
Solution:
Correct hpd trigger
Verify:
G12/U212
Change-Id: I3c913c6d46ac4e639032134c598050b5c77a047d
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Guosong Zhou [Tue, 18 Jun 2019 06:51:49 +0000 (14:51 +0800)]
camera: fix gc2145 mipi camera preview mosaic [1/1]
PD#IPTV-3374
Problem:
gc2145 mipi camera preview have mosaic when take picture
Solution:
add delay when camera set setting finished
Verify:
verify on S905D3-AC202
Change-Id: Ieb6c64804ea5cbea9c9c66be57352b6ed5955ed1
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
zhiwei.yuan [Thu, 13 Jun 2019 12:35:36 +0000 (20:35 +0800)]
dtv_demod: TM2,demod comb j83b to fix timeshift issue [1/1]
PD#SWPL-5655
Problem:
j.83b has a lot of mosaic when enable timeshift(clk = 250M)
Solution:
tm2 chip changelist
Verify:
verified by T962E2_AB311 & T962X2_X301
Change-Id: I106626bf7ab5a1997e9c76055a170b30d52a08bb
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Shuai Li [Thu, 6 Jun 2019 09:25:03 +0000 (17:25 +0800)]
audio: Add pcm slots configs [1/1]
PD#SWPL-4711
Problem:
BT pcm record doesn't work.
Solution:
Add pcm configs in DTS.
Verify:
ampere
Change-Id: I87c2cb62fb803527da089c5a2aea33752939e000
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Evoke Zhang [Thu, 6 Jun 2019 02:32:39 +0000 (10:32 +0800)]
vout: add dummy_lcd driver support [1/1]
PD#TV-6485
Problem:
need add dummy_lcd for encp
Solution:
add dummy_lcd driver base on encp
Verify:
x301
Change-Id: Id6e289bb3fc95ff94455f31ae2dcd94985baf9ec
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Fri, 31 May 2019 09:48:22 +0000 (17:48 +0800)]
vout: add vout2 vpu_clkc init if needed [1/1]
PD#TV-5428
Problem:
need viu2 display support
Solution:
add vout2 init mode support
Verify:
u200
Change-Id: I1a8e0b5b448f5c6052703e59d78090992d5812bf
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
nengwen.chen [Mon, 17 Jun 2019 11:14:16 +0000 (19:14 +0800)]
atv_demod: fix atv audio control interface. [1/1]
PD#SWPL-9934
Problem:
1.audio control calls crash on a non-tl1 platform.
1.fix atv audio control interface.
Solution:
1.fix atv audio control interface.
Verify:
Verified by r311 and x301.
Change-Id: Ib6d58cec96e7d57e1bfd8ae18524dcb5517c317e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Gongwei Chen [Mon, 17 Jun 2019 11:51:04 +0000 (19:51 +0800)]
dts: S905D3 gpio keypad [1/1]
PD#SWPL-9941
Problem:
The camera automatically takes pictures continuously
Solution:
modify S905D3 gpio keypad in dts
Verify:
Verify by Android P u202
Change-Id: I4edd1032ac460db296a8938d15ecd6ba1224f0ce
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
Pengcheng Chen [Thu, 30 May 2019 07:58:37 +0000 (15:58 +0800)]
ge2d: ge2d dmabuf multi-process support [1/1]
PD#OTT-4320
Problem:
ge2d phys have been overwritten when dma fd is same from diff process
Solution:
when get phys addr by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: Idb32bc61d33345d370db4eb6bcb04351d854f069
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jian Cao [Fri, 31 May 2019 02:56:15 +0000 (10:56 +0800)]
osd: viu2_osd0 logo init [1/1]
PD#TV-5427
Problem:
enable support for parsing VIU2 boot parameters
Solution:
add this support in driver
Verify:
verified on TL1-X301
Change-Id: I2b2dc97bc76a8816a2c1e17ce5689e2679867011
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Pengcheng Chen [Thu, 30 May 2019 08:23:10 +0000 (16:23 +0800)]
gdc: gdc dmabuf multi-process support [1/1]
PD#OTT-4320
Problem:
gdc phys have been overwritten when dma fd is same from diff process
Solution:
when get phys by dma fd, used struct dma_buf instead of dma fd
Verify:
w400
Change-Id: I6e990c9fda9245db0d92053cc011fc6f9507db72
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jianxin Pan [Tue, 18 Jun 2019 07:01:04 +0000 (00:01 -0700)]
Merge "common: videosink: add dropping frame mechanism in amvideo [1/1]" into amlogic-4.9-dev
Jianxin Pan [Tue, 18 Jun 2019 06:14:04 +0000 (23:14 -0700)]
Merge "debug: add more strict checking for show_regs [2/2]" into amlogic-4.9-dev
Sandy Luo [Tue, 18 Jun 2019 05:53:19 +0000 (13:53 +0800)]
tl1: dts: change lcd_tcon memory size default to 0 [1/1]
PD#SWPL-9502
Problem:
save memory
Solution:
change lcd tcon buffer to 0
Verify:
x301
Change-Id: I6ed059e5f8200c0fd8b775466144676ab0611165
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
Pengcheng Chen [Tue, 28 May 2019 09:58:42 +0000 (17:58 +0800)]
ge2d: move ge2d canvas_config to ge2d process thread [1/1]
PD#OTT-4320
Problem:
ge2d canvas_config have been overwritten
Solution:
move ge2d canvas_config from ge2d config to ge2d process
Verify:
w400
Change-Id: I6733751435f9185c8f96287c5308145898c8b8a7
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jiamin Ma [Tue, 30 Apr 2019 08:07:17 +0000 (16:07 +0800)]
debug: add more strict checking for show_regs [2/2]
PD#SWPL-7711
Problem:
Executing echo l > /proc/sysrq-trigger each 5 seconds for about
15 minius will trigger hardlockup
Solution:
Add more strict checking for show_regs to filter out addresses
in secure monitor region and ioremap region, deferencing which
triggers external abort on none-linefetch, and finally leading
to hardlockup
Verify:
Locally pass on U200
Change-Id: I6bd219e7dc3ad29904e6bd1b7d2f4cfb3928d8ed
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Nan Li [Tue, 11 Jun 2019 06:28:50 +0000 (14:28 +0800)]
sdio: optimize sdio clk cfg [1/1]
PD#SWPL-9640
Problem:
sdio auto_clk close fail.
Solution:
optimize sdio auto_clk cfg,
add sdio_clk_always_on().
Verify:
G12A_u211
Change-Id: Iec6e9460ad650001f079844f183d905789aa76e7
Signed-off-by: Nan Li <nan.li@amlogic.com>
Zongdong Jiao [Fri, 14 Jun 2019 08:27:19 +0000 (16:27 +0800)]
hdmitx: add SCDC/CED function [1/1]
PD#SWPL-6361
Problem:
Lack SCDC/CED function to check Rx TMDS status
Solution:
Add SCDC/CED function
By default, this function is not open.
Enable it in board dts file like below:
&amhdmitx {
cedst_en = <1>;
};
Also, you can manually enable it by
'echo 1 > /sys/class/amhdmitx/amhdmitx0/cedst_policy'
Then listen '/sys/class/extcon/hdmi_cedst/uevent'
and check 'cat /sys/class/amhdmitx/amhdmitx0/cedst_count'
Verify:
G12/U212
Change-Id: Ic9c90936bad643ea95d418d7b019eb37210d7123
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Rico Yang [Thu, 30 May 2019 07:22:45 +0000 (15:22 +0800)]
common: videosink: add dropping frame mechanism in amvideo [1/1]
PD#OTT-4124
Problem:
video frames cannot be dropped when displayed in video layer
Solution:
add dropping frame mechanism in amvideo
Verify:
verified on franlin
Change-Id: I751883543adc5c840921bd5062484e56cde2c0fa
Signed-off-by: Rico Yang <wei.yang@amlogic.com>
Pengcheng Chen [Fri, 31 May 2019 07:06:18 +0000 (15:06 +0800)]
osd: add osd blend bypass function [1/1]
PD#SWPL-9525
Problem:
dv certification need osd blend bypass
Solution:
add osd blend bypass function
Verify:
verified in sm1
Change-Id: Iabf5f8e41329a9220b1f9e5ccd7e0b0ab0dd7a3f
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Pengcheng Chen [Thu, 13 Jun 2019 10:27:15 +0000 (18:27 +0800)]
osd: screen blank when Plugin HDMI after system bootup in 15s [1/1]
PD#OTT-4292
Problem:
Root Cause:gralloc set afbcd = 1, but hwcomposer have no frame set,
hdmi plug and uboot logo update and osd_enable_hw() called, in this api,
there is a protection: if afbcd.enable set and phy_addr == 0 will
wait vsync till phy_addr != 0, this section code logic caused screen blank
Solution:
when gralloc set afbcd = 1, don't set afbcd.enable = 1,
it will update with hwcomposer post afbc frame.
Verify:
verify with Raven
Change-Id: I98a88cffd139832a34825adde7c21219937b63ce
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Pengcheng Chen [Fri, 17 May 2019 09:18:03 +0000 (17:18 +0800)]
gdc: add gdc workqueue [1/1]
PD#SWPL-9642
Problem:
gdc can't support multi-thread, need add workqueue
Solution:
add gdc workqueue
Verify:
verified by w400
Change-Id: Icbe0b872775c0ab5445d260d49ff244528d8200b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Jian Cao [Tue, 11 Jun 2019 14:32:22 +0000 (22:32 +0800)]
picdec: memory pollution caused by GE2D [1/1]
PD#OTT-4501
Problem:
the dst canvas phy address for ge2d is overwritten
out of bound before processing
Solution:
alloc canvas index dynamically
Verify:
verified on g12b-w400
Change-Id: If021c087125928d5fb146118432c7ff427ea0dbb
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Yong Qin [Mon, 25 Feb 2019 09:19:48 +0000 (17:19 +0800)]
cec: early suspend no report power sts [2/2]
PD#SWPL-5037
Problem:
system enter early suspend, not ack "report power sts"
Solution:
early suspend not called.
not use CONFIG_AMLOGIC_LEGACY_EARLY_SUSPEND
Verify:
g12a s905x2 android P
Change-Id: I0e2d691b927575b3a6b5e7c13668de9bbf6519f7
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
shaochan.liu [Tue, 21 May 2019 07:59:46 +0000 (15:59 +0800)]
lcd: add lcd tv driver when the panel disable in uboot [1/1]
PD#SWPL-5937
Problem:
need screen initialization moved from uboot to kernel
Solution:
1, add lcd tv driver when the panel disable in uboot
Verify:
t962x2-x301
Change-Id: Ia7837db5f6581543b2a093357a264ee63dbd33a9
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
Hong Guo [Thu, 13 Jun 2019 07:38:59 +0000 (15:38 +0800)]
cpufreq: delete 100M and 250M cpu clk for g12b [1/1]
PD#OTT-4558
Problem:
delete 100M and 250M cpu clk for g12b
Solution:
delete 100M and 250M cpu clk for g12b
Verify:
test pass on g12b w400
Change-Id: Id8a858d5c56b44325e750702f1af3ca5cfd247c4
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Zongdong Jiao [Tue, 21 May 2019 06:51:08 +0000 (14:51 +0800)]
hdmitx: rewrite multi-purpose VSIF [1/1]
PD#SWPL-8788
Problem:
VSIF has multi-purpose: HDMI_4K, 3D, DV and HDR10+.
Need rewrite VSIF programming.
Solution:
rewrite multi-purpose VSIF
Verify:
G12/U212
Change-Id: I1db21d54c8ae873045661d1f00b930afcad5be60
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Yong Qin [Thu, 13 Jun 2019 03:02:10 +0000 (11:02 +0800)]
vdin: record video, video display green screen [1/1]
PD#SWPL-9172
Problem:
no more canvas id for vdin1 use
Solution:
the canvas id number need equal with frame number.
Verify:
tl1
Change-Id: Idff362218042c260c28116816d747260708f6355
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Zongdong Jiao [Thu, 23 May 2019 12:59:32 +0000 (20:59 +0800)]
hdmitx: replace I2C_REACTIVE with I2C_RESET logic [1/1]
PD#OTT-3716
Problem:
In GX, there is the I2C_REACTIVE method to avoid the I2C hangup
issue. But it is fixed in G12, so need replace it.
Solution:
Replace I2C_REACTIVE with I2C_RESET logic
Verify:
G12/U212
Change-Id: I1ca2f77a213db0d7de067745b3701816b7c85c27
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Zhe Wang [Thu, 13 Jun 2019 08:48:09 +0000 (16:48 +0800)]
audio: fixed cvbs audio pop noise on g12a/b [1/1]
PD#OTT-3760, PD#SWPL-8309
Problem:
startup ott, cvbs out with pop noise
Solution:
Set gpio init low
Verify:
verified by franklin
Change-Id: Ieb33e72473055fad69bc8e9a68ed0b0552e9f029
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Pengcheng Chen [Thu, 13 Jun 2019 10:18:12 +0000 (18:18 +0800)]
osd: display abnormal when 2nd osd laysers scope > 1080 [1/1]
PD#OTT-4277
Problem:
osd display abnormal when 2nd osd laysers scope > 1080
default osd scope value in disable channel is too small
Solution:
set default osd scope value in disable channel to 0xffffffff
Verify:
verified by S905D2-U200
Change-Id: I9983928d91c1ac4285f2a5acdffa5438722e4ab4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
zhiwei.yuan [Thu, 11 Apr 2019 07:53:04 +0000 (15:53 +0800)]
dtv_demod: Play dtv stuttering when the temperature rising [1/1]
PD#SWPL-6985
Problem:
cfo track value is small
Solution:
increase cfo track val to avoid crystal jitter
Verify:
verified by t962x2_x301
Change-Id: Ifcf53f1d06eae204a82dc99154d18c38f370ebc1
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
zhiwei.yuan [Wed, 5 Jun 2019 11:48:42 +0000 (19:48 +0800)]
vdin: vdin write register fail sometimes due to gate clk is off [1/1]
PD#SWPL-9372
Problem:
write register after clk off
Solution:
write register after clk on
Verify:
verified by t962x2_x301
Change-Id: Id9639d98a5434a8be22f0de9bf4ed778b9cbeb9f
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
Evoke Zhang [Thu, 13 Jun 2019 02:54:25 +0000 (10:54 +0800)]
tvafe: modify secam color temperature [1/1]
PD#TV-6741
Problem:
secam color temperature need fine tune
Solution:
modify secam default config
Verify:
x301
Change-Id: Iac5037ac0f46f86753cac539b9afc95ee53cc84c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Bencheng Jing [Thu, 30 May 2019 14:01:10 +0000 (22:01 +0800)]
amvecm: lc fix black sweater part position whitish [1/2]
PD#SWPL-7279
Problem:
black sweater part position whitish
Solution:
add tune lc curve node patch
Verify:
TL1
Change-Id: Ic3f323d25f005298a07d27f0dbd9f8b7a9427165
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Guosong Zhou [Tue, 11 Jun 2019 06:00:03 +0000 (14:00 +0800)]
camera: add gc2145 mipi camera driver [1/2]
PD#SWPL-8903
Problem:
S905D3 project need bring up gc2145 mipi camera
Solution:
bring up gc2145 mipi camera on S905D3-AC202
Verify:
verify on S905D3-AC202
Change-Id: I5c7c3c551eca7ec20759e724c24d725f89641d96
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Pengcheng Chen [Tue, 11 Jun 2019 09:28:52 +0000 (17:28 +0800)]
osd: osd afbc decode err when dv enable and FF/FR [1/1]
PD#SWPL-9344
Problem:
osd hold line is too small when dv enable
Solution:
enlarge osd hold line from 4 to 8
Verify:
verified by franklin
Change-Id: I81d1fe210fe6e9f9a065d7ff75178ef1807f3e43
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Zhe Wang [Wed, 12 Jun 2019 08:35:40 +0000 (16:35 +0800)]
audio: bringup project T312 audio [1/1]
PD#SWPL-9342
Problem:
T312 without audio
Solution:
bringup T312 audio
Verify:
T312.
Change-Id: I8be9a9fd6f09eafdb0425a1ac70cf83d17b30d60
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
nengwen.chen [Wed, 12 Jun 2019 09:22:30 +0000 (17:22 +0800)]
atv_demod: fix commit "
c12f8957d441e99d3c037dfe1f36029f55421fe3". [1/1]
PD#TV-6044, PD#TV-6047
Problem:
1.fix commit "
c12f8957d441e99d3c037dfe1f36029f55421fe3".
Solution:
1.fix commit "
c12f8957d441e99d3c037dfe1f36029f55421fe3".
Verify:
Verified by x301
Change-Id: I8e8632e608b8e0ddd8757409af6c5509bafd801d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
nengwen.chen [Mon, 10 Jun 2019 12:04:56 +0000 (20:04 +0800)]
atv_demod: fix atv non standard signal audio handle [1/1]
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
1.fix atv non standard signal audio handle.
2.remove atv audio source selection in audio module.
3.atv demod selects audio source according to signal.
4.atv demod version: V2.12.
Verify:
Verified by x301
Change-Id: Ie0fce492f1ce7f5a5866d8674c95c97ee32452c0
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Zhe Wang [Wed, 12 Jun 2019 06:28:10 +0000 (14:28 +0800)]
audio: atv source selected by atv demod [1/1]
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
release atv source select function to atv demod
Verify:
x301.
Change-Id: I96e58531150c3f20946ab636d701296328215686
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Jianxiong Pan [Thu, 30 May 2019 12:18:15 +0000 (20:18 +0800)]
defect: fix the errors caused by cross-gcc-4.9 compiler. [1/1]
PD#SWPL-9181
Problem:
have the errors when using the cross-gcc-4.9 compiler.
Solution:
fix it.
Verify:
tm2_ab311.
Change-Id: I3dcc5e982c520baeaf19ca246764db10f36dd079
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Hanjie Lin [Mon, 10 Jun 2019 08:38:00 +0000 (16:38 +0800)]
firmware_drv: should not use AMSTREAM_MAJOR [1/1]
PD#SWPL-9538
Problem:
firmware_drv and amstream shouldn't use the same AMSTREAM_MAJOR
Solution:
add a dedicated FIRMWARE_MAJOR for firmware_drv
Verify:
ac200
Change-Id: I3f041c220a9d0ea3329296dc81618dd85e8d466c
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Zhe Wang [Tue, 11 Jun 2019 05:55:04 +0000 (13:55 +0800)]
audio: fixed dtv audio clk setting error in samesource [1/1]
PD#SWPL-9593
Problem:
dtv audio is heard slower in spk
Solution:
when mclk is changed, spdif clk changes correspondingly in samesource case
Verify:
X301
Change-Id: I15fcb598ba893762580f0a5aac856376af8c94ec
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Zhe Wang [Thu, 6 Jun 2019 12:22:32 +0000 (20:22 +0800)]
audio: SM1/TM2: bringup EQ/DRC module [1/1]
PD#SWPL-7606
Problem:
EQ/DRC module is out of work
Solution:
bringup EQ/DRC module
Verify:
verified on ac200
Change-Id: Ibd9b1e65aaed2ecd5f3086e4325d6b92fe34b040
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>