Commit Graph

648484 Commits

Author SHA1 Message Date
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
Cheng Tong
6e887c657e 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>
2018-12-17 02:50:54 -08:00
tao zeng
246b70b736 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>
2018-12-16 22:50:12 -08:00
Evoke Zhang
7b2f0e9f48 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>
2018-12-16 22:32:09 -08:00
Bencheng Jing
d322b8700b 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>
2018-12-16 18:26:44 -08:00
Jian Xu
d50af9127d 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>
2018-12-15 10:54:22 +08:00
Bencheng Jing
cc96f0b425 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>
2018-12-14 03:03:53 -08:00
Qiufang Dai
c6412a36ec 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>
2018-12-14 01:39:17 -08:00
zhiqiang liang
40bbd6e3ad 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>
2018-12-14 01:31:51 -08:00
Xuhua Zhang
1fef799b9d 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>
2018-12-14 00:52:29 -08:00
Xuhua Zhang
482e11b95d 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>
2018-12-14 00:52:18 -08:00
Xuhua Zhang
87d67d8a20 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>
2018-12-14 00:50:35 -08:00
Brian Zhu
af6dc43213 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>
2018-12-14 00:14:53 -08:00
Shunzhou Jiang
ff110c4b58 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>
2018-12-14 00:13:08 -08:00
Evoke Zhang
dd435bee5f 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>
2018-12-13 23:55:56 -08:00
yicheng shen
47966923ad 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>
2018-12-13 23:55:14 -08:00