Zongdong Jiao [Tue, 20 Nov 2018 04:37:30 +0000 (12:37 +0800)]
hdmitx: add rx latency info [1/4]
PD#SWPL-2456
Problem:
Lack the latency info of RX
Solution:
Add the latency info of RX
Verify:
T962E/R321
Change-Id: I480398466753dd93ca6e908d39157acadff6879f
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Xingyu Chen [Wed, 26 Dec 2018 02:47:13 +0000 (10:47 +0800)]
arm64: dts: remove alloc-ranges property in cma nodes for tl1 [1/1]
PD#SWPL-3437
Problem:
the cam regions that specified by the alloc-ranges property are scattered,
it is not convenient to debug the memory issues.
Solution:
remove alloc-ranges property in cam nodes, but secmon and fb. the system
will allocate the cma region automatically that more gathered.
Verify:
test pass on x301
Change-Id: Ibbe64b48843c1295110242c17d7691284f08a66b
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Dianzhong Huo [Tue, 25 Dec 2018 08:23:56 +0000 (16:23 +0800)]
dts: add w411 dts for buildroot [1/1]
PD#SH-224
Problem:
buildroot no w411 dts
Solution:
1.add w411 dts
2.w411 dts copy form w400_buildtoot dts, and do some memory cost down,
and also sdio port has some different with w400 board
Verify:
w411 board test pass
Change-Id: Iba3de4fc4fe1d37dbb6070dbe54ad35c9caf45d9
Signed-off-by: Dianzhong Huo <dianzhong.huo@amlogic.com>
yujie.wu [Wed, 19 Dec 2018 02:39:25 +0000 (10:39 +0800)]
audio: Fix TDM not wokring on HDMI I2S in [1/1]
PD#SWPL-2887
Problem:
When TDM is used for HDMI I2S in, the solt set is wrong.
Solution:
Fix the lane max value from 3 to 4
Verify:
A113
Change-Id: I33f5ca21bf1e2407d83fa5d0f22e21f7b1f5e749
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
Nian Jing [Wed, 19 Dec 2018 12:45:46 +0000 (20:45 +0800)]
tvafe: fix av pal flash issue on some devices [1/1]
PD#SWPL-2636
Problem:
Picture flash when av connect some dvd or mbox
Solution:
Modify the vafe ctrl config
Verify:
verified by x301
Change-Id: Ie6ae659f3f59d7daba680e2bb32112031232c956
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Tao Zeng [Tue, 25 Dec 2018 09:43:02 +0000 (17:43 +0800)]
mm: fix too many wrong kasan report [1/1]
PD#SWPL-3583
Problem:
After merge change:
http://scgit.amlogic.com:8080/#/c/55018/
Too many wrong kasan report occur when booting kernel
Solution:
Fix kasan poison address range when free wasted memory.
Verify:
P212
Change-Id: I576a7edb7b4e70f9c6c782639f433ad45bafba1d
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Xingyu Chen [Tue, 25 Dec 2018 08:10:30 +0000 (16:10 +0800)]
arm64: add tl1 support [1/1]
PD#SWPL-3437
Problem:
the arm64 does not support tl1
Solution:
add arm64 support for tl1
Verify:
test pass on x301
Change-Id: I9531731650c7e8e962f681e357580d3dd0eb0137
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Yong Qin [Wed, 19 Dec 2018 06:56:40 +0000 (14:56 +0800)]
vlock: vlock for tl1 [1/1]
PD#SWPL-3129
Problem:
1.verify manual pll mode
2.modify vlock hiu register access api
3.add a new fsm for tl1 test
4.add chip match data
Solution:
add function for tl1
Verify:
verified on tl1
Change-Id: I75f8d2a40437056135f8dd0fb241016a9ea680df
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Yeping Miao [Fri, 7 Dec 2018 00:56:57 +0000 (08:56 +0800)]
dts: Add two dts files for S410 [3/3]
PD#SWPL-2887
Problem:
adapt Soundbar solution to S410 platform
Solution:
These two dts files are changed from S400.
Change the audio related like following.
hw:0,0 is for LINE in
hw:0,1 is for HDMI i2s in
hw:0,2 is for speaker out (4 i2s)
Verify:
S410 A113D
Change-Id: I09fff371e511432f363e2ec8999b584af533ff9c
Signed-off-by: Yeping Miao <yeping.miao@amlogic.com>
Tao Zeng [Tue, 25 Dec 2018 11:17:25 +0000 (19:17 +0800)]
mm: check virt_to_xxxx macro on 32bit OS [1/1]
PD#SWPL-1909
Problem:
virt_to_page may get bad input with virtual address
in high mem.
Solution:
Check input address of this macro and get a warn print
Verify:
p212
Change-Id: I69d81f7aac43f1865d3d1112263276603de166ce
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Shaochan Liu [Tue, 18 Dec 2018 03:31:35 +0000 (11:31 +0800)]
lcd: add lcd resume alarm filter function [1/1]
PD#SWPL-3362
Problem:
add lcd resume alarm filter function
Solution:
add lcd resume alarm filter function
Verify:
verified by t962x_r311
Change-Id: Ia4c219c76d253b4ecc16784193dc06a164d7a217
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Shaochan Liu [Mon, 17 Dec 2018 12:07:54 +0000 (20:07 +0800)]
backlight: add backlight brightness debug function [2/2]
PD#SWPL-1005
Problem:
add backlight brightness debug function
Solution:
1,add brightness_level node to change backlight brightness
2,add brightness_bypass node to change brightness_bypass
Verify:
verified by t962x_r311
Change-Id: I8faae0d08b2a15fdc5c5a507c0c6815843be59ab
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Qianggui Song [Mon, 24 Dec 2018 05:35:17 +0000 (13:35 +0800)]
ir: add toshiba protocol support [1/1]
PD#SWPL-3543
Problem:
current driver does not support toshiba ir remote control protocol
Solution:
add register setting and decode code for toshiba protocol
use REMOTE_TYPE_TOSHIBA/REMOTE_TYPE_NEC_TOSHIBA to configure toshiba
only/toshiba and nec.
Verify:
tl1_t962x2_x301
Change-Id: Idad70c3879fad6e8267f0c4d80d2447c34114103
Signed-off-by: Qianggui Song <qianggui.song@amlogic.com>
Shaochan Liu [Thu, 6 Dec 2018 08:58:17 +0000 (16:58 +0800)]
lcd: add lcd/power debug node [1/2]
PD#SWPL-1005
Problem:
add lcd/power debug node
Solution:
1,add lcd/power node to control lcd power on/off sequence
2,change old lcd/power to lcd/power_step
Verify:
verified by t962x_r311
Change-Id: I0b10caa4cbd8f7ce489f3ceef7780dba2e0b00dc
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
Tao Zeng [Tue, 25 Dec 2018 08:55:09 +0000 (16:55 +0800)]
dts: change CMA layout [1/1]
PD#SWPL-1909
Problem:
On 32bit kernel, codec cma is located in normal zone by
"alloc-ranges" parameter with large size. This takse up
memory space for kernel and drivers. Sometimes we can see
memory allocation fail log but there are still enought
free pages. But most of these pages are CMA pages.
Solution:
Move codec cma location to high memzone. On 32bit, low
768MB memory is normal zone.
This change also correct first 1MB memory lost problem
for chips later than TXLX
Verify:
TL1 x301/x309/socket board
Change-Id: I2fc62ae8b03143cc91bfecc62c123d1925aac482
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Huan Biao [Thu, 20 Dec 2018 09:42:24 +0000 (17:42 +0800)]
thermal: cooldev: fix cpucore cool devices driver issue [1/1]
PD#SWPL-3334
Problem:
cpucore cool devices upper date type no match
cpucore num set error
Solution:
modify cpucore upper num check
Verify:
w400 pass
Change-Id: I83f829d31cab565d5ca3b892bb58a4a68b8f0f20
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Zongdong Jiao [Thu, 13 Sep 2018 02:17:34 +0000 (10:17 +0800)]
hdmitx: fix KASAN Bug in set_disp_mode_auto [1/1]
PD#173549: hdmitx: fix KASAN Bug in set_disp_mode_auto
==================================================================
BUG: KASAN: global-out-of-bounds in set_disp_mode_auto+0x244/0x870
Read of size 32 at addr
ffffff900a67e4c0 by task power@1.0-servi/2924
CPU: 2 PID: 2924 Comm: power@1.0-servi Tainted: G B O 4.9.113 #1
Hardware name: Amlogic (DT)
Call trace:
[<
ffffff900908ecc0>] dump_backtrace+0x0/0x368
[<
ffffff900908f0cc>] show_stack+0x24/0x30
[<
ffffff900963bdb0>] dump_stack+0xa0/0xc8
[<
ffffff90092ba234>] print_address_description+0x144/0x258
[<
ffffff90092ba6ac>] kasan_report+0x264/0x338
[<
ffffff90092b8ff4>] check_memory_region+0x12c/0x1c0
[<
ffffff90092b90dc>] __asan_loadN+0x14/0x20
[<
ffffff9009c12804>] set_disp_mode_auto+0x244/0x870
[<
ffffff9009c13994>] hdmitx_late_resume+0x1cc/0x288
[<
ffffff9009da5f30>] early_suspend_trigger_store+0x1a8/0x1d0
[<
ffffff9009640ac4>] kobj_attr_store+0x44/0x60
[<
ffffff90093973b0>] sysfs_kf_write+0x98/0xb8
[<
ffffff9009396134>] kernfs_fop_write+0x12c/0x270
[<
ffffff90092c9888>] __vfs_write+0xd8/0x268
[<
ffffff90092cae48>] vfs_write+0xd8/0x240
[<
ffffff90092ccd8c>] SyS_write+0xc4/0x148
[<
ffffff9009083f00>] el0_svc_naked+0x34/0x38
The buggy address belongs to the variable:
all_fmt_paras+0x1460/0x14a0
Memory state around the buggy address:
ffffff900a67e380: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
ffffff900a67e400: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
>
ffffff900a67e480: 00 07 fa fa fa fa fa fa 00 02 fa fa fa fa fa fa
^
ffffff900a67e500: 00 07 fa fa fa fa fa fa 00 03 fa fa fa fa fa fa
ffffff900a67e580: 00 04 fa fa fa fa fa fa 00 04 fa fa fa fa fa fa
==================================================================
Change-Id: Ie2435c031c04ac23e801cfefa80a29071c120b4f
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Yong Qin [Tue, 25 Dec 2018 03:03:01 +0000 (11:03 +0800)]
di: disable afbc on tl1 [1/1]
PD#SWPL-3413
Problem:
when playing SD/HD/VP9/H265 video, there
are 3 veritcal lines on the picture.
Solution:
disable afbc
Verify:
verified on tl1
Change-Id: I839d8f26aefdf2c71272d8d3e7bf93e4c3294491
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Jiacheng Mei [Mon, 24 Dec 2018 03:00:08 +0000 (11:00 +0800)]
amlvideo2: reduce vfq size to avoid mem out-of-bounds [1/1]
PD#SWPL-3355
Problem:
vfq size large than kmalloc mem
Solution:
reduce vfq size to kmalloc mem size
Verify:
T962X-R311
Change-Id: Ibbc0c0219d6f170b4169d76e57419cdeb354f7fe
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
Bencheng Jing [Thu, 20 Dec 2018 06:52:26 +0000 (14:52 +0800)]
amvecm: malloc local contrast to enable lc function [1/1]
PD#SWPL-3419
Problem:
enable local contrast function
Solution:
enable local contrast function
Verify:
x301
Change-Id: I6a1daa7c82224956614b4da46078efdd66424b82
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Rongjun Chen [Thu, 29 Nov 2018 10:40:14 +0000 (18:40 +0800)]
wifi: change mem size to support multi wifi [2/2]
PD#SWPL-2210
Problem:
multi wifi not support
Solution:
add multi wifi support
Verify:
ampere
Change-Id: Iea32268fd081a71a1ade00e56a2dcecd975da849
Signed-off-by: Rongjun Chen <rongjun.chen@amlogic.com>
Hong Guo [Thu, 20 Dec 2018 09:27:35 +0000 (17:27 +0800)]
arm: vrtc: add rtc function for tl1. [1/1]
PD#SWPL-3315
Problem:
can't wakeup after setting timer expire.
Solution:
add rtc funciton for tl1.
Verify:
tl1_x301, verify pass
Change-Id: I2b8e77cb90cacdde728586f873d10e5fbe52f76c
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Zhongfu Luo [Thu, 13 Dec 2018 09:57:20 +0000 (17:57 +0800)]
dts: TXL: defendkey: modify reserve memory mode [2/2]
PD#SWPL-2343
Problem:
TXL need to modify reserve memory mode
Solution:
remove defendkey reserved memory in TXL dts
Verify:
TXL skt board verify pass
Change-Id: I1d036d7f0e2cf713cb093e5f2a01e69603264664
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
nengwen.chen [Fri, 7 Dec 2018 13:41:43 +0000 (21:41 +0800)]
atv_demod: atv demod code optimization for audio [1/1]
PD#TV-1448
Problem:
1.atv demod code optimization for audio
2.amlogic-4.9-dev
Solution:
atv demod code optimization for audio
Verify:
verified by einstein
Change-Id: Ic1c6a26ef97fbaf288ae37f2761c0df83ec7cf1e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Jihong Sui [Tue, 18 Dec 2018 13:56:38 +0000 (21:56 +0800)]
deinterlace: pq: adjust pulldown setting for tl1 [1/1]
PD#SWPL-3182
Problem:
1.VLSI(Feijun) fine-tune pulldown setting for TL1, G12A/B;
2.fine tune combing_glbmot_radprat by VLSI(yanling.liu);
Solution:
finetune setting.
Verify:
tl1
Change-Id: Ie65cec8b216752600dfd54ee6be5302150282774
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Jihong Sui [Wed, 12 Dec 2018 09:02:09 +0000 (17:02 +0800)]
deinterlace: pq: add scene change detection for tl1 [1/1]
PD#TV-1361
Problem:
Add scene change detection for DM (read part),
start from TL1 by VLSI(Zheng.Bao).
Solution:
1. add control in function noise_meter_process;
2. add debug information:
cat /sys/class/deinterlace/di0/nr4_param
3. set NR2_CUE_MODE[11:10] as 3; (by feijun)
Verify:
tl1
Change-Id: Ib34d1b403539ba5fe5135d6608bfa2cf27490826
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Huan Biao [Tue, 18 Dec 2018 03:13:58 +0000 (11:13 +0800)]
arm: dts: tl1: optimize ipa parameter [1/1]
PD#SWPL-3334
Problem:
tl1 ipa coeff and power data no match test data
Solution:
tl1 ipa coeff and power data update for match chip test data
Verify:
x301 pass
Change-Id: I8005140a4ef0b87998f2f637d604db85e58e7316
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
Hanjie Lin [Tue, 18 Dec 2018 11:21:12 +0000 (19:21 +0800)]
sched: EAS: sched_energy for arm on g12b [1/1]
PD#SWPL-3316
Problem:
g12b/w400 has not sched-energy config in arm for EAS.
Solution:
port from arm64
Verify:
w400
Change-Id: I4f3ddd9d5f2abb9787ab95d6652db6cea1c54b24
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Ting Li [Fri, 30 Nov 2018 02:33:36 +0000 (10:33 +0800)]
picdec: add dts config for tl1_t962x2_x301 [1/1]
PD#SWPL-2656
Problem:
cannot play picture
Solution:
add dts config for tl1_t962x2_x301
Verify:
verify by tl1_t962x2_x301
Change-Id: I02265b33e0f2eaffc5741371ae45579effc8df47
Signed-off-by: Ting Li <ting.li@amlogic.com>
Jian Xu [Wed, 19 Dec 2018 14:07:07 +0000 (22:07 +0800)]
udio: auge: tl1 acodec mapping to data 1 [1/2]
PD#SWPL-3277
Problem:
tl1 internal codec volume can by adjusted
Solution:
configure the acodec data layout mapping
to a fixed volume
Verify:
x301
Change-Id: I14d3762b39a0a5291722ef5489026f10fc960120
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
qingwei.xu [Mon, 17 Dec 2018 09:04:57 +0000 (17:04 +0800)]
dts: Optimize ion memory to 36MB for Android P 720P Project [1/1]
PD#SWPL-3324
Problem:
Ion's memory configuration is unreasonable for Android P 720P Project
, resulting in waste.
Solution:
More reasonable memory size configuration,Optimize ion memory to 36MB
for Android P 720P Project
Verify:
Verify by Android P 720P Project
Change-Id: Ibf13989f91c1cce5e030d900de2a30b0a16f7994
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
Pengcheng Chen [Tue, 11 Dec 2018 04:55:59 +0000 (12:55 +0800)]
osd: add dd functions used phys_to_page and vmap [1/1]
PD#SWPL-3153
Problem:
remove phys_to_vir caused dd functions disable.
Solution:
add dd functions used phys_to_page and vmap
Verify:
franklin
Change-Id: Ic28ac0107adfee58933d0b19a2a7c2893c06b789
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Lei Yang [Wed, 19 Dec 2018 07:17:17 +0000 (15:17 +0800)]
hdmirx: add DRM RCV detection. [1/1]
PD#SWPL-3117
Problem:
Cannot get the HDR packets/
Solution:
add HDR RCV detection, Low priority than EMP.
Verify:
txlx tl1
Change-Id: I364fc942840b6eef465df16b89fd0a9fd0ccb3ff
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Jian Xu [Wed, 19 Dec 2018 03:19:51 +0000 (11:19 +0800)]
audio: auge: add HDMIRX SPDIF in support [1/2]
PD#SWPL-2956
Problem:
HDMI in DTS/Dolby input has noise when treated to LPCM
Solution:
By default,we are using PAO mode for HDMIRX,but we have not
enabled the PaPb search for 61937 raw data input, after add
that, we can detect the raw data, but it can not by clear when
switch from NONE-LPCM to NONE-LPCM, need add IRQ function to
clear that by sw.we enabled spdif in from HDMIRX, which is the same
design as txl/txlx.we can get the Pc information now.
also we add a new interface to set spdif in source when hdmirx input.
Verify:
x301
Change-Id: I3c4e8b387308ef862a069c29d15b8b5a9e865564
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
Yi Zhou [Tue, 18 Dec 2018 06:56:48 +0000 (14:56 +0800)]
dv: update the hsize and vsize of dv core 2 [1/1]
PD#SWPL-3223
Problem:
get parameters from vpp blend to core 2 is error
Solution:
we get the parameters from OSD blend instead vpp blend
Verify:
u212
Change-Id: I31a5e4cf90b5d665cfd291aab5554d311ec19346
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
Jian Hu [Tue, 18 Dec 2018 08:17:57 +0000 (16:17 +0800)]
clk: txl: fix gpu clock can not be changed [1/1]
PD#SWPL-2909
Problem:
The gpu clock rate can not be changed.
Solution:
1.it called meson_init_gpu function which used by txlx
in txl clock driver, change it to meson_txl_gpu_init function.
2.the /sys/kernel/debug/aml_clk/clk_test node can not work
in txl platform, Initial value for clk_numbers which needed
by clk_test driver.
Verify:
test passed on P321
Change-Id: Iade63691edf5b39325f34abb4789d48d33339329
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Lei Yang [Mon, 10 Dec 2018 10:34:06 +0000 (18:34 +0800)]
hdmirx: update the latest setting of phy. [1/1]
PD#SWPL-2803
Problem:
PHY configuration update
Solution:
1.update phy setting for low_frequency;
2.rm the useless FSM code;
3.optimize the phy configeration interfaces;
4.fix PS4 Pro flashing black&blue screen issue;
Verify:
txlx tl1
Change-Id: I0bea4fa6ec5d9284ed04845b06c3583128f3332d
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
Tao Zeng [Wed, 19 Dec 2018 03:10:51 +0000 (11:10 +0800)]
mm: close vmap stack if open KASAN [1/1]
PD#SWPL-1219
Problem:
if open KASAN, kernel can't boot.
Solution:
Close vmap if open KASAN
Verify:
p212
Change-Id: I3ad4da890aca20fe59ff99dfd55592d8e9a08f3c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
yicheng shen [Thu, 13 Dec 2018 09:12:07 +0000 (04:12 -0500)]
hdmirx: fix dvi issue when resume [1/1]
PD#SWPL-2641
Problem:
SDA of I2C was pulled down,the box cant read EDID and then send DVI.
Solution:
Add rxsense pulse to avoid mtk box sda low issue.
Verify:
Local
Change-Id: I0d3dc4b0c3b956663be1d3e383094e456f3d4e7d
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Sandy Luo [Mon, 17 Dec 2018 08:12:04 +0000 (16:12 +0800)]
dts: tl: add tuner support [1/1]
PD#OP-6
Problem:
Tuner cann't work on tl1 socket board
Solution:
add tuner in dts
Verify:
test pass on tl1 socket board
Change-Id: I49d70c3ab3c3747000faf40cd06bdb368231311e
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
Evoke Zhang [Tue, 11 Dec 2018 10:23:31 +0000 (18:23 +0800)]
arm: dts: x301 & t309: enable panel unifykey support for tvconfig [1/1]
PD#SWPL-2761
Problem:
not support tvconfig yet
Solution:
1.enable key_valid in panel dtsi
2.enable fr_auto_policy in panel dtsi
3.enable clk ss for lvds and vbyone in panel dtsi
4.also fix some coverity errors
Verify:
x301
Change-Id: I00dd5ff621cfbc3f100bbe6045a35c8f917ade29
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Blance Tang [Tue, 18 Dec 2018 02:42:43 +0000 (10:42 +0800)]
buildroot: Enable ddr_window tool [1/1]
PD#SWPL-3340
Problem:
DDR Window tool is no longer generated as a separate KO after DDR TOOL
configuration setting changed CL:41064
Solution:
Change DDR Window Tool configuration to tristate which can support
standalone KO
Enable DDR_TOOL in SmartHome default config
Verify:
Local
Change-Id: I15370cabe428a5103c1fe9b345a085822c056932
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
Jian Cao [Mon, 17 Dec 2018 06:19:16 +0000 (14:19 +0800)]
osd: need information whether current OSD is blanked or not [1/1]
PD#SWPL-3254
Problem:
need information whether current OSD is blanked or not
Solution:
add sysfs node osd_status
Verify:
verified on u212
Change-Id: Ie73417f08c648a750a881af375800aae57a48762
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
Rui Wang [Thu, 13 Dec 2018 11:52:47 +0000 (19:52 +0800)]
video: add freeze video function [1/1]
PD#SWPL-3154
Problem:
Implement video freeze
Solution:
Add freeze video function
Verify:
Test pass by r311
Change-Id: I6a3839d26ea99ead7097f20c283afe9b8103a668
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
tao zeng [Wed, 14 Nov 2018 02:29:45 +0000 (10:29 +0800)]
mm: save wasted memory by slab [1/1]
PD#SWPL-1767
Problem:
When driver/kernel call kmalloc with large size, memory may waste
if size is not equal to 2^n. For example, driver call kmalloc with
size 129KB, kmalloc will allocate a 256KB memory block to caller.
Then 127kb memory will be wasted if this caller don't free it.
Solution:
Free tail of slab memory if size is not match to 2^n. This change
can save about 900KB memory after boot, and more than 100KB during
run time.
Verify:
P212
Change-Id: Iba378792ec30003358b64384361c0f0c4c2800d8
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Zhuo Wang [Fri, 7 Dec 2018 10:13:56 +0000 (18:13 +0800)]
ethernet: resume/suspend NULL pointer [1/1]
PD#SWPL-3000
Problem:
repeat resume/suspend will NULL pointer
Solution:
use globle var
Verify:
verify in u200
Change-Id: If44e52a5907c85fb181a450af92b18fe37e09d4f
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
huaihao guo [Tue, 11 Dec 2018 13:07:12 +0000 (21:07 +0800)]
deinterlace: Add AFBC support on TL1 [1/1]
PD#SWPL-3113
Problem:
Add AFBC support on TL1
Solution:
Add AFBC support on TL1
Verify:
T962x2-x301
Change-Id: Ib4f40f6ca0cbb1553bf4f76848d1649822dda3e8
Signed-off-by: huaihao.guo <huaihao.guo@amlogic.com>
Cheng Tong [Tue, 11 Dec 2018 09:21:06 +0000 (17:21 +0800)]
dts: add LiveTv support [2/2]
PD#SWPL-3105
Problem:
dts didn't have dvb config
Solution:
add dvb dts config
defalut commented out as reference
Verify:
Verify by Android P franklin
Change-Id: I47ab10c22b32f6bfd51a0c113a692f0c5863178b
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
tao zeng [Thu, 29 Nov 2018 01:55:14 +0000 (09:55 +0800)]
ddr_bandwidth: support multi-ports config for one channel [1/1]
PD#172256
Problem:
ddr bandwidth prot config can only set 1 port for 1 channel. But
dmc controller support measure many ports on 1 channel.
Solution:
Using bit mask to support multi-ports config for one channel.
Verify:
P212
Change-Id: Iad79e6ebd6aeb74b0e31b3f1bee08de4fd557cc1
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Evoke Zhang [Wed, 12 Dec 2018 08:33:29 +0000 (16:33 +0800)]
lcd: update p2p config and pll setting for tl1 [1/1]
PD#SWPL-3108
Problem:
1. tcon pll don't support spread spectrum yet
2. no p2p parameters config
Solution:
1. add p2p config parameters
2. enable tl1 clk parameters auto generate
3. add tl1 tcon_pll spread spectrum support
4. update clk spread spectrum api:
set ss_level(hex val):
echo level <val> >/sys/class/lcd/ss
set ss_freq(hex val):
echo freq <val> >/sys/class/lcd/ss
set ss_mode(hex val):
echo mode <val> >/sys/class/lcd/ss
set ss advance(hex val, [15:12]=mode, [11:8]=freq, [7:0]=level):
echo <val> >/sys/class/lcd/ss
show ss_level, ss_freq, ss_mode:
cat /sys/class/lcd/ss
Verify:
x301
Change-Id: I99eeca84290403fe766b17673ba9b0f7429fae26
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Bencheng Jing [Sat, 15 Dec 2018 10:03:20 +0000 (18:03 +0800)]
amvecm: fix platform boot failed [1/1]
PD#SWPL-3276
Problem:
platform boot failed except TL1
Solution:
protect LC register read and Write
Verify:
R311&P321
Change-Id: I9b93a1c28cdef43db8f1c5ad46bd6597bc62a1bc
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Jian Xu [Thu, 13 Dec 2018 14:57:23 +0000 (22:57 +0800)]
audio: dts: config tdmb/spdif continuous clk to fix spdif no clk issue [1/1]
PD#SWPL-2491
Problem:
HDMI output no sound when system boot up
Solution:
When system bootup,there is no sound,Checked the issue, pcm_write always fail,
cat /d/aml_clkmsr/clkmsr ,[120][ 6000000]audio_spdifout_mst_clk.
the spdif has no clock.Seems after enable same source, the spdifa clock
is not configured correctly. now configure that to continous clock.
TBD, need check the root cause in alsa kernel code.
Verify:
verify by galilei, reboot 20 times.
Change-Id: I0c50c71d2436894d63b83d4040a77a8a9aa6977c
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
Bencheng Jing [Mon, 10 Dec 2018 09:07:06 +0000 (17:07 +0800)]
amvecm: add local contrast iir SW algorithm [1/1]
PD#SWPL-2587
Problem:
local contrast SW algorithm
Solution:
add local contrast SW iir algorithm support
Verify:
x301
Change-Id: I8c80ce3fa5252585d5dd4a15e72beb9c0bfd5d7f
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Qiufang Dai [Fri, 14 Dec 2018 09:19:28 +0000 (17:19 +0800)]
suspend: remote: do not do suspend action under freeze mode [1/1]
PD#SWPL-2399
Problem:
Miss IR (power) key value when wakeup from freeze.
Solution:
Do not suspend/resume IR device under freeze mode
Verify:
x301_tl1
Change-Id: I7bdf0b847fa1a8b96bb2896426e15faf8143e820
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
zhiqiang liang [Thu, 13 Dec 2018 08:53:27 +0000 (16:53 +0800)]
suspend: power: plug off the secondary cpus for freeze mode [1/1]
PD#SWPL-2399
Problem:
freeze mode can not kill the secondary cpus
Solution:
move the cpu kill function before the freeze function
Verify:
tl1 test success
Change-Id: I1da7cb8bcd800b8372fd152490eadd4ef3866ece
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
Xuhua Zhang [Thu, 13 Dec 2018 08:41:49 +0000 (16:41 +0800)]
tvin: vdin: vdin add afbce write back to memory interface [1/1]
PD#SWPL-3200
Problem:
vdin add afbce need more debug method.
Solution:
vdin add read_pic_afbce debug interface
Verify:
TL1 X301
Change-Id: I45a741ba20409dc25b41ce316b0df0dce9d2dc28
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Xuhua Zhang [Thu, 29 Nov 2018 06:28:43 +0000 (14:28 +0800)]
tvin: vdin: fix vdin CMA layout adaptation [1/1]
PD#SWPL-2526
Problem:
1.CMA layout adaptation cause crash
2.vdin buff dump error
3.read_pic error
Solution:
1.codec mm has be moved to high memory area,
we should map memory use vmap.
2.make vdin high mem and low mem to be compatible
when we dump vdin buff.
3.fix read_pic bug.
Verify:
TXLX R311
Change-Id: I90e4f46ba91d38c6ce0f8bfd65b5c22e6be3b83f
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Xuhua Zhang [Thu, 13 Dec 2018 09:16:31 +0000 (17:16 +0800)]
tvin: vdin: vdin afbce fix header size bug [1/1]
PD#SWPL-3208
Problem:
vdin afbce scaler, display abnormal.
Solution:
fix afbce header size problem.
Verify:
TL1 X301
Change-Id: I461b4aa809ceddbe18cf7f6f49e8152b43b86076
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
Brian Zhu [Wed, 12 Dec 2018 15:39:15 +0000 (23:39 +0800)]
tb_detect: add external canvas config when multi-dec source [1/1]
PD#IPTV-52
Problem:
vframe from multi-dec has no canvas index
Solution:
use external canvas index for vframe from multi-dec
Verify:
verified by u211
Change-Id: I767f86e492cddb9cc054c048de7078d2f6b85d33
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
Shunzhou Jiang [Tue, 27 Nov 2018 02:15:00 +0000 (10:15 +0800)]
clk: tl1: fix sys_pll overflow in 32bit system. [1/1]
PD#SWPL-2830
Problem:
sys_pll value overflow
Solution:
round pll div 1000
Verify:
TL1 SKT
Change-Id: Ia707be9aa6d22366b6da032739b8432602d21698
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Evoke Zhang [Wed, 12 Dec 2018 04:42:22 +0000 (12:42 +0800)]
arm: dts: t309: enable tcon od memory support [1/1]
PD#SWPL-3130
Problem:
t309 don't support tcon od default
Solution:
add tcon od memory support
Verify:
t309
Change-Id: I0aeaed65dfe9ca138c7f3035d5d505598e10c1d6
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
yicheng shen [Thu, 13 Dec 2018 06:28:35 +0000 (01:28 -0500)]
hdmirx: fix hdcp2.2 cant work after resume issue [1/1]
PD#SWPL-3187
Problem:
hdcp2.2 cant work after resume
Solution:
Update ESM hard reset handle
Verify:
Local
Change-Id: If8e94db2c2882896b547410537652056bc902f47
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Kaifu Hu [Fri, 30 Nov 2018 08:00:08 +0000 (16:00 +0800)]
hdmitx: default set frac_rate_policy to 1 [1/1]
PD#SWPL-1955
Problem:
The /sys/class/amhdmitx/amhdmitx0/frac_rate_policy is 0 when
uboot not contain frac_rate_policy
Solution:
Default set frac_rate_policy to 1
Verify:
T962e/R321
Change-Id: Ifff2dbaeef0a3012a730d14405963d994f3eeed3
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
Bichao Zheng [Tue, 11 Dec 2018 02:59:09 +0000 (10:59 +0800)]
gpio-led: g12b: add system led control for w400 [2/2]
PD#SWPL-3008
Problem:
g12b_w400 need add led control
Solution:
Add system led control for w400
Verify:
g12b_w400
Change-Id: I7b27af95c92f06bb0ca89e00aeccc65f398dad70
Signed-off-by: Bichao Zheng <bichao.zheng@amlogic.com>
Yonghao Jiao [Wed, 12 Dec 2018 15:03:03 +0000 (23:03 +0800)]
audio: add tas5805 [1/1]
PD#SWPL-3081
Problem:
compatiable tas5805 module
Solution:
add tas5805 drivers
Verify:
T962X2
Change-Id: I3608e47fe768af0f924751a8bcc103389d0811de
Signed-off-by: Yonghao Jiao <yonghao.jiao@amlogic.com>
Zhongfu Luo [Thu, 13 Dec 2018 09:06:23 +0000 (17:06 +0800)]
dts: GXL: defendkey: modify reserve memory mode [2/2]
PD#SWPL-2100
Problem:
GXL need to modify reserve memory mode
Solution:
remove defendkey reserved memory in GXL dts
Verify:
GXL skt board verify pass
Change-Id: Ie5ed01c6dd8f88c5594d6bc73f13282e535071a2
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Zhiwei Yuan [Wed, 12 Dec 2018 12:48:20 +0000 (20:48 +0800)]
dtv_demod: "No signal" is seen when video is playing [1/1]
PD#SWPL-3019
Problem:
Unplug the DTV signal, then do AC off then on, enter DTV source, plug the DTV signal, then change channel, the current channel will display abnormally, the video will display with "no signal" together
Solution:
sync the signal status(using read sts interface) with tuning result
Verify:
verified by T962-P321-DDR4
Change-Id: I3ba01dc976c40391f3f305a3754632d2cccfd571
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
MingLiang Dong [Tue, 11 Dec 2018 09:16:24 +0000 (04:16 -0500)]
amvecm: add color primary get ioctrl [1/1]
PD#TV-1463
Problem:
new interface
Solution:
add color primary get ioctrl
Verify:
verify on TL1
Change-Id: I0d4880b6a224be153e80b3eeb11bb5a0352f9ed5
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Shuyu Li [Wed, 12 Dec 2018 08:25:47 +0000 (16:25 +0800)]
audio: auge: The recorded data L/R channel has 7.5 degree phase diff [1/1]
PD#SWPL-3145
Problem:
The L/R channel has 7.5 degree phase diff
Solution:
Change reg_tdmin_in_rev_ws of EE_AUDIO_TDMIN_X_CTRL 1->0
Verify:
Verify by T962x2_X301 board
Change-Id: I6ca624db10ff96481dd7f413d9f184aeee8c95b3
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
Zhiwei Yuan [Wed, 12 Dec 2018 07:10:14 +0000 (15:10 +0800)]
dtv_demod: TL1,dtmb,change frequency,show "no signal" at first [1/1]
PD#SWPL-3025
Problem:
Different frequency channel switch, the channel first pops up "no signal" and then displays the channel
Solution:
do dtmb sw reset before re-tune
Verify:
verified by t962x2_x301
Change-Id: Ibc14de37f2f3f6b07af4d125e9fb58dd308e61c4
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
Zhongfu Luo [Fri, 7 Dec 2018 12:14:50 +0000 (20:14 +0800)]
dts: G12B: defendkey: support secure upgrade check [3/3]
PD#SWPL-2348
Problem:
G12B need to support secure upgrade check
Solution:
add defendkey support in all G12B dts
Verify:
G12B skt board verify pass
Change-Id: I2c3f51e761531cf2169dda483991b3d876039686
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
MingLiang Dong [Tue, 11 Dec 2018 10:37:04 +0000 (05:37 -0500)]
hdr: Enable default output to HDR for HDR TV [1/1]
PD#SWPL-3096
Problem:
G12A/G12B need enable sdr2hdr
Solution:
enable sdr2hdr function
Verify:
verify on G12A
Change-Id: I1e771a13d33fe675cfc36d8308afc37077545cd4
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
Chao Liu [Thu, 13 Dec 2018 06:19:31 +0000 (14:19 +0800)]
dts: add the attestationkeybox of unifykey for dts files missing this node [1/1]
PD#SWPL-3189
Problem:
some boards can't write attestationkeybox.
Solution:
add the attestion node.
Verify:
txl_t962_p321_720p
Change-Id: Ic57fb00a4174f2d3d67bd8861710b6d9a560eaa2
Signed-off-by: Chao Liu <chao.liu@amlogic.com>
Zongdong Jiao [Thu, 13 Dec 2018 05:31:27 +0000 (13:31 +0800)]
hdmitx: fix a resmue panic isse [1/1]
PD#SWPL-3188
Problem:
When HDMI cable is not connected(that is CVBS out), and system
may be panic after resume.
Solution:
Add NULL pointer protection check
Verify:
P212
Change-Id: I60818faaf7049667501e31990fa557b754ea7f1b
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
Pengguang Zhu [Fri, 12 Oct 2018 11:46:00 +0000 (19:46 +0800)]
board: get ao_register_base from dts [1/1]
PD#SWPL-3203
Problem:
android P can not boot up on G12A with 32bit kernel
Solution:
get register base from dts
Verify:
Local
Change-Id: Ifb3163a867c1c8ed4f8c344d064cead216334773
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
keke.li [Tue, 27 Nov 2018 05:54:21 +0000 (13:54 +0800)]
gdc: add a convert function to map dma address [1/1]
PD#SWPL-2157
Problem:
gdc module need to get dma address directly
Solution:
add a convert function to map dma address
Verify:
g12b
Change-Id: I1d40350e4727335d1f69f38caafb1dfe7b0db842
Signed-off-by: Keke Li <keke.li@amlogic.com>
Zhongfu Luo [Fri, 7 Dec 2018 10:14:38 +0000 (18:14 +0800)]
dts: TXLX: defendkey: support secure upgrade check [3/3]
PD#SWPL-2344
Problem:
TXLX need to support secure upgrade check
Solution:
add defendkey support in all TXLX dts
Verify:
TXLX skt board verify pass
Change-Id: Ice348161f0a01698bc40e9fb291d1020f478b1fa
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
Tao Zeng [Wed, 12 Dec 2018 06:37:26 +0000 (14:37 +0800)]
mm: fix suspend crash on u200 [1/1]
PD#SWPL-1219
Problem:
When open vmap stack, suspend will fail on U200. If open cpu idle,
resume from idle will fail too.
Solution:
set up vmap stack early before open IRQ. If set up this stack late
than IRQ open, stack will point to a ramdom address
Verify:
u200
Change-Id: Ie60f6faadf9afece47ccc887a0af46814f070897
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
Yingyuan Zhu [Tue, 11 Dec 2018 08:37:32 +0000 (16:37 +0800)]
watchdog: Change the feed watchdog mode [1/1]
PD#SWPL-2378
Problem:
Using Android to feed watchdog is not easy to debug the
crash problem, in addition, the Android does not open
the dog feeding service.
Solution:
Change the DTS configuration and change into driver feed watchdog.
Verify:
test pass on g12a-u200
Change-Id: Ie0a91fd8451fdccf3038ba6290a277c9048c52cd
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
Jiamin Ma [Wed, 12 Dec 2018 09:37:01 +0000 (17:37 +0800)]
debug: show pfn info when undefined instr happens at user space [1/1]
PD#SWPL-3076
Problem:
Lack of debug infos when undefined instr happens at user space
Solution:
Call show_all_pfn when undefined instr happens at user space
Verify:
Locally on ampere
Change-Id: Id24e797c2781c94c507ad07ec17a3d4ae7d44cd9
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
nengwen.chen [Mon, 10 Dec 2018 12:06:41 +0000 (20:06 +0800)]
atv_demod: reduce atv demod debug info when searching. [1/1]
PD#SWPL-2712
Problem:
reduce atv demod debug info when searching.
Solution:
reduce atv demod debug info when searching.
Verify:
verified by r311
Change-Id: I01f1cebabdacdea4bb7695c2133b99157d8db19d
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Sandy Luo [Wed, 12 Dec 2018 09:08:31 +0000 (17:08 +0800)]
dts: sync difference between arch32 and arch64 [1/1]
PD#SWPL-959
Problem:
sync arch32 and arch64 dts.
Solution:
sync arch32 and arch64 dts.
Verify:
r311
Change-Id: Id411e7dddad0491b16149fe33847e9e282d81a97
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
Shuyu Li [Mon, 10 Dec 2018 08:47:24 +0000 (16:47 +0800)]
audio: codec: the DAC gain set of acodec not work [1/1]
PD#SWPL-3134
Problem:
the DAC gain set is not work
Solution:
update and aml_codec_tl1_acodec.c, change the method of
getting codec pointer from kcontrol pointer.
Verify:
verify by T962x2_X301 board
Change-Id: I02f02b73fab3b8391ef4866a71ffaf0d48bbbbbf
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
Huan Biao [Wed, 12 Dec 2018 07:33:23 +0000 (15:33 +0800)]
arm: dts: tl1: optimize ipa parameter [1/1]
PD#SWPL-3140
Problem:
tl1 ipa coeff and power data no match test data
Solution:
tl1 ipa coeff and power data update for match chip test data
Verify:
tl1 x301 pass
Change-Id: Idcf1cf7c317e0b3ebb0becb057b4c8fa35e64a62
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
liangzhuo.xie [Fri, 23 Nov 2018 02:36:11 +0000 (10:36 +0800)]
dts: add video11 and video12 for screenrecord [2/6]
PD#SWPL-209
Problem:
add screenrecord function
Solution:
add video11 and video12 for screenrecord
Verify:
verify by t962_p321
Change-Id: I0d33d9d01704b6fe6e5c7dbeccb1fb2be68904b3
Signed-off-by: liangzhuo.xie <liangzhuo.xie@amlogic.com>
nengwen.chen [Mon, 12 Nov 2018 12:44:35 +0000 (20:44 +0800)]
dtv_demod: DTV search menu does not have ISDB-T entry [4/6]
PD#SWPL-1664
Problem:
DTV search menu does not have ISDB-T entry
Solution:
add ISDB-T system support.
Verify:
verified by einstein
Change-Id: Ie0bdc988d53256487e24c3123320b50f2a58cdf3
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Jian Xu [Tue, 11 Dec 2018 06:48:14 +0000 (14:48 +0800)]
audio: codecs: fix TL1 reference board volume too small [2/2]
PD#SWPL-2652
Problem:
X301/T309 AMP volume configured to small
Solution:
change the default external AMP codec mixer name to a match
the ini parsing function in audio hal.
TODO: need dynamically check the different codec mixer name
in ini file.
Verify:
verify by x301
Change-Id: Iba835d37ea02bec3095556d54fbf327bd6390904
Signed-off-by: Jian Xu <jian.xu@amlogic.com>
he.he [Tue, 20 Nov 2018 05:57:37 +0000 (13:57 +0800)]
usb: adb panic [1/1]
PD#SWPL-2678
Problem:
adb panic in release_ffs_buffer
Solution:
1.when kzalloc data_ep use GFP_ATOMIC instead of GFP_KERNEL
and keep spin lock protection.
2.check buffer_temp->data_ep == NULL, return
Test: adb push
Verify:
verified by he he
Change-Id: I3402b17d62b8a0ef4e3185a87729a0c3e87449e9
Signed-off-by: he.he <he.he@amlogic.com>
Bencheng Jing [Thu, 6 Dec 2018 08:53:17 +0000 (16:53 +0800)]
pq: fix sr registers load fail on txl [1/1]
PD#SWPL-2941
Problem:
sr top ctrl is closed when video off
Solution:
txl and txl sr top don't close
Verify:
TxL
Change-Id: Ia8e7e3bd93dd328497af66cf9758e3021cafe22c
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
Evoke Zhang [Fri, 23 Nov 2018 05:10:06 +0000 (13:10 +0800)]
lcd: add od support for tl1 tcon [1/1]
PD#SWPL-2759
Problem:
need over-driver function for tl1 tcon
Solution:
add tcon cma memory and od setting support
Verify:
x301
Change-Id: I926d221fef3317be8b3879a35298035ac9babcce
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Wenfeng Guo [Fri, 7 Dec 2018 08:12:00 +0000 (16:12 +0800)]
deinterlace: open pulldown_enable debug node [1/1]
PD#SWPL-3003
Problem:
pulldown_enable constraintd by DEBUG_SUPPORT
Solution:
open pulldown_enable debug node
Verify:
TL1
Change-Id: Ib0a39a718f5e0f171bf9c1d850912bf4afa6a9d5
Signed-off-by: Wenfeng Guo <wenfeng.guo@amlogic.com>
Evoke Zhang [Wed, 31 Oct 2018 05:52:37 +0000 (13:52 +0800)]
backlight: ldim: add fault reset handle for iw7027 [1/1]
PD#SWPL-1161
Problem:
sometims iw7027 work failure, need reset to recovery
Solution:
add reset handler triggered by fault pin
Verify:
txlx r311
Change-Id: I9c65f0b982ac5e52ff9bd5e43f9df516df2af184
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Evoke Zhang [Mon, 10 Dec 2018 06:08:48 +0000 (14:08 +0800)]
vpp: update ofifo vs_pol config for tl1 [1/1]
PD#SWPL-3049
Problem:
vpp ofifo positive vs_pol can't fit all the display situation
Solution:
change vpp ofifo vs_pol to negative
Verify:
x301
Change-Id: I539c3514c0f3638a9d90c9c4a71a6c9863dac79a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
tao zeng [Wed, 7 Nov 2018 08:51:50 +0000 (16:51 +0800)]
mm: optimize stack usage for functions [1/1]
PD#SWPL-1773
Problem:
After adding optimization of vmap stack, we can found stack usage
of each functions when handle vmap fault. From test log we see some
functions using large stack size which over 256bytes. Especially
common call path from fs. We need to optimize stack usage of these
functions to reduce stack fault probability and save stack memory
usage.
Solution:
1. remove CONFIG_CC_STACKPROTECTOR_STRONG and set STACKPROTECTOR to
NONE. This can save stack usage add by compiler for most functions.
Kernel code size can also save over 1MB.
2. Add some noinline functions for android_fs_data rw trace calls. In
these trace call it allcated a 256 bytes local buffer.
3. Add a wrap function for mem abort handler. By default, it defined a
siginfo struct(size over 100 bytes) in local but only used when fault
can't be handled.
4. reduce cached page size for vmap stack since probability of page
fault caused by stack overflow is reduced after function stack usage
optimized.
Monkey test show real stack usage ratio compared with 1st vmap
implementation reduced from 35% ~ 38% to 26 ~ 27%. Which is very
close to 25%, theory limit.
Verify:
P212
Change-Id: I5505cacc1cab51f88654052902852fd648b6a036
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
Jihong Sui [Fri, 7 Dec 2018 02:40:26 +0000 (10:40 +0800)]
deinterlace: pq: adjust cue setting for tl1 [1/1]
PD#SWPL-2984
Problem:
VLSI(yanling.liu) fine-tune cue setting for TL1.
Solution:
add new setting.
Verify:
tl1
Change-Id: I99c32d994687650dc851dd2fb8c0464e8ffd21b5
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
Pengcheng Chen [Tue, 11 Dec 2018 09:23:43 +0000 (17:23 +0800)]
osd: remove phys_to_vir to prevent crash on the 32bit & 2G boadr [1/1]
PD#SWPL-3079
Problem:
phys_to_vir in height mem rw caused crashed.
Solution:
remove phys_to_vir(dd funs not work)
Verify:
tl1
Change-Id: Ic9679471a51974cabf84b61efe90c88e845d01ea
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
Hongmin Hua [Tue, 11 Dec 2018 06:03:04 +0000 (14:03 +0800)]
cec: add the port map for connect status [1/1]
PD#SWPL-3010
Problem:
the arc can't work
Solution:
add the port map for connect status
Verify:
verified on darwin
Change-Id: I9f886c35de8670acdc431185bb26aa1836a8c150
Signed-off-by: Hongmin Hua <hongmin.hua@amlogic.com>
Yi Zeng [Mon, 10 Dec 2018 07:57:18 +0000 (15:57 +0800)]
nand: fix the free-node leak in rsv manager [1/1]
PD#SWPL-2776
Problem:
did not release the free node of rsv information
Solution:
release free node and set bit mask in right way
Verify:
S400
Change-Id: I781f2374b91ca1e7cd1a66e75fc554318737c377
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
Ruixuan Li [Mon, 3 Dec 2018 07:21:30 +0000 (15:21 +0800)]
emmc: modify device node name [1/1]
PD#SWPL-2719
Problem:
Can't idetify correctlly when move disk have multi
partition
Solution:
Remove the function of using the partition name as
the device node name
Verify:
test pass on tl1 ref board
Change-Id: I113e63f209c529149fb94b0bb10b0b254717c2bf
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
Jian Cao [Fri, 7 Dec 2018 09:46:36 +0000 (17:46 +0800)]
video: fix picdec coverity error [1/1]
PD#SWPL-2797
Problem:
fix picdec coverity error
Solution:
solve picdec coverity issues
Verify:
verified on P212
Change-Id: Iee0a7beb3fbf8382e9dd4207075df85171ed62ae
Signed-off-by: Jian Cao <jian.cao@amlogic.com>