Commit Graph

648499 Commits

Author SHA1 Message Date
Brian Zhu
7fa6dca095 vpp: sr: disable core0 and core1 scaler latch [1/1]
PD#SWPL-3144

Problem:
The latch function cause the super scaler size asynchronous

Solution:
Disable sr core0 and core1 scaler latch

Verify:
T962x2 x301 board test pass

Change-Id: Iecbcc3e0c751093b6515f7b46973eca2157cd349
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-12-26 17:40:48 -08:00
Shaochan Liu
051bce8e76 backlight: add backlight pwm debug node for tvapi [1/1]
PD#SWPL-3110

Problem:
add backlight pwm debug node for tvapi

Solution:
1,change pwm node for pwm main parameters(duty, freq, pol)
2,add pwm_info node to display all pwm state

Verify:
verified by t962x_r311

Change-Id: Ibd9575412ca9704a0002073679d19c5426c1838c
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2018-12-26 03:07:02 -08:00
Evoke Zhang
63df857c2b backlight: ldim_global demo can't power on [1/1]
PD#SWPL-3293

Problem:
select UHD_2RG_LDIM model_name,
then the backlight can't power on.

Solution:
fix ldim dev_drv add mistake

Verify:
r311

Change-Id: I7f86d6072524a2a6399a8259dae8c27a89a79b85
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-12-26 03:05:42 -08:00
Zongdong Jiao
9d7934185a 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>
2018-12-26 03:05:01 -08:00
Xingyu Chen
204b84c596 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>
2018-12-25 21:49:14 -08:00
Dianzhong Huo
af94e60e20 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>
2018-12-25 20:34:15 -08:00
yujie.wu
0b2a1aa749 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>
2018-12-25 18:03:24 -08:00
Nian Jing
217863b22e 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>
2018-12-25 18:00:00 -08:00
Tao Zeng
f79f520dc8 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>
2018-12-25 17:56:28 -08:00
Xingyu Chen
18c6676f26 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>
2018-12-25 17:55:28 -08:00
Yong Qin
315f6d3cda 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>
2018-12-25 17:53:19 -08:00
Yeping Miao
82f55ee1d0 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>
2018-12-25 17:49:51 -08:00
Tao Zeng
a5c1db99be 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>
2018-12-25 03:20:00 -08:00
Shaochan Liu
eaa03aed7b 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>
2018-12-25 03:16:46 -08:00
Shaochan Liu
7297536e1d 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>
2018-12-25 03:15:42 -08:00
Qianggui Song
6c8aecf093 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>
2018-12-25 03:14:28 -08:00
Shaochan Liu
f0f521cf4e 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>
2018-12-25 03:13:19 -08:00
Tao Zeng
a071a5bbb8 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>
2018-12-25 03:11:35 -08:00
Huan Biao
97f2a10eda 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>
2018-12-25 03:09:24 -08:00
Zongdong Jiao
300909bdb4 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>
2018-12-25 02:09:31 -08:00
Yong Qin
e67d2603a3 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>
2018-12-25 11:07:15 +08:00
Jiacheng Mei
eb0eede67b 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>
2018-12-24 02:00:29 -08:00
Bencheng Jing
cc667d68df 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>
2018-12-23 18:18:27 -08:00
Rongjun Chen
7a2c0b0462 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>
2018-12-23 18:17:57 -08:00
Hong Guo
cae25cc6b6 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>
2018-12-21 00:53:48 -08:00
Zhongfu Luo
395a6b3f25 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>
2018-12-20 23:01:21 -08:00
nengwen.chen
1a145397a1 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>
2018-12-20 06:38:24 -08:00
Jihong Sui
6da22c92ce 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>
2018-12-20 06:36:11 -08:00
Jihong Sui
92eb8a32b6 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>
2018-12-20 06:35:48 -08:00
Huan Biao
96c0580dc9 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>
2018-12-20 03:20:59 -08:00
Hanjie Lin
6ebec695c8 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>
2018-12-20 03:15:18 -08:00
Ting Li
089fd4754a 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>
2018-12-20 03:02:36 -05:00
Jian Xu
8406ddbfe6 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>
2018-12-19 23:26:58 -08:00
qingwei.xu
fce4c41b3a 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>
2018-12-19 23:17:05 -08:00
Pengcheng Chen
2d82eff6fe 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>
2018-12-19 22:46:53 -08:00
Lei Yang
73536ef3f3 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>
2018-12-19 22:42:33 -08:00
Jian Xu
b315b2ba0b 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>
2018-12-19 02:47:18 -08:00
Yi Zhou
8dfdb019ef 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>
2018-12-19 02:46:51 -08:00
Jian Hu
3bd6e4d90f 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>
2018-12-19 01:37:51 -08:00
Lei Yang
88f482c169 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>
2018-12-18 22:35:20 -08:00
Tao Zeng
8617565bd5 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>
2018-12-19 11:10:51 +08:00
yicheng shen
6728638fb5 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>
2018-12-18 04:16:40 -08:00
Sandy Luo
65079d0617 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>
2018-12-18 03:01:40 -08:00
Evoke Zhang
5cf49b37b6 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>
2018-12-18 02:39:39 -08:00
Blance Tang
dbdb5bcdeb 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>
2018-12-18 00:42:08 -08:00
Jian Cao
98f06d2312 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>
2018-12-18 00:41:37 -08:00
Rui Wang
826888e346 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>
2018-12-17 23:57:02 -08:00
tao zeng
6af3c846c0 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>
2018-12-17 23:10:21 -08:00
Zhuo Wang
1b264ff233 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>
2018-12-17 18:30:17 -08:00
huaihao guo
934bb7625e 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>
2018-12-17 06:41:56 -08:00