Commit Graph

648527 Commits

Author SHA1 Message Date
Shaochan Liu
f1b211396d lcd: modify lcd/power show debug node [1/1]
PD#SWPL-1005

Problem:
modify lcd/power show debug node

Solution:
1,modify lcd/power node to show lcd power on/off

Verify:
verified by t962x_r311

Change-Id: Ic2b293ac14a3139b572a2e36ac101f9f54da2139
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2018-12-30 01:21:58 -08:00
Lifeng Cao
7de4b8f887 video: dv: Change omx pts upper and lower threshold for dv [3/3]
PD#SWPL-2465

Problem:
DV av-sync test diff between audio and video too big

Solution:
Change omx pts upper and lower threshold

Verify:
Test pass by S905X2-U212

Change-Id: I916773300b29a9b6368d7e2283effae2a6440d14
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
2018-12-30 01:19:32 -08:00
Xing Wang
3ef4f47864 audio: fix no sound when atv switch to other source [1/1]
PD#SWPL-3440

Problem:
ATV switch to other source, such as DTV/HDMI/AV, no sound

Solution:
ATV switch to other source, atv demond is disabled when
audio is reading data, so it's blocked.
In normal, ATV sends audio data to FRATV,
then FRATV sends data to audio fifo, then to DDR.
If ATV stops to send audio data, no interrupt from FRATV to fifo,
no data is updated to DDR.
When exit from audio atv patch, it's a block signal to
wait in_read finished, but ATV is disabled
TimeCheckThread will check any routine is blocked,
if there is one, signal SIGABRT would rise and cause audio server restart
So we  make a delay before ATV is disabled to waiting audio data is readed.

Verify:
x301

Change-Id: I47dc88d2c8565c16c739ffea69a88152fa4d5f13
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-12-30 01:19:11 -08:00
Guosong Zhou
3d6b46385a camera: add dvp camera [1/1]
PD#OTT-1204

Problem:
don't support dvp camera

Solution:
add dvp camera gc2145 camera driver

Verify:
test pass on U200

Change-Id: I0451160d013cd15b32a11469926fe8be4c35c466
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2018-12-29 07:06:28 -08:00
Xing Wang
8565ac393d audio: auge: add vad driver [1/1]
PD#SWPL-2404

Problem:
VAD for wake up

Solution:
Add vad driver to fetch VAD buffer and ALSA buffer, in userspace, they
will be combined for wakeup engine

Verify:
x301

Change-Id: I3b4de5fdfe173ce18e58a187a3adeda601e226b3
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-12-29 02:33:49 -08:00
Yao.Liu
4e595a1c97 ion: add invalid cache function [1/1]
PD#SWPL-3736

Problem:
H265 encoder use ge2d to do format convert, ge2d dst
buffer is allocated from ion heap and is cached buffer.
The cache consistency problem caused encoded stream error.

Solution:
ION add invalid cache function, invalid cache before
CPU access cache buffer

Verify:
U212

Change-Id: Ib14f2a9ee5b536c3546c5957fd0505cacae45f80
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
2018-12-29 01:01:07 -08:00
Zhongfu Luo
23640f8e1a defendkey: change defendkey read function process [1/1]
PD#SWPL-3204

Problem:
GXL: need to fix bug for defendkey read function

Solution:
1.change defendkey read function process

Verify:
GXL skt board verify pass

Change-Id: I61c7e7074eefa1ab20bdb8fa31f970b39bfe5a1b
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2018-12-29 13:12:08 +08:00
Zhongfu Luo
5e4a917274 defendkey: change defendkey reserved memory process [1/1]
PD#SWPL-3706

Problem:
GXL: defenkey cause system crash

Solution:
1.change defendkey reserved memory process
2.limit reserved memory region

Verify:
GXL skt board verify pass

Change-Id: I23c6fe861803de96eccec9b643824eeae2c2e564
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2018-12-28 06:44:24 -08:00
Nanxin Qin
2f92c8f8b6 codec_mm: add the flush cache away for the highmem [1/1]
PD#SWPL-3588

