Commit Graph

648686 Commits

Author SHA1 Message Date
Daniel Rosenberg
dc2f2aa319 ANDROID: sdcardfs: Change current->fs under lock
PD#SWPL-5666

Problem:
STS test fail
testPocCVE_2018_9515

Solution:
bug: 111641492 from security

Verify:
U212

Change-Id: I79e9894f94880048edaf0f7cfa2d180f65cbcf3b
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2019-05-07 16:00:39 +09:00
Jiamin Ma
c5536d6d81 debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718

Problem:
Will have "PC=0, LR=0" issue when try to
show active cpu stacks via sysrq

Solution:
Save the addr of current interrupted task's context to the
interrupt stack first, so that we can easily obtain pt_regs
later

Verify:
Locally on Ampere

Change-Id: I1cc5095e0ec356bed90f76cdf9af1b2617ce7834
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-05-07 16:00:39 +09:00
Jiamin Ma
2e760511d0 debug: fail to show active cpu stacks [1/1]
PD#SWPL-4718

Problem:
The task stack address is not saved to irq_stack_ptr-0x08,
so when switching from irq stack to task stack, we can not
obtain the right task stack address

Solution:
save task stack address to irq_stack_ptr-0x08

Verify:
Locally on Ampere

Change-Id: I8ad9a45cee33681cc00de3a0bb264dbd9f1b859f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-05-07 16:00:39 +09:00
Tao Zeng
989e6fdb69 mm: close vmap stack print for armv7 [1/1]
PD#SWPL-2681

Problem:
If cpu support idle/hotplug, there are many vmap stack prints:
[   74.096973@1] cpu 1, vmap stack:[e8e90000-e8e91de0]
[   74.097084@1] cpu 1, irq  stack:[e8e92000-e8e93de0]
[   74.105901@3] cpu 3, vmap stack:[e8ee0000-e8ee1de0]
[   74.105984@3] cpu 3, irq  stack:[e8ee2000-e8ee3de0]

Solution:
Close these debug print

Verify:
P212

Change-Id: I000df1f0952328af9f359f20341eb0fe88590056
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-05-07 16:00:39 +09:00
tao zeng
003b4e1f9b mm: optimize thread stack usage on ARMv7 [1/1]
PD#SWPL-2681

Problem:
Kernel stack usage is large when running many tasks.

Solution:
Map kernel stack to module space and handle page-fault
for stack fault. This can save about 50% memory of stack
usage

Verify:
p212

Change-Id: Ie894bc8f00cb525ddf8ac63c6d99d9c6e937fdc0
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2019-05-07 16:00:39 +09:00
Nanxin Qin
4b9ca77d52 codec_mm: fixed some issues of the mem operation. [1/2]
PD#SWPL-3593

Problem:
the memory data might be discordant.

Solution:
1. opitimize the mem mapping and change the page type to nocache.
2. modified the way of flush mem which from lowmem or highmem.

Verify:
x301

Change-Id: I82351c235915c98a86fd201c2ff3994e4d2085ec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-05-07 16:00:39 +09:00
Rong Zhang
74b1cb6645 media_module: vdec [1/1]
PD#OTT-1699

Problem:
	not support multi-vdec user data read

Solution:
	Add getting available user data vdec interface

Verify:
	Verified U212

Change-Id: I9ec65367935ac42a83808db23f2fb08f694e1483
Signed-off-by: Rong Zhang <rong.zhang@amlogic.com>
2019-05-07 16:00:39 +09:00
Jian Hu
540a2c94f7 clkmsr: axg: delete hard code which added during bringup [1/1]
PD#SWPL-5356

Problem:
when cat clkmsr node in sysfs, i2c bus does not work

Solution:
delete hard code

Verify:
verify on axg s400

Change-Id: Ib01f251f4b77685db5a57df395f1c1a75620c07b
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2019-05-07 16:00:39 +09:00
Zhuo Wang
cde4b9e5dd ethernet: remove internal_phy_remove [1/1]
PD#SWPL-5478

Problem:
system will crash rately if not init success

Solution:
remote internal_phy_remove function for chip
later then g12a

Verify:
verify on u200 board

Change-Id: Id6c3bf77c2a448aee9675deff47dc106206146d6
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2019-05-07 16:00:39 +09:00
Yi Zhou
f067289735 dv: hang when home during DoVi playback [1/1]
PD#SWPL-4406

Problem:
SDR meta size > 0 during DoVi to SDR transition

Solution:
fixed SDR meta size to 0 for SDR

Verify:
u212

Change-Id: I92129163da0df9c81bb508ce56b78268fbd87a2e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-05-07 16:00:39 +09:00
Yong Qin
616fcbb18c di: play 1080i timing always print di err[1/1]
PD#SWPL-5807

