Tao Zeng [Wed, 23 Jan 2019 11:39:09 +0000 (19:39 +0800)]
watchpoint: add watch point driver for cpu [1/1]
PD#SWPL-4351
Problem:
Our cpu has 4 watch point on each cpu. It can be used for debug
purpose. But currently there is no driver support it.
Solution:
Bring up driver for it.
Verify:
p212
Change-Id: Ifbcb7f9b77e10fcb03b3c1a5e18f06b1a56ec2f0
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Yong Qin [Mon, 14 Jan 2019 08:50:12 +0000 (16:50 +0800)]
cec: ceca register access fail [1/1]
PD#SWPL-4133
Problem:
cec a register access fail and cause watchdog reboot
Solution:
reduce wait counter, and check clk register
Verify:
P215
Change-Id: Ic9d97e1eca9428ffd0c4a6bfe008cd9d8303075b
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Nanxin Qin [Sat, 26 Jan 2019 17:21:20 +0000 (01:21 +0800)]
tee: add an interface for the teeload with swapping. [1/1]
PD#SWPL-2367
Problem:
building err and issue of compatibility.
Solution:
1. fixed building err without merging media_modules
2. add a new api tee_load_video_fw_swap
Verify:
p212,u212
Change-Id: Ifeedf2f3fa04b2427dccf2ac3940bad6860362d6
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
Nanxin Qin [Thu, 20 Dec 2018 08:59:53 +0000 (16:59 +0800)]
tee: add swapping of the fw for the tee loading. [3/7]
PD#SWPL-2367
Problem:
can not playback hevc after update video fw.
Solution:
add swapping of the fw for the tee loading.
Verify:
p212,u212
Change-Id: I698e43ba8e71060f85be4b468c4c61d625f46d4a
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
yujie.wu [Mon, 21 Jan 2019 09:25:19 +0000 (17:25 +0800)]
audio: Add HBR audio info for HDMI input [2/3]
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>
Nian Jing [Wed, 23 Jan 2019 11:54:49 +0000 (19:54 +0800)]
avin: fix av detect issue for tl1 [1/1]
PD#SWPL-4397
Problem:
hotplug incorrect report when av playing some video
Solution:
when avplay,disable the avdetect
Verify:
verified by x301
Change-Id: Iaa5d2473611ff9c3f0a0787ff74a27982ee72580
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Brian Zhu [Fri, 25 Jan 2019 05:27:59 +0000 (13:27 +0800)]
vpp: force vd2 using preblend when playing mvc [1/1]
PD#SWPL-3381
Problem:
vd2 used postblend as default after g12a chip
Solution:
force vd2 using preblend when playing mvc
Verify:
Locally on u212
Change-Id: Ia7fab8ad70ed1e58b7ade241828afab288b94bec
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Hong Guo [Tue, 22 Jan 2019 06:25:58 +0000 (14:25 +0800)]
cpufreq: add more syspll freq info [1/1]
PD#SWPL-4035
Problem:
add more syspll freq info.
Solution:
add more syspll freq info.
Verify:
g12a_u200, verify pass
Change-Id: I3e2a587f5ebaa20126e6ad5c37bd9d2730a75125
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
yicheng shen [Fri, 25 Jan 2019 08:32:01 +0000 (03:32 -0500)]
hdmirx: modify emp mem size [1/1]
PD#SWPL-4513
Problem:
The memery size of emp is oversize
Solution:
reduce the memery size to 4M
Verify:
None
Change-Id: If39103a6643968f4a3000c7ba44f44e1b7e290c2
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Jian Cao [Tue, 22 Jan 2019 09:16:17 +0000 (17:16 +0800)]
gdc: reset alloc flag when free dma buffer [2/2]
PD#SWPL-4354
Problem:
alloc flag is not correct when free dma buffer
Solution:
reset alloc flag when free dma buffer
Verify:
test pass on g12a-u200
Change-Id: Idfc0be5b394d18799232f6239b3f6c6df9181ce0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Fri, 18 Jan 2019 07:33:52 +0000 (15:33 +0800)]
ge2d: reset alloc flag when free dma buffer [1/2]
PD#SWPL-4354
Problem:
alloc flag is not correct when free dma buffer
Solution:
reset alloc flag when free dma buffer
Verify:
test pass on g12a-u200
Change-Id: I4aea27f38ebda72cfe77183423600c918b836d7c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Brian Zhu [Sun, 20 Jan 2019 16:19:47 +0000 (00:19 +0800)]
vpp: disable vd2 again if the last vframe is MVC [1/1]
PD#SWPL-4003
Problem:
VD2 keep displaying after keep last frame for mvc streaming
Solution:
check the last frame type and disable vd2 again
Verify:
verify by tl1
Change-Id: Ia2b598331e8f65c02974d41c498408bee40a407e
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Yong Qin [Tue, 1 Jan 2019 02:28:08 +0000 (10:28 +0800)]
vlock: screen flash after PAL NTSC swich [1/1]
PD#SWPL-4246
Problem:
the screen always flash after switch PAL to NTSC in AVin
Solution:
do not change pll M value, M value will case v by one fail
Verify:
verified on tl1 android p
Change-Id: Ib5ea8dfef1c40af5535e69fdc9241a7f77b4a7dd
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Pengcheng Chen [Wed, 23 Jan 2019 09:22:39 +0000 (17:22 +0800)]
osd: fix display frame offset caused osd display abnormal [1/1]
PD#OTT-1663
Problem:
display frame offset caused osd display abnormal
Solution:
remove unnecessary blend dst_data adjust
Verify:
Locally on raven
Change-Id: I38b97f6da750f5edea97416b4d7fc0172dea7466
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Zhiwei Yuan [Fri, 18 Jan 2019 07:09:12 +0000 (15:09 +0800)]
dtv_demod: tl1,dvbc, new method for fast channel searching [1/1]
PD#TV-2154
Problem:
[Hisense-T962X2-P-customer-DTV]:DVBC QAM is set to auto to search channels
Solution:
add new searching method
note:
use "demod_dvbc_speedup_en" to mark the new method
it's disabled as default, can be enabled if needed
we can make it always enabled after all testing are passed
enable: echo fast_search on > /sys/kernel/debug/demod/dvbc_channel_fast
Verify:
verified by t962x2_x301
Change-Id: Icaaab9f27eb058a062d7048c6ca9fa2e3bff008e
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
Dianzhong Huo [Thu, 10 Jan 2019 07:21:09 +0000 (15:21 +0800)]
dts: isp reserved memory optimize on w411 platform [1/1]
PD#SWPL-4577
Problem:
ISP reserve memory needs to be optimized.
Solution:
1.cost down isp reserved memory(just support 1ch 1080P60fps)
2.temper size default set 24M(config in dtsi)
Verify:
verify on w411 platform.
Change-Id: I5df16e7625be09c6feebcf74ea56b24f5a0f451b
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
shuanglong.wang [Thu, 17 Jan 2019 09:58:00 +0000 (17:58 +0800)]
video: video peek do not post video start event [1/1]
PD#SWPL-4317
Problem:
for video peek, before audio post audio start, video may have rended.
Solution:
do not post video start for video peek, all wait for audio start to
start pcr
Verify:
verify by p212
Change-Id: If5656154e30613164465f84c44d3fd1ee386d654
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
nengwen.chen [Wed, 23 Jan 2019 05:12:17 +0000 (13:12 +0800)]
tvafe: get cvbs lock status error [1/1]
PD#TV-1548
Problem:
get cvbs lock status error.
Solution:
fix h_lock and v_lock status.
Verify:
verified by x301
Change-Id: Ia5e618c42280e7964399122b9b039a6f0d7da305
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Dianzhong Huo [Thu, 10 Jan 2019 11:43:14 +0000 (19:43 +0800)]
ipc: add ircut driver for ipc camera [1/1]
PD#SWPL-4078
Problem:
Need porting ircut driver for ipc camera.
Solution:
Add ircut driver.
ircut auto on/off by light in sensor.
Verify:
Verify on W411 platform.
Change-Id: I4f20f0a1e117e8e4e7f94dead6a65f243169827f
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
wenbiao zhang [Fri, 18 Jan 2019 09:03:54 +0000 (17:03 +0800)]
bandwidth: fix wrong bandwidth usage on t950 [1/3]
PD#TV-470
Problem:
t950 ddr bandwidth usage is error
Solution:
t950/805x ddr is 16bit, correct the param to get right usage
Verify:
t950
Change-Id: Ice876f82e5c33e778b3ac9f593e0c163d57d7f3f
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
tao zeng [Fri, 30 Nov 2018 10:01:31 +0000 (18:01 +0800)]
mm: optimize thread stack usage on ARMv7 [1/1]
PD#SWPL-2681
Problem:
Kernel stack usage is large when running many tasks.
Solution:
Map kernel stack to module space and handle page-fault
for stack fault. This can save about 50% memory of stack
usage
Verify:
p212
Change-Id: Ie894bc8f00cb525ddf8ac63c6d99d9c6e937fdc0
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Guosong Zhou [Thu, 17 Jan 2019 09:17:20 +0000 (04:17 -0500)]
isp: config temper buffer size in dts [1/2]
PD#SWPL-4177
Problem:
temper buffer size is a fixed value in code
Solution:
config temper buffer size from dts
Verify:
verify by w400
Change-Id: I17ef428221f149a888e0318bc27d7b7d309c00ce
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Xuhua Zhang [Mon, 14 Jan 2019 07:09:35 +0000 (15:09 +0800)]
tvin: vdin: add interface to get signalinfo [1/1]
PD#TV-2083
Problem:
TVIN_IOC_G_SIG_INFO not complete enough
Solution:
add interface to get signalinfo
Verify:
Verify on TL1
Change-Id: I32f198f14dfcc1f8a8ee1f19c4065bd7d4d5dccc
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Pengcheng Chen [Tue, 22 Jan 2019 06:42:34 +0000 (14:42 +0800)]
osd: fix a green line displayed when output is yuv420 4k/60hz [1/1]
PD#SWPL-4427
Problem:
a green line displayed when output is yuv420 4k/60hz
Solution:
set dummy data to 0x808000 can fix a green line
displayed when output is yuv420 4k/60hz
Verify:
verify by fanklin
Change-Id: I06125d36c2fb06a61dd072a1789217e7c3705207
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Dianzhong Huo [Tue, 22 Jan 2019 08:18:49 +0000 (16:18 +0800)]
dts: remove A53 frequency table greater than 1.5Ghz [1/1]
PD#SWPL-4521
Problem:
New W411 reference board A53 power combine with vddee,
becaule vddee voltage set at 800mv,so need remove
A53 dvfs table which voltage greater than 800mv
Solution:
Remove A53 frequency table greater than 1.5Ghz
Verify:
Local
Change-Id: I05a2b51f704b25a0654881d6da3372fcd2f2a051
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
Jiyu Yang [Tue, 8 Jan 2019 09:38:23 +0000 (17:38 +0800)]
gpu: limit gpu freq to 800M for tl1 [1/1]
PD#SWPL-3981
Problem:
the gpu shall not use the gp0 pll as vlsi guy's suggestion.
Solution:
rm 850M from gpu freq table
Verify:
Marconi, franklin
Change-Id: I38ae616de23d51ede36776f0ecd66d0a3df30459
Signed-off-by: Jiyu Yang <jiyu.yang@amlogic.com>
nengwen.chen [Fri, 18 Jan 2019 11:12:44 +0000 (19:12 +0800)]
atv_demod: Optimizing ATV auto scan Speed. [1/2]
PD#SWPL-4123
Problem:
Optimizing ATV auto scan Speed.
Solution:
optimizing the step of scanning.
Verify:
verified by x301
Change-Id: I0f616f14488be49be67c40eca7fc9f30108545b8
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Lei Qian [Mon, 21 Jan 2019 11:52:19 +0000 (19:52 +0800)]
dts: t309: change tuner to r842 [2/2]
PD#SWPL-4482
Problem:
used wrong tuner
Solution:
set tuner to r842
Verify:
verify by t309
Change-Id: I22fb3b6800e9f8cdeb03a307067d07d3e2190be1
Signed-off-by: Lei Qian <lei.qian@amlogic.com>
Xuhua Zhang [Mon, 21 Jan 2019 08:59:10 +0000 (16:59 +0800)]
tvin: vdin: fix vdin histgram error on tl1 [1/1]
PD#TV-2263
Problem:
vdin histgram error on tl1
Solution:
tl1 use TVIN_PORT_VIU1_WB0_VPP
Verify:
verify on tl1
Change-Id: I225a85a1debee0e8c42f60751524661fc5c986bd
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Hanjie Lin [Fri, 14 Dec 2018 11:39:58 +0000 (19:39 +0800)]
perf_event: aml pmu interrupts routing on g12b [1/1]
PD#SWPL-3088
Problem:
g12b big-little cluster is different from other SoC with pmu
interrupts and registers.
software modifications must adapt to the difference.
Solution:
modify
Verify:
u200 w400
Change-Id: If9217c1025dff5c17d51790f8c216e31b7d6532b
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
yicheng shen [Tue, 8 Jan 2019 07:38:22 +0000 (02:38 -0500)]
hdmirx: add new EQ setting [1/1]
PD#SWPL-4261
Problem:
some devices have compatibility issues.
Solution:
1.update phy setting;
2.optimize some SW logic;
3.set eess_oess to auto mode;
4.fix black screen(DE fixed error,related with rx phy) issue.
Verify:
TL1 TXLX android P
Change-Id: I842a4782b3e513fa1e483feca98ce05b128d79fc
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Hanjie Lin [Wed, 2 Jan 2019 05:36:09 +0000 (13:36 +0800)]
defconfig: arm: code score is low by Antutu benchmark [1/1]
PD#SWPL-3704
Problem:
32bit code score is low by Antutu benchmark.
PD#SWPL-3704
Solution:
enable CONFIG_SCHED_WALT CONFIG_CGROUP_SCHEDTUNE CONFIG_SCHED_TUNE
referenced by arm64
Verify:
w400
Change-Id: I6f461020b0fb0e42be94f1c66f5c38defb2c6ea1
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Pengcheng Chen [Fri, 18 Jan 2019 05:30:52 +0000 (13:30 +0800)]
osd: fix osd_reverse casued afbc decode error [1/1]
PD#SWPL-4335
Problem:
osd_reverse casued afbc decode error
Solution:
add afbc prefect reverse when osd_reverse
Verify:
verify by tl1
Change-Id: I11730121e62935683480f42db7c43365bc91bf31
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Rongjun Chen [Wed, 16 Jan 2019 08:27:35 +0000 (16:27 +0800)]
wifi: export set_usb_wifi_power [1/1]
PD#TV-2088
Problem:
wifi can not power in driver
Solution:
export set_usb_wifi_power
Verify:
franklin
Change-Id: Ic6fb75133533c395cd96e9d82f14427cf40cee96
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
Yi Zhou [Tue, 15 Jan 2019 03:08:52 +0000 (11:08 +0800)]
hdmitx: eliminate the work of sdr effect when choosing hdr [1/1]
PD#SWPL-4079
Problem:
hdr->sdr must have 1.5s delay, when switching from sdr->hdr
the work queue can't be eliminated in time.
Solution:
eliminate the work of sdr effect when choosing hdr
Verify:
u212
Change-Id: I4c1d5467a58253ffa2fa12dfbac7f504d0388a00
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Xuhua Zhang [Fri, 18 Jan 2019 08:50:15 +0000 (16:50 +0800)]
tvin: vdin: fix dolby vision memory free print error [1/1]
PD#SWPL-3353
Problem:
dolby vision memory free print error
Solution:
dolby vision memory has been free by vdin_cma_release,
don't free again.
Verify:
test pass on R311
Change-Id: Id7108cf17260430c53dff707e843ed7833c8ee7c
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Jiamin Ma [Thu, 17 Jan 2019 11:42:45 +0000 (19:42 +0800)]
Kconfig: fix errorly select meson8b for ARMv8 AARCH32 [1/1]
PD#SWPL-4320
Problem:
The meson8b and arm64_a32 are both selected in Kconfig,
which is quite misleading
Solution:
Disable meson8b when arm64_a32 is selected
Verify:
Locally passed for Ampere
Change-Id: I93f55239ea90bf8cf6b96e108b6fd4a239de32b4
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
Pengcheng Chen [Fri, 11 Jan 2019 02:54:46 +0000 (10:54 +0800)]
gdc: add gdc dma_buf input/output support [2/2]
PD#SWPL-4036
Problem:
gdc don't support export dma_buf
Solution:
add gdc dma_buf input/output support
Verify:
test pass on w400
Change-Id: I67a60ede01e5c01630a00fbae2821430a870c2b8
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Huan Biao [Fri, 18 Jan 2019 05:33:25 +0000 (13:33 +0800)]
arm64: dts: gxl: optimize ipa parameter [1/1]
PD#SWPL-3726
Problem:
game cannot run smoothly
Solution:
1:modify cooling devices min status
cpufreq 1000Mhz-->1200Mhz
gpufreq 400MHz -->500MHz
2:modify switch trippoint freq trippoint hotplug trippoint
70000-->80000
80000-->90000
85000-->100000
Verify:
p215 pass
Change-Id: I36d8ac8ca578f92c8aeda7d979df1f3f56311ce3
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Huan Biao [Mon, 7 Jan 2019 02:49:26 +0000 (10:49 +0800)]
arm: dts: gxl: optimize ipa parameter [1/1]
PD#SWPL-3726
Problem:
game cannot run smoothly
Solution:
1:modify cooling devices min status
cpufreq 1000Mhz-->1200Mhz
gpufreq 400MHz -->500MHz
2:modify switch trippoint freq trippoint hotplug trippoint
70000-->80000
80000-->90000
85000-->100000
3:fix gpupp get fail issue
Verify:
p215 pass
Change-Id: Id0a1e1ac9619f0d9a20e2aad172ba0c84c7a2e9d
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Xuhua Zhang [Wed, 16 Jan 2019 11:44:40 +0000 (19:44 +0800)]
tvin: vdin: fix system crash when dolby vision enable [1/1]
PD#SWPL-3353
Problem:
system crash when dolby vision enable
Solution:
32bit kernel,phy addr to virt interface is changed
Verify:
Verified on txlx R311
Change-Id: Ie012bdaf7f9dc24acf7a7e03f0db056ff31e578c
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
xuhua zhang [Wed, 17 Oct 2018 12:20:01 +0000 (20:20 +0800)]
vdin: add vdin1 histgram [1/1]
PD#SWPL-3059
Problem:
vdin1 hisgram and screencap cannot be used simultaneously
Solution:
add vdin1 histgram,and make hist and screencap function to be compatible
Verify:
txlx r311
Change-Id: I759d1cdc69d59015ce845898990088eb6943cc41
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
Evoke Zhang [Thu, 10 Jan 2019 04:56:06 +0000 (12:56 +0800)]
lcd: tcon: add chpi bbc init support for tl1 [1/1]
PD#SWPL-3739
Problem:
need bbc flow to init channel for tcon chpi
Solution:
add bbc flow support
Verify:
x301
Change-Id: I15a3e9a85fdf62359768ce8931374f9c730b49d1
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Mon, 14 Jan 2019 12:56:01 +0000 (20:56 +0800)]
backlight: ldim: add dev reg access api support [1/1]
PD#TV-1481
Problem:
need ldim_dev reg access uniform api
Solution:
add ldim_dev reg access uniform api
Verify:
x301
Change-Id: I72756d178ef70aac1f8b7fef842468f2e27a0ffe
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Shaochan Liu [Wed, 9 Jan 2019 06:23:11 +0000 (14:23 +0800)]
lcd: optimize bit_rate config in lcd driver [2/2]
PD#SWPL-3562
Problem:
optimize bit_rate config in lcd driver
Solution:
optimize bit_rate config in lcd driver
Verify:
verify by t962x2-x301
Change-Id: Ia804628aa60590f4311ece394ddacc08ca64d573
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Shaochan Liu [Wed, 26 Dec 2018 07:07:47 +0000 (15:07 +0800)]
lcd: unify lcd pinmux usage in dts [1/1]
PD#SWPL-3294
Problem:
unify lcd pinmux usage in dts
Solution:
change lcd pinmux usage to be recommend by linux upstream
Verify:
verify by t962x_r311
Change-Id: I7069b5272fa779575a8111b12a3ed835ab72cd02
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
yicheng shen [Thu, 10 Jan 2019 10:38:29 +0000 (05:38 -0500)]
hdmirx: fix read edid panic issue [1/1]
PD#SWPL-4088
Problem:
There will be kernel panic when read edid via hdmirx
driver interface
Solution:
modify the rd_top interface
Verify:
TL1 android P
Change-Id: Ifb595cc66a2e792bc5153d726258deb7ba4e741c
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
yu.zhang [Wed, 16 Jan 2019 08:48:32 +0000 (16:48 +0800)]
dts: add ir cut control GPIO to g12b_a311d_w400_buildroot.dts [1/1]
PD#SWPL-4272
Problem:
g12b_a311d_w400_buildroot.dts do not include add ir cut control GPIO
Solution:
add ir cut control GPIO to g12b_a311d_w400_buildroot.dts
Verify:
g12b_a311d_w400_buildroot
Change-Id: I771ea08ad6ab189060079b820a471e059b5eb72a
Signed-off-by: yu.zhang <yu.zhang@amlogic.com>
Pengcheng Chen [Thu, 3 Jan 2019 07:50:50 +0000 (15:50 +0800)]
ge2d: add ge2d dma_buf support [1/2]
PD#SWPL-4036
Problem:
don't support dma_buf
Solution:
add ge2d dma_buf support
Verify:
test pass on w400
Change-Id: I1277d04fb30753e579d5edc5f46f2406dc27217a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Xing Wang [Tue, 15 Jan 2019 09:15:34 +0000 (17:15 +0800)]
dts: tl1: enable resample for tl1 [1/2]
PD#SWPL-3365
Problem:
not resample for audio in, so output in wrong sample rate
Solution:
1. enable resample in dts
2. fix to check whether resample is needed
Verify:
x301
Change-Id: I99238cc21a00ab53df6a1f8ab1703bc9ab48cbaa
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Zhiwei Yuan [Mon, 14 Jan 2019 10:38:15 +0000 (18:38 +0800)]
dtv_demod: txlx atsc-t loses lock when play video for a long time [1/1]
PD#SWPL-3418
Problem:
[Einstein]when AC off/on,enter live TV ,
TV display blank screen and no signal about 5S
Solution:
use post-eq to track(0x912=0x50)
Verify:
verified by t962x_r311
Change-Id: I924c55a8f1c92328e4371cb730e1b03bd720457f
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
Yi Zhou [Tue, 15 Jan 2019 07:31:13 +0000 (15:31 +0800)]
dv: close afbc2 when playing sources with unnecessary el [1/1]
PD#SWPL-915
Problem:
DOLBY only sets the enhancement for the first frame ->
Vd sets cur_dispubf2 according to enhance ->
codec_mm keeps the last frame according to cur_dispbuf2,
so it fails -> AFBC2 access to the released content causes the trigger.
Solution:
close afbc2
Verify:
r321
Change-Id: I03c431a6ea11b8aabf97b1f0b21f717024be2f62
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
MingLiang Dong [Wed, 16 Jan 2019 06:36:29 +0000 (01:36 -0500)]
amvecm: sdr2hdr function set by uplayer, driver default disable [1/1]
PD#SWPL-4255
Problem:
UI disable SDR TO HDR, reboot BOX,
TV flicker white and then display ok when connect hdr tv
Solution:
dr2hdr function set by uplayer, kernel default disable
Verify:
verify on G12A
Change-Id: Iea5a1e0be9b5665bb7deb785b6b5faa702ef1664
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Ruixuan Li [Tue, 8 Jan 2019 10:33:59 +0000 (18:33 +0800)]
emmc: modify dtb malloc method [1/1]
PD#SWPL-3951
Problem:
buffer malloc for dtb may failed
Solution:
malloc may sleep to wait for enough memory
Verify:
pass on p212
Change-Id: Ib4c266c17140d2a6abf2aea6c02b2ff591f0fe08
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Jiamin Ma [Mon, 14 Jan 2019 10:56:54 +0000 (18:56 +0800)]
build: fix build err [1/1]
PD#SWPL-4150
Problem:
When switch to the toolchain shipped with android P, multipile
"-Werror=maybe-uninitialized" error occurs, and the code fail
to be compiled
Solution:
Initialize variables if necessary
Verify:
Locally on Ampere
Change-Id: I280de648914565656831e211539bf41a7dee2b4a
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
MingLiang Dong [Mon, 14 Jan 2019 09:59:00 +0000 (04:59 -0500)]
amvecm: add disable gamma pattern [1/1]
PD#TV-2138
Problem:
after set gamma pattern, pattern can not resume
Solution:
add disable gamma pattern cmd
Verify:
verify on TL1
Change-Id: I5b123dce185c5f80e21b5e5e4a18ad65f7db626b
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Mon, 14 Jan 2019 06:07:07 +0000 (01:07 -0500)]
amvecm: DNLP curve read error [1/1]
PD#SWPL-4139
Problem:
DNLP curve buffer is not clean
Solution:
memset dnlp curve buf 0
Verify:
verify on TL1
Change-Id: Ibf37a8bfa52cdcb2d8c848c94a0d32d0391c8742
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Yi Zhou [Fri, 11 Jan 2019 03:31:16 +0000 (11:31 +0800)]
dv: keep dv enable when connecting to sdr TV [1/1]
PD#SWPL-3226
Problem:
turn off the dv core, the osd flutters
Solution:
keeping core2 open when dv enable under sdr TV
Verify:
u212
Change-Id: Idf57c6e67676fb5eec944e543cb596247c932df4
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
shuanglong.wang [Thu, 10 Jan 2019 13:12:12 +0000 (21:12 +0800)]
video: omx get first frame toggoled flag [1/2]
PD#SWPL-4048
Problem:
omx can not detect first frame have toggled
Solution:
omx get first frame toggoled flag
Verify:
verify by p212
Change-Id: I632824390287dd0257dca23a009ff8851054f68d
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
Guosong Zhou [Sat, 5 Jan 2019 07:17:20 +0000 (02:17 -0500)]
camera: support the dvp camera [1/1]
PD#SWPL-2133
Problem:
don't support dvp camera
Solution:
add dvp camera driver
Verify:
verify by u200
Change-Id: I8517913e0c3724247b396e8d054d6a4541a1993a
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
Kaifu Hu [Tue, 15 Jan 2019 06:43:08 +0000 (14:43 +0800)]
hdmi: fix uboot logo flash [1/2]
PD#SWPL-4194
Problem:
Systemcontorl set display mode when attr is difference
Solution:
Fix color space property parser
Verify:
G12A/U200
Change-Id: Iddbcbbf3925b175833f534a287de413315ca1170
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Jian Cao [Fri, 11 Jan 2019 06:30:40 +0000 (14:30 +0800)]
ge2d: add enhanced hsc adv num support [2/2]
PD#SWPL-4075
Problem:
add enhanced hsc adv num support
Solution:
add enhanced hsc adv num support
Verify:
verified on g12b-w400
Change-Id: I13b52a0b10e8f3830c57ff691ef3472a34cbe89c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Thu, 10 Jan 2019 08:55:53 +0000 (16:55 +0800)]
ge2d: fix strechblit issue for GE2D [1/2]
PD#SWPL-4075
Problem:
dst data is not normal by using strechblit function
such as 1920x1080 --> 640x360
Solution:
add bit width restriction for
horizontal scaler initial phase
Verify:
verified on g12b-w400
Change-Id: Ibcd85cc08f49254e90100beb952e711736531134
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Jian Cao [Thu, 3 Jan 2019 12:36:22 +0000 (20:36 +0800)]
ge2d: add support for nv16 [1/1]
PD#SWPL-3876
Problem:
add support for nv16
Solution:
add support for nv16
Verify:
verified on g12a-u200
Change-Id: I34c9179ed4fde43b9bd00caa9505ea4c8ee78eb0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Lei Yang [Thu, 10 Jan 2019 09:32:17 +0000 (17:32 +0800)]
hdmirx: add spin lock when R/D reg [1/1]
PD#SWPL-4073
Problem:
warning of CPU Tainted
Solution:
add spin lock when R/D reg
Verify:
verify by marconi
Change-Id: I8f47666f41c0ba3a010631f5d71416aad0e43beb
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Jihong Sui [Thu, 10 Jan 2019 12:48:47 +0000 (20:48 +0800)]
deinterlace: change holdline default value to 8 [1/1]
PD#SWPL-3384
Problem:
DI post holdline setting is not map with video
Solution:
change holdline to 8
Verify:
verified by gxl
Change-Id: Ia352604086cefb4c69d5dd268d12741c4cf4f173
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Yong Qin [Thu, 10 Jan 2019 06:52:03 +0000 (14:52 +0800)]
cec: framework suspend condition error [1/1]
PD#SWPL-3715
Problem:
set startup to TV,when DVD power on,the platform
autoshutdown after enter HDMI source
Solution:
suspend condition is wrong when not in suspend mode.
Verify:
TL1 (X301_T962x2)
Change-Id: I057cfe6b9a7f5806fa54eac063c02a7e3dc0179e
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Shuai Li [Sun, 13 Jan 2019 15:03:48 +0000 (23:03 +0800)]
audio: add stream mute and continuous clk [1/1]
PD#SWPL-2952
Problem:
Pop noise could be heard
when switching between sources.
Solution:
1. Add stream digital mute functions.
2. continuous clock to eliminate
the clk reset issue.
Verify:
Local verified.
Change-Id: I372f4c03aaf875d75aa903c9c2dfda00619af000
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Xiaoming Sui [Mon, 14 Jan 2019 08:55:27 +0000 (16:55 +0800)]
dts: tl1: add clk_81 to enable demux pcr [1/1]
PD#SWPL-3103
Problem:
dolby files have no sounds after replay
Solution:
in x301, the clk_81 is null when init, it is releated
to demux pcr, so add clk_81 to enable demux pcr
Verify:
verify by X301
Change-Id: Id11549fe7a8b156206ac7004e31575fd5d309254
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
long yu [Mon, 14 Jan 2019 03:23:47 +0000 (11:23 +0800)]
storage: emmc: Adjust the tuning mode of controller for HS200 [1/1]
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>
Pengcheng Chen [Tue, 18 Dec 2018 05:15:36 +0000 (13:15 +0800)]
osd: fix some fence issue [2/2]
PD#SWPL-3348
Problem:
fix some fence issue
Solution:
1. add blank operation to FBIOPUT_OSD_SYNC_RENDER_ADD
2. move canvas_config to osd_setting_blend
Verify:
verify by franklin
Change-Id: I5d1ebb697ff542e5c36dab0dae9b322ec4e1fa16
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Cheng Tong [Mon, 14 Jan 2019 06:33:07 +0000 (14:33 +0800)]
dts: u212 2G ddr add dvb dts config [1/1]
PD#SWPL-4140
Problem:
u212 2G dts didn't have dvb config
Solution:
add dvb dts config
defalut commented out as reference
Verify:
Verify by Android P franklin
Change-Id: I1ffc631ff0a729e6701fd8cd17b28f70666b1e30
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
tao zeng [Tue, 27 Nov 2018 04:26:53 +0000 (12:26 +0800)]
mm: add cma debug interafce [1/1]
PD#GH-17
Problem:
sometimes cma allocation failed but it's hard to get
failed log and need recompile code.
Solution:
Add /proc/cma_debug to open cma debug message dynamic.
By default, no debug message is printed. If you write a
value large than 0 to this node, debug message will be
printed.
Verify:
p212
Change-Id: Ibcfd1d48be5f33f674f09df713dc2e493748c405
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Tao Zeng [Thu, 10 Jan 2019 02:35:14 +0000 (10:35 +0800)]
mm: fix dead loop if signal pending for cma alloc task [1/1]
PD#GH-17
Problem:
If a task be killed during CMA allocation, then it will abort
cma allocation in function compact_unlock_should_abort. But in
function aml_cma_alloc_range, it will return -EBUSY. Which cause
cma allocation loop won't exit and run again and again.
Solution:
return -EINT for this case to exit cma allocaion loop.
Verify:
newman platform
Change-Id: I6559bb184fc035ae68c8ccd001407767e1e22f0c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
long yu [Fri, 11 Jan 2019 06:55:35 +0000 (14:55 +0800)]
storage: emmc: Set core_phase to 2 for HS200 mode [1/1]
PD#TV-2112
Problem:
eMMC timing test failed on item tISU
Solution:
set core_phase to 2 for HS200 busmode
Verify:
TL1-T962X2_X301
Change-Id: I1025b6b6b66b2591b7a8faca68ff1852eeb9b85c
Signed-off-by: long yu <long.yu@amlogic.com>
Xing Wang [Sat, 29 Dec 2018 11:14:23 +0000 (19:14 +0800)]
audio: auge: fix sharebuffer channel map [1/1]
PD#SWPL-2645
Problem:
play ddp source, then play pcm source, no sound
Solution:
1. fix same source control and channel map issue
2. i2s 8ch, spdif 2ch, channels are not mapped, make spdif 8 channel mask
3. when same source used, keep mpll use same mpll
Verify:
x301
Change-Id: I2fe4bbcbcbfff0a1c1a6cebf61d1da5aba9b7a9d
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
Pengcheng Chen [Fri, 11 Jan 2019 09:40:36 +0000 (17:40 +0800)]
osd: afbc decode error when write afbc start before afbc reset [1/1]
PD#SWPL-4016
Problem:
afbc decode error when write afbc start before afbc reset reg
Solution:
replace invalid reg when found afbc start before afbc reset reg
Verify:
test pass on franklin
Change-Id: Ia01608fe4d5c6132d0b54e63c48560e9e77bfe0a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Bencheng Jing [Fri, 11 Jan 2019 06:32:30 +0000 (14:32 +0800)]
amvecm: modify gamma_init to avoid lcd black screen after resume [1/1]
PD#SWPL-4101
Problem:
lcd black screen after resume
Solution:
init gamma data
Verify:
x301
Change-Id: Ibc04a96f00948bc4780c3eb1452bca1c6ae92961
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Kaifu Hu [Thu, 10 Jan 2019 07:14:49 +0000 (15:14 +0800)]
hdmi: support 1440x2560p60hz modes [1/1]
PD#IPTV-1032
Problem:
Need support 1440x2560p60hz
Solution:
Porting VESA code and 1440x2560p60hz
Verify:
g12b/w400
Change-Id: I3cf38bebc29b76aed50fe2ced7b47e27f2d1af06
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Yi Zhou [Fri, 11 Jan 2019 02:49:11 +0000 (10:49 +0800)]
dv: mute the first frame when playing video [1/1]
PD#SWPL-4091
Problem:
due to the ip bug, the first frame has dirty data
Solution:
mute the first frame
Verify:
u212
Change-Id: Ia21e96c338b22e25d1073f27083f10634a09edad
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
yicheng shen [Tue, 8 Jan 2019 11:02:09 +0000 (06:02 -0500)]
hdmirx: close hdcp2.2 when shut down. [4/4]
PD#SWPL-3828
Problem:
hdcp22 access ddr when power shutdown
Solution:
need notify hdcp22 close when power shutdown
Verify:
Local
Change-Id: Iffead6b2dfdd97e6e7ad16e856cb09b42e3783d1
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Shuai Li [Fri, 11 Jan 2019 04:53:44 +0000 (12:53 +0800)]
audio: fix no audio after resume of
ad82584f [1/1]
PD#SWPL-4090
Problem:
No audio after suspend and resume.
Suspend won't save the mute value,
and after resume, it could not be restored.
Solution:
Add a mute val to save when suspend,
and after resume, restore the mute value.
Verify:
Verified by QA.
Change-Id: Ie24bb11f5c565048391846a66b5d12bab1d55666
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
qiu.zeng [Wed, 9 Jan 2019 07:09:05 +0000 (15:09 +0800)]
BT: bt mac write [1/3]
PD#OTT-1590
Problem:
bt mac write
Solution:
Accept the MAC address from uboot and create nodes
Verify:
Verifying on Public Edition P212
Change-Id: I77ff3543aff937adc07bf3a0933a350c27e9dd20
Signed-off-by: Qiu Zeng <qiu.zeng@amlogic.com>
Dianzhong Huo [Thu, 10 Jan 2019 09:06:14 +0000 (17:06 +0800)]
galcore: removed reserve memory for galcore driver [1/1]
PD#SWPL-4087
Problem:
System Memory needs to be optimized.
Solution:
Removed reserve memory for galcore.
Verify:
local
Change-Id: I4fc1d7690b6beda1055aebe26570a05f28474813
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
Zhiwei Yuan [Thu, 10 Jan 2019 05:52:36 +0000 (13:52 +0800)]
dtv_demod: TXLX ISDB-T can't search channel [1/1]
PD#SWPL-3987
Problem:
[Einstein]use ISDB-T cannot search any channel
Solution:
release cma memory at leave_mode for ISDB-t&DVB-T
Verify:
verified by t962x_r311
Change-Id: I9b79687a4d5270932ab30afaa3e7d2817e900149
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
Zhiwei Yuan [Wed, 26 Dec 2018 10:11:42 +0000 (18:11 +0800)]
dtv_demod: TL1 dvbc search time more than 3 min [1/1]
PD#SWPL-3555
Problem:
{DVB-C}Hisense needs less than 3 minutes for dvb-c search.(5/5,None)
Solution:
1.use demod internal state machine to optimize time
2.remove j.83b filter setting in dvbc mode for tl1 & txlx
Verify:
verified by t962x2_x301&t962x_r311
Change-Id: Ic922e3da727179e2e35a0fc80e52ac7242c54129
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
MingLiang Dong [Wed, 9 Jan 2019 09:22:26 +0000 (04:22 -0500)]
amvecm: ioctrl get hist ave error [1/1]
PD#TV-1950
Problem:
VPP_IN_H_V_SIZE register is removed on TL1
Solution:
use preblend size to config hist stts size
Verify:
verify on TL1
Change-Id: I0afc9fd45f69318b2ebd42424aee20e60400d809
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 8 Jan 2019 13:23:33 +0000 (08:23 -0500)]
hdr: sdr2hdr on/off switch, osd flutter [1/1]
PD#SWPL-3038
Problem:
sdr2hdr on/off switch, osd flutter
Solution:
always enable osd1 hdr, if osd hdr bypass, set hdr bypass parameters
Verify:
verify on G12A
Change-Id: I4d5ae0588b06c4989b3a4f22b00ba41ef80be0d0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Nian Jing [Mon, 24 Dec 2018 09:33:51 +0000 (17:33 +0800)]
tvafe: add atv format get func [1/1]
PD#TV-1586
Problem:
no atv format get func
Solution:
Add atv format get func
Verify:
verified by x301
Change-Id: Ia43d5a67370d2b025e1b32833a5408a5e7d251d4
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Shuai Li [Tue, 8 Jan 2019 14:16:41 +0000 (22:16 +0800)]
audio: fix pop snd after bootup [2/2]
PD#SWPL-3178
Problem:
output big pop noise after system boot up.
Solution:
Add zero and then unmute the stream.
NOTICE: user should unmute the
AD82584F after boot.
Verify:
local verified.
Change-Id: I21555318f9347c5340a28f7e5cf0e3e2cde849a0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Guosong Zhou [Sat, 29 Dec 2018 08:25:55 +0000 (03:25 -0500)]
amlvideo2: fix record apk exit [1/1]
PD#SWPL-209
Problem:
record apk exit when recording
Solution:
set right start vdin flag
Verify:
test pass on P321
Change-Id: I0130b5a898392d75d500987f8087dbe9ab778372
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
MingLiang Dong [Wed, 2 Jan 2019 10:11:43 +0000 (05:11 -0500)]
amvecm: cm parameters curve is wrong after disable/enable [1/1]
PD#SWPL-3809
Problem:
cm parameters curve is wrong after disable/enable
Solution:
TV cm parameters from pq db, don't need set by kernel
Verify:
verify on TL1
Change-Id: I9c87c414e009d04c6a4fdf8caf8e9bb429376d56
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 1 Jan 2019 06:30:07 +0000 (01:30 -0500)]
amvecm: local contrast default low effect parameters [1/1]
PD#SWPL-3779
Problem:
local contrast default parameters is too high
Solution:
local contrast default low effect parameters
Verify:
verify on TL1
Change-Id: Ib7ec9c03284a68057f8cf245a2be8ad2e81c0af3
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
MingLiang Dong [Tue, 1 Jan 2019 03:27:47 +0000 (22:27 -0500)]
amvecm: Flash a horizontal line when enable local contrast function [1/1]
PD#SWPL-3563
Problem:
1.Flash a horizontal line in the bottom of the screen in
HDMI with 4K 50/60Hz signal after enable local contrast function
2.local contrast block is obvious when platform reboot
Solution:
1.Local contrast write curve with RDMA
2.lc init reset lc module
Verify:
verify on TL1
Change-Id: Ifd4218e3688d5b0728a6fcba81558467a1c3e05f
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Evoke Zhang [Tue, 8 Jan 2019 05:29:50 +0000 (00:29 -0500)]
lcd: optimize tcon type for extensible usage [1/1]
PD#SWPL-3957
Problem:
tcon_type need extensible usage for special case
Solution:
tcon_type change to hex value
Verify:
x301
Change-Id: I26cb58ffc1cd2f525c8cf0f7c08b0d9cf66766e5
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Tao Zeng [Fri, 4 Jan 2019 09:04:45 +0000 (17:04 +0800)]
ramdump: add ramdump support for TL1 [4/4]
PD#TV-1924
Problem:
On TL1, ramdump is not enabled.
Solution:
Add ramdump support for TL1 chips in kernel.
Also add sticky register config for other chips
Verify:
tl1_x301_v1
Change-Id: I67a11d128343ff9e615377b19914a3fc77b7acef
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Evoke Zhang [Mon, 7 Jan 2019 08:40:44 +0000 (03:40 -0500)]
lcd: add tablet mode lvds & vbyone support for tl1 [1/1]
PD#TV-2080
Problem:
need tablet mode support for tl1
Solution:
add tablet mode support for tl1
Verify:
x301
Change-Id: Ic7a6ae94255b6152236ab0d991bce9d748d670ac
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
shuanglong.wang [Tue, 9 Oct 2018 09:33:14 +0000 (17:33 +0800)]
video: drain and hold frame when pattern broken. [1/1]
PD#SWPL-795
Problem:
video video caton
Solution:
1. For 23.97 and 29.97fps, broken patten case, such as 2323..2233..2323
(23.97), 222..2213(2)22(29.97) will hold one sync to toggle.
For 23.97 and 29.97fps, broken patten case, such as 2323..233223...2323
(23.97), 222..223122...22(29.97), will drain frame one sync to toggle.
2. For 24 and 30fps, every 16.6s will occur pattern broken, one frame
will display less vsync. For 24, will happen
22221222, for 30, will
happen
3232223232. Here will escape one sync and also hold one sync to
ensure pattern detection not broken, which others will lead patten
broken, and nothold or drain frame, then frame frezee or lost will
happen.
3. add pts-trace debug. Follow command could help debug video av sync.
echo 0x400000 > /sys/module/amvideo/parameters/debug_flag
echo 1,1,1 > /sys/kernel/debug/video/pts_log_enable
Above command will print too many debug info, you can use follow
echo 0 > /proc/sys/kernel/printk && dmesg -c > /dev/null
dmesg > kernel.log
Verify:
verify by p212
Change-Id: Icc03faec772937c273ca74be67f5c52ae25fea39
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
rongrong zhou [Mon, 7 Jan 2019 08:14:56 +0000 (16:14 +0800)]
video: disable video in early suspend [1/1]
PD#SWPL-2736
Problem:
suspend green screen
Solution:
disable video in early suspend
Verify:
Ampere
Change-Id: If5ad13d2964b1541791d95ffb239293ab1e4ffb6
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
Hui Zhang [Fri, 4 Jan 2019 06:35:51 +0000 (14:35 +0800)]
dts: release memory of the reserved 1MB [2/2]
PD#SWPL-2372
Problem:
phy addr (0 - 0x100000) is reserved before. once it is release for system use.
it will be polluted by video decoder (avs2 & vp9)
Solution:
init hw addr (not 0) in decoder to avoid 0 address polluted.
then release reserved 1MB memory space in dts
Verify:
U212
Change-Id: I36f6caa09267ab1180ff12cfed9b9c7befff2842
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>