Problem:
bad using virt_to_pfn in stream_input ko

Solution:
add the flush cache away for the highmem.

Verify:
p212

Change-Id: I70fd18f97b5b91c9154b7eeb9f488d16113daf8d
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2018-12-28 04:27:09 -08:00
Nian Jing
2afb3d7ce4 tvafe: fix black border for atv [1/1]
PD#SWPL-3573

Problem:
appear black border after unplug/plug signal

Solution:
reset de when nosignal
restore acd hsync when signal unstable

Verify:
verified by x301

Change-Id: Ia9e2e9dfb326061bd3b9b6f9a02be0d935cdf06f
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-12-28 03:55:39 -08:00
Xing Wang
029980f85f audio: codec: fix to resume ad82584's volume after suspend [1/1]
PD#SWPL-3456

Problem:
1) After suspend, volume is not resume
2) ARC connected, still sound out from spk

Solution:
1) save channel volume when suspend, then resume the volume
2) add mute mixer control for ad82584

Verify:
x301

Change-Id: Ic6e7502e3f9689cc2d1053295f26aaf4d5be2603
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-12-28 03:55:11 -08:00
rongrong zhou
f4761444c4 dts: add netflix MGKID unify key [3/3]
PD#SWPL-2847

Problem:
    add netflix MGKID support

Solution:
    add netflix MGKID support

Verify:
    ampere NTS

Change-Id: I7bf7f7b7527a36dc7b50f1a98bdb5d0a60af8741
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2018-12-28 03:53:27 -08:00
Xuhua Zhang
f2ebaf336a bt656: fix bt656 bugs [1/1]
PD#OTT-1022

Problem:
bt656 can not work well.

Solution:
1. add clock control
2. fix bt656 id bug

Verify:
G12A U200

Change-Id: I2aaecee33fd590497d5a11cf3618fc07264f02a5
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-12-27 22:02:45 -08:00
Evoke Zhang
8ea6696c00 lcd: update panel parameters for tl1 [1/1]
PD#SWPL-3109

Problem:
tl1 tcon parameters need update

Solution:
1.update tcon parameters for tl1
2.add minilvds support

Verify:
x301

Change-Id: Ia9c1defb25f43b2b352400e2ab55c6a74b55d688
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-12-27 22:01:51 -08:00
Jian Hu
6a2ad57c56 clk: g12a: add bt656 clock [1/1]
PD#SWPL-3359

Problem:
the bt656 clocks were missing

Solution:
1.add bt656 clocks
2.fix several errors for media clocks

Verify:
test passed on u200

Change-Id: Iff69e790c78335930d6b2ea54f7544aca464e1fb
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-12-27 21:47:21 -08:00
Hanjie Lin
920f5a2654 dts: fix g12b energy-cost config error [1/1]
PD#SWPL-1007

Problem:
g12b a53 core energy-cost config is error.

Solution:
modify with right cost value

Verify:
w400

Change-Id: I1ffba5b147879a4178f255247f338b594e440eed
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2018-12-27 20:46:23 -08:00
Pengcheng Chen
91b79d9483 osd: the border below has a green horizontal line [1/2]
PD#SWPL-3478

Problem:
the border below has a green horizontal line

Solution:
add freescale repeat last line, supported chip after G12B

Verify:
verify on T962X2-X301

Change-Id: I5dab91774eea3949062fe3254db7a074563fe1c4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2018-12-27 19:02:08 -08:00
Brian Zhu
584d763054 vpp: set the preblend horz size correctly for hdr input [2/2]
PD#SWPL-3478

Problem:
the border below has a abnormal line

Solution:
Set the preblend horz size correct

Verify:
verify on T962X2-X301

Change-Id: Ie7b20a6b030d40d3a0eb3458df07e7632491aa2c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-12-27 18:14:20 -08:00
Jianxin Pan
89d9a79733 Merge "backlight: pwm combo policy bug with level range [2/2]" into amlogic-4.9-dev 2018-12-27 03:13:51 -08:00
Xuhua Zhang
ced96322a7 tvin: vdin: fix afbce 576p color anomaly [1/1]
PD#SWPL-3424