Problem:
1080i always print di err,modify di pre idle register
define are wrong

Solution:
1.modify register define according g12a

Verify:
g12a

Change-Id: I13400d8b18e0e85894ba8d10afc0ae119874aab4
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Conflicts:
	drivers/amlogic/media/deinterlace/deinterlace.c
2019-05-07 16:00:39 +09:00
Peng Yixin
a6a9f9a437 media_module: add function to statistics drop frame on video layer [1/1]
PD#SWPL-1885

Problem:
    We need a function to statistics drop frame.

Solution:
    Add a function to statistics drop frame.

Verify:
    Verified U212

Change-Id: I30b429c2f3710c5c8d0da6ec083060c9cc3e61ad
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2019-05-07 16:00:39 +09:00
Brian Zhu
ddbe3ea54d vpp: refresh the vd/osd blend ctrl when enable/disable video [1/1]
PD#SWPL-4932

Problem:
The vd/osd blend ctrl is not correct when disable video

Solution:
Refresh the vd/osd blend ctrl for that case

Verify:
Verified on tl1

Change-Id: I6a7bfc58c810279cdfbf55f3d6a51e94890b4899
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-05-07 16:00:39 +09:00
Nanxin Qin
a7fa141afa tee: add an interface for the teeload with swapping. [1/1]
PD#SWPL-2367

Problem:
building err and issue of compatibility.

Solution:
1. fixed building err without merging media_modules
2. add a new api tee_load_video_fw_swap

Verify:
p212,u212

Change-Id: Ifeedf2f3fa04b2427dccf2ac3940bad6860362d6
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-05-07 16:00:39 +09:00
Nanxin Qin
661a11aa46 tee: add swapping of the fw for the tee loading. [3/7]
PD#SWPL-2367

Problem:
can not playback hevc after update video fw.

Solution:
add swapping of the fw for the tee loading.

Verify:
p212,u212

Change-Id: I698e43ba8e71060f85be4b468c4c61d625f46d4a
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-05-07 16:00:39 +09:00
Pengcheng Chen
a9912caac3 osd: move wait hw vsync for afbc when phy_addr==0 only before chip g12A [1/1]
PD#SWPL-5148

Problem:
bootvideo stuck when starting to play

Solution:
wait hw vsync for afbc when phy_addr==0 only before chip g12A

Verify:
tl1

Change-Id: I883c8f6699729854a852fc70c22b5629aa025c60
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-05-07 16:00:39 +09:00
Jian Cao
b60c703f11 osd: osd: screen blank when boot [1/1]
PD#172587

Problem:
screen blank when boot

Solution:
modify free_scale_switch

Verify:
verified on tl1 dev board

Change-Id: I3c53e832c83c71bd8e98f71fcd654865a467df3c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-05-07 16:00:39 +09:00
Shunzhou Jiang
40621e99c0 clk: g12a: clear pcie cntl5 for save power [1/1]
PD#SWPL-4583

Problem:
cntl5 caused power increase

Solution:
clear pcie cntl5 when pcie clk disabled

Verify:
test pass on g12a skt

Change-Id: I495590af2ccb81eb5ae90c86008679def8673a70
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2019-05-07 16:00:39 +09:00
Jianxiong Pan
1ea573c3c4 printk: fix print_time bug when run dmesg [1/1]
PD#SWPL-4900

Problem:
printk_prefix() passes NULL buf to print_time() to get the length of
the time prefix; when printk times are enable, the current code just
return "snprint(NULL, 0, "[%5lu.000000]", (unsigned long)ts)"
but in the SMP case, we add cpu core id at the end of time prefix, the
format is "[%5lu, %06lu@%d]", this gives a wrong size(shorter).

this will make buf get out of boundary, when run dmesg.

Solution:
replace [%5lu.000000] with [%5lu.000000@0]

Verify:
g12a-u200

Change-Id: Ic74b9f466b5af5aac7e6569a1afc7a46d9594050
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2019-05-07 16:00:39 +09:00
changqing.gao
476c6902ea mm: The first 1MB mem is wasted for CPU series coming after TXLX [1/1]
PD#SWPL-3744

Problem:
For the previous Amlogic CPU series(before TXLX), the CPU booting vector
locates at physical address starting from 0x00. To avoid influencing cpu
booting procedure, we have to reserve the first 1MB physical memory. But
it has changed since TXLX, the normal text section can safely use 0~1M
physical address. So it's no need to reserve the first 1MB in DTS.

Solution:
Change the starting address of usable memory from 0x100000 to 0x0 for CPU
series coming after TXLX.

Verify:
Locally on W400

Change-Id: I2df7859a38feca48abd58459e8b231ee15ada9e2
Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
	arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts
	arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts
2019-05-07 16:00:39 +09:00
Jihong Sui
555fef6350 deinterlace: modify suspend function [1/1]
PD#SWPL-4196

Problem:
atv suspend/resume, DI deadlock causing hangup

Solution:
add unreg process and clear timer/tasklet

Verify:
tl1

Change-Id: Id50de8649455f0a2f77ad2fcb585bf233d5c362f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-05-07 16:00:39 +09:00
Zongdong Jiao
7cf231bd56 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>
2019-05-07 16:00:39 +09:00
Guosong Zhou
fe988439e7 camera: config adapter buffer size from dts [1/2]
PD#SWPL-4934

Problem:
kernel panic when adjust adapter memory size

Solution:
config adapter buffer size from dts

Verify:
verify by w411

Change-Id: Ie66cf57e870e140dd63516672c7f90f7d9ddda72
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2019-05-07 16:00:39 +09:00
Jiamin Ma
ba56321dc4 license: add missing license header [1/1]
PD#SWPL-4728

Problem:
Missing license header

Solution:
Add correct license header

Verify:
Compling passed

Change-Id: I291a41172f9ecf2cde7f7705e99ecb20567c9c8f
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-05-07 16:00:39 +09:00
Hanjie Lin
381b5674e8 perf: fix sys_cpu_status0 reg error dts [1/1]
PD#SWPL-4843

Problem:
CtsSimpleperfTestCases 1 Fail on p231

Solution:
gxl,gxm,txl perf sys_cpu_status0 reg config error
modify it

Verify:
p212

Change-Id: Ie6e8747e8e4f02734bd7883ce6dcbc3fd3d28829
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/mesontxl.dtsi
	arch/arm64/boot/dts/amlogic/mesontxl.dtsi
2019-05-07 16:00:39 +09:00
Brian Zhu
663259399e vpp: correct the vpp dummy reg for g12a/g12b/tl1 [1/1]
PD#TV-1565

Problem:
After g12a chip, vpp post dummy reg was changed. The
test_screen/rgb_screen sysfs did not work.

Solution:
Use the correct vpp post dummy reg for those chip

Verify:
Verified on X301 and W400

Change-Id: I1cb718a1f7040804b63d0197de0bb6aafe233357
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-05-07 16:00:39 +09:00
Shuai Li
81c4ea3dce audio: remove unused PDM controls which cause panic [1/1]
PD#SWPL-3907

Problem:
PDM controls are dynamically added or removed.
This will bring in panic.

Solution:
Remove the unused controls.

Verify:
Need stress test.

Change-Id: I69f63a0516e0812e9abb86e42f091ecb496004d4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-05-07 16:00:39 +09:00
Hanjie Lin
f5c561558b perf: arm: enable pmuserenr [1/1]
PD#SWPL-4673

Problem:
userspace can't access perf monitor cnt with "mrc ... c9,c13,0"

Solution:
actually userspace should check perf monitor cnt access permissions first
before use, so this is a workround.
enable pmuserenr with "mcr ... c9,c14,0" in several places:
1, perf probe
2, cpu idle (state>0) exit
3, cpu online
4, system resume after suspend

Verify:
u212

Change-Id: Ib09682d1d47545dfef8b088283ddbbf390630d3e
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-05-07 16:00:39 +09:00
Brian Zhu
8b35372595 vpp: disable sr scale up when vskip > 2 [1/1]
PD#TV-2331

Problem:
SR insert unnecessary scale up to make scale down ratio
too larger.

Solution:
disable SR core0 which is before pps when mif vskip is > 2

Verify:
Locally on X301

Change-Id: I810fbae20f337e6eeb0a8e88d9758f78ad224254
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-05-07 16:00:39 +09:00
Tao Zeng
debe420278 config: replace stack protector config [1/1]
PD#SWPL-4617

Problem:
CONFIG_CC_STACKPROTECTOR_STRONG will increase stack size for some large
functions and may cause stack overflow problems or increase real stack
usage after we have enabled VMAP STACK config. But direct remove it
from defconfig will cause CTS fail.

Solution:
using CONFIG_CC_STACKPROTECTOR_STRONG_AMLOGIC for real stack protect
config

Verify:
p212

Change-Id: I1ccba2ef6ab5ea6f2987af2986e0cf222da1a7c7
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-05-07 16:00:39 +09:00
Nan Li
31ebe878c4 emmc: optimize the conditions of fixdiv calc [1/1]
PD#SWPL-4857