Problem:
dvd play 576p media, tl1 display color anomaly

Solution:
encoder use same default color setting with decoder

Verify:
x301

Change-Id: I8954874ea048b2d9e9b7aa58c883da1f306c4459
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-12-27 03:12:30 -08:00
Xuhua Zhang
f00295ae3a tvin: vdin: fix afbce 4k yuv444 display error [1/1]
PD#SWPL-3429

Problem:
vdin output format is afbce 4k yuv444,it display ghost shadow of image

Solution:
add afbce comb control

Verify:
x301

Change-Id: I168f13994a4929bd227ba70b006f259ac0726238
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
2018-12-27 03:12:18 -08:00
Zhongfu Luo
a09d933a47 defendkey: script signing tool: support upgrade check [5/5]
PD#SWPL-3204

Problem:
GXL/TXLX/G12A/G12B: script signing tool need to support defendkey

Solution:
1.change dtb decrypt process

Verify:
GXL/TXLX/G12A/G12B skt board verify pass

Change-Id: I165db827dec82837edb8a4a5197090bbd79d536d
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
2018-12-27 02:02:28 -08:00
Yi Zeng
65ea8aa731 mtd: nand: support new slc nand [1/1]
PD#SWPL-3542

Problem:
2Gb SLC Nand ZDND2G08U3D-IA requested by Marketing
aka ZDND2GXXXXX module number

Solution:
add the nand id and MFR id into amlogic id table
adapt it's bad block identification

Verify:
AXG_S400

Change-Id: I6f0e2caf424e09c1f186beb42a146d92b675f161
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
2018-12-27 00:23:13 -08:00
Tao Zeng
b08193bfe3 dmc: fix panic problem when show memory in highmem [1/1]
PD#SWPL-2767

Problem:
If DMC violation address is in highmem, then it will panic
when show memory using page_address();

Solution:
map violation address for highmem

Verify:
p212

Change-Id: Ib6213eaab42b129c8c0a381511a0b3376b0d3e66
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2018-12-27 15:04:22 +08:00
yicheng shen
f92f95aa68 hdmirx: update phy setting [1/1]
PD#SWPL-3512

Problem:
HDMIRX no sinal in some mainboard.

Solution:
1.fix phy pll lock bit unstable issue(foce lock);
2.modify phy bandwidth definition;
3.optimize tmds_valid judgement;

Verify:
TL1

Change-Id: Idea20a46c465b20687654f071b259ebf8a7fed4a
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2018-12-26 18:09:23 -08:00
Nan Li
3db381dada sdio: optimize data1 interrupt cfg reg error [1/1]
PD#SWPL-1908

Problem:
rtl 8822bs sdio wifi tx data crc when Online on demand.

Solution:
remove cfg reg invalid setting in enable_sdio
when data1 interrupt breaks.

Verify:
u212

Change-Id: I49e21a6d213d9c60e315d23bdf9937385b6d75e9
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-12-26 17:43:10 -08:00
Yi Zhou
f080b14e15 dv: fix the error setting in dv core [1/1]
PD#SWPL-3046

Problem:
movie player will keep video layer when playing video films.
Even if jumping to the next films, it will not close video layer.
When meeting this situation, dv core will keep the front
film's setting.

Solution:
when jumping the next film, we know the first frame.
So we clean the setting in the first frames.

Verify:
u212

Change-Id: I61ebc8f58baed32abc519018676e40b08d059cac
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-12-26 17:42:23 -08:00
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
Shaochan Liu
e983578e0b backlight: pwm combo policy bug with level range [2/2]
PD#TV-1488

Problem:
when only use one pwm, pwm combo policy has a bug with
level range

Solution:
modify level range check demo when set bl level

Verify:
verify by T962X2-X301

Change-Id: Ia5a0b12fa96f0f77ed85f6f70ed796203ea32a20
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>
2018-12-26 10:36:11 +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