Problem:
fixdiv calc Affect the use of other chips

Solution:
Adjust the usage conditions for the fixdiv calc func, witch
pdata->calc_f from dts.

Verify:
verify by g12b

Change-Id: I9598e2a24f76c76f4312c2694029fe4bb0f534d4
Signed-off-by: Nan Li <nan.li@amlogic.com>
2019-05-07 16:00:39 +09:00
Brian Zhu
750f7d3d64 vpp: sr: correct the sr core0 enable switch operation [1/1]
PD#SWPL-5113

Problem:
SR core0 enable switch register is latched as default. It
will cause the screen flicker when operating this bit in vsync.
Because the frame size will be out of sync with back-end module.

Solution:
1. For g12a, no latch ctrl. So did not disable sr core2 enable bit.
2. For g12b/tl1, disable the latch function.

Verify:
Verified on U212/w400/x301

Change-Id: I54027b71ef8a6066004b3bd32ed1633b4bfa351c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-05-07 16:00:39 +09:00
Shunzhou Jiang
8816df8ed0 clk: g12a/g12b: fix syspll overflow when freq larger than 2.1g [1/1]
PD#SWPL-5076

Problem:
syspll overflow

Solution:
div 1000 when round rate

Verify:
test pass on g12a skt/w400

Change-Id: I021a1e8fd1280b27e21e5b4c8983b91fb89e84ba
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2019-05-07 16:00:39 +09:00
Hanjie Lin
f0d0d1a152 dts: g12b: modify sched-energy dts for w400 revision-b [1/1]
PD#SWPL-5020

Problem:
modify sched-energy dts for w400 revision-b

Solution:
modify dts

Verify:
local.

Change-Id: I6686abc10bf07ec0e601eb9a72b7657ca3e1d991
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-05-07 16:00:39 +09:00
pan.yang
35e734acc8 dts: add new frequency for A53 core at all g12b RevB dts [1/1]
PD#SWPL-5020

Problem:
need 1.9G for A53 core in g12b RevB.

Solution:
add 1.9G frequency for A53 core in RevB dts.

Verify:
local test.

Change-Id: Ic4085c05b3b9d18f759720e3d268d5e4629faba7
Signed-off-by: pan.yang <pan.yang@amlogic.com>
2019-05-07 16:00:39 +09:00
Jianxiong Pan
a1c25625ec dts: g12b: copy g12b dts [1/1]
PD#SWPL-5020

Problem:
copy g12b dts.

Solution:
copy.

Verify:
local.

Change-Id: Ibd6423bd0cc99e98bf1d6359068f9f0719ad177f
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Conflicts:
	arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
2019-05-07 16:00:39 +09:00
MingLiang Dong
ee1b585618 hdr: used line_n_int to trigger osd rdma [2/2]
PD#SWPL-4582

Problem:
g12b revb osd blend shift issue still exist
when hdr enable/disable

Solution:
used line_n_int to trigger osd hdr rdma,
this workaround can fix shift issue

Verify:
verify by g12b revb

Change-Id: I062c31dbb5729463bae539e2ea25281d715665c9
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-05-07 16:00:39 +09:00
Yi Zhou
175057d9c8 dv: remove g12b ver B from the status of SDR mode [1/1]
PD#SWPL-4582

Problem:
g12 verA has a hardware bug.Therefore,dv cores
must keep working even if under sdr mode

Solution:
g12B verB has fixed this bug, so remove this chip id

Verify:
verify by g12b revb

Change-Id: Ice1aa1364319fa12d5a896fdfd106450f1a04d3d
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-05-07 16:00:39 +09:00
Pengcheng Chen
0e08957095 osd: add g12b revb to check osd shift workaround [1/1]
PD#SWPL-4582

Problem:
g12b revb fix osd blend shift issue

Solution:
add g12b revb to remove shift workaround

Verify:
verify by g12b revb

Change-Id: I6cefba0b5b5cce35d928edafdc359adff0165866
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-05-07 16:00:39 +09:00
he.he
8ae14ce38f usb: check SoC rev [1/2]
PD#SWPL-4582

Problem:
Need to check Soc rev to distinguish G12B revB.

Solution:
Check Soc rev set version and phy-interface for g12b revB.

Test: make w400 bootimage

Verify:
pass on W400

Change-Id: I338d7f0eed7bb61660625343404f756f0edf0d54
Signed-off-by: he.he <he.he@amlogic.com>
2019-05-07 16:00:39 +09:00
Qiufang Dai
0a2c1914a1 cpuversion: add SoC rev api [1/2]
PD#SWPL-4582

Problem:
Need api to distinguish G12B revB

Solution:
Add rev A/B/C api

Verify:
W400

Change-Id: I5cf82fcfc513f621513914cf83d18fe5c5ec081d
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
2019-05-07 16:00:39 +09:00
yuehu mi
84cc7045b0 usb: remove usbphy reset 500ms wait [1/1]
PD#SWPL-4949

Problem:
kernel slow startup

Solution:
remove usbphy reset 500ms wait

Verify:
marconi platform insert U disk, power on boot verify OK

Change-Id: Ieb01e59ad428f98c3df303c7b3bee28397970c74
Signed-off-by: yuehu mi <yuehu.mi@amlogic.com>
2019-05-07 16:00:39 +09:00
Jian Cao
b4f41bc724 osd: osd: screen blank after boot logo [1/1]
PD#172587

Problem:
screen blank after boot logo

Solution:
correct default display information

Verify:
verified on tl1 ref board

Change-Id: I94237b5241eacee6965bfe4ea0426bb8e9f494f1
Signed-off-by: Jian Cao <jian.cao@amlogic.com>

osd: tl1 hold line fix needn't shift workaround [1/1]

PD#172587

Problem:
tl1 hold line fix needn't shift workaround.

Solution:
remove shift workaround int tl1

Verify:
verified by x301

Change-Id: I96d99758ba6f93622c34a8e69c4a3f769fdfad49
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>

usb: bringup usb for tl1 [1/1]

PD#172587

Problem:
bringup usb for tl1

Solution:
bringup usb for tl1.
disable usb device sof interrupt for tl1.

Verify:
verify on tl1 skt.

Change-Id: Ifbcd3b406145ac39709ff2df795544086277f00e
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/mesontl1.dtsi
2019-05-07 16:00:39 +09:00
Shunzhou Jiang
96c1c820ad mailbox: mailbox: add chip performance info read from efuse [2/2]
PD#SWPL-4035

Problem:
cpu driver need read efuse data

Solution:
add interface to read data

Verify:
g12a_skt

Change-Id: Ia5d74c3fa057d06426b4277652e508714400a30f
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2019-05-07 16:00:39 +09:00
Hong Guo
11b7675ded cpufreq: add more syspll freq info [1/1]
PD#SWPL-4035

Problem:
add more syspll freq info.

Solution:
add more syspll freq info.

Verify:
g12a_u200, verify pass

Change-Id: I3e2a587f5ebaa20126e6ad5c37bd9d2730a75125
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-05-07 16:00:39 +09:00
Jian Cao
885745176c gdc: reset alloc flag when free dma buffer [2/2]
PD#SWPL-4354

Problem:
alloc flag is not correct when free dma buffer

Solution:
reset alloc flag when free dma buffer

Verify:
test pass on g12a-u200

Change-Id: Idfc0be5b394d18799232f6239b3f6c6df9181ce0
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-05-07 16:00:39 +09:00
Jian Cao
87d35481d5 ge2d: reset alloc flag when free dma buffer [1/2]
PD#SWPL-4354

Problem:
alloc flag is not correct when free dma buffer

Solution:
reset alloc flag when free dma buffer

Verify:
test pass on g12a-u200

Change-Id: I4aea27f38ebda72cfe77183423600c918b836d7c
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-05-07 16:00:39 +09:00
Brian Zhu
99b8e6b4bc vpp: force vd2 using preblend when playing mvc [1/1]
PD#SWPL-3381

Problem:
vd2 used postblend as default after g12a chip

Solution:
force vd2 using preblend when playing mvc

Verify:
Locally on u212

Change-Id: Ia7fab8ad70ed1e58b7ade241828afab288b94bec
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-05-07 16:00:39 +09:00
Hanjie Lin
07f36ac69f perf_event: aml pmu interrupts routing on g12b [1/1]
PD#SWPL-3088

Problem:
g12b big-little cluster is different from other SoC with pmu
interrupts and registers.
software modifications must adapt to the difference.

Solution:
modify

Verify:
u200 w400

Change-Id: If9217c1025dff5c17d51790f8c216e31b7d6532b
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-05-07 16:00:39 +09:00
Hanjie Lin
1cf76d0f25 defconfig: arm: code score is low by Antutu benchmark [1/1]
PD#SWPL-3704

Problem:
32bit code score is low by Antutu benchmark.

PD#SWPL-3704

Solution:
enable CONFIG_SCHED_WALT CONFIG_CGROUP_SCHEDTUNE CONFIG_SCHED_TUNE
referenced by arm64

Verify:
w400

Change-Id: I6f461020b0fb0e42be94f1c66f5c38defb2c6ea1
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-05-07 16:00:39 +09:00