Commit Graph

653613 Commits

Author SHA1 Message Date
Yong Qin
8ad280b58f vlock: add phase lock function [1/1]
PD#SWPL-3644

Problem:
new feature on tl1

Solution:
add function

Verify:
verified on tl1 android p

Change-Id: I964054512f59a98f03d20df11b8c63d6802744d5
Signed-off-by: Yong Qin <yong.qin@amlogic.com>

Conflicts:
	drivers/amlogic/media/enhancement/amvecm/amvecm.c
	drivers/amlogic/media/enhancement/amvecm/arch/vpp_regs.h
	drivers/amlogic/media/enhancement/amvecm/vlock.c
	drivers/amlogic/media/enhancement/amvecm/vlock.h
2019-07-23 17:52:49 +09:00
Yong Qin
dfa3a8a79c vlock: screen flash after PAL NTSC swich [1/1]
PD#SWPL-4246

Problem:
the screen always flash after switch PAL to NTSC in AVin

Solution:
do not change pll M value, M value will case v by one fail

Verify:
verified on tl1 android p

Change-Id: Ib5ea8dfef1c40af5535e69fdc9241a7f77b4a7dd
Signed-off-by: Yong Qin <yong.qin@amlogic.com>

Conflicts:
	drivers/amlogic/media/enhancement/amvecm/amvecm.c
	drivers/amlogic/media/enhancement/amvecm/vlock.c
	drivers/amlogic/media/enhancement/amvecm/vlock.h
2019-07-23 17:52:49 +09:00
shuanglong.wang
94a573ec4d video: video peek do not post video start event [1/1]
PD#SWPL-4317

Problem:
for video peek, before audio post audio start, video may have rended.

Solution:
do not post video start for video peek, all wait for audio start to
start pcr

Verify:
verify by p212

Change-Id: If5656154e30613164465f84c44d3fd1ee386d654
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>

Conflicts:
	drivers/amlogic/media/video_sink/video.c
2019-07-23 17:52:49 +09:00
tao zeng
3cb9b59d7a 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>

Conflicts:
	arch/arm/include/asm/memory.h
	arch/arm/include/asm/thread_info.h
	arch/arm/kernel/entry-armv.S
	arch/arm/kernel/unwind.c
	drivers/amlogic/memory_ext/Kconfig
	drivers/amlogic/memory_ext/vmap_stack.c
2019-07-23 17:52:49 +09:00
Hanjie Lin
bb892368ee 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>

Conflicts:
	arch/arm/boot/dts/amlogic/mesongxl.dtsi
	arch/arm/boot/dts/amlogic/mesongxl_sei210.dtsi
	arch/arm/boot/dts/amlogic/mesongxm.dtsi
	arch/arm/boot/dts/amlogic/mesontxl.dtsi
	arch/arm/include/asm/perf_event.h
	arch/arm/kernel/perf_event_v7.c
	arch/arm64/boot/dts/amlogic/mesong12a.dtsi
	arch/arm64/boot/dts/amlogic/mesongxl.dtsi
	arch/arm64/boot/dts/amlogic/mesongxl_sei210.dtsi
	arch/arm64/boot/dts/amlogic/mesongxm.dtsi
	arch/arm64/boot/dts/amlogic/mesontxl.dtsi
2019-07-23 17:52:49 +09:00
Evoke Zhang
6d4a452b14 backlight: ldim: add dev reg access api support [1/1]
PD#TV-1481

Problem:
need ldim_dev reg access uniform api

Solution:
add ldim_dev reg access uniform api

Verify:
x301

Change-Id: I72756d178ef70aac1f8b7fef842468f2e27a0ffe
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>

Conflicts:
	drivers/amlogic/media/vout/backlight/aml_ldim/ldim_dev_drv.c
	include/linux/amlogic/media/vout/lcd/aml_ldim.h
2019-07-23 17:52:49 +09:00
Shaochan Liu
fd04ea8e4c lcd: optimize bit_rate config in lcd driver [2/2]
PD#SWPL-3562

Problem:
optimize bit_rate config in lcd driver

Solution:
optimize bit_rate config in lcd driver

Verify:
verify by t962x2-x301

Change-Id: Ia804628aa60590f4311ece394ddacc08ca64d573
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>

Conflicts:
	drivers/amlogic/media/vout/lcd/lcd_clk_config.c
	drivers/amlogic/media/vout/lcd/lcd_debug.c
	drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c
	drivers/amlogic/media/vout/lcd/lcd_vout.c
	include/linux/amlogic/media/vout/lcd/lcd_vout.h
2019-07-23 17:52:49 +09:00
Shaochan Liu
1ca90ca607 lcd: unify lcd pinmux usage in dts [1/1]
PD#SWPL-3294

Problem:
unify lcd pinmux usage in dts

Solution:
change lcd pinmux usage to be recommend by linux upstream

Verify:
verify by t962x_r311

Change-Id: I7069b5272fa779575a8111b12a3ed835ab72cd02
Signed-off-by: Shaochan Liu <shaochan.liu@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
2019-07-23 17:52:49 +09:00
Yi Zhou
b1aacd934b dv: close afbc2 when playing sources with unnecessary el [1/1]
PD#SWPL-915

Problem:
DOLBY only sets the enhancement for the first frame ->
Vd sets cur_dispubf2 according to enhance ->
codec_mm keeps the last frame according to cur_dispbuf2,
so it fails -> AFBC2 access to the released content causes the trigger.

Solution:
close afbc2

Verify:
r321

Change-Id: I03c431a6ea11b8aabf97b1f0b21f717024be2f62
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>

Conflicts:
	drivers/amlogic/media/video_sink/video.c
2019-07-23 17:52:49 +09:00
MingLiang Dong
b74aa0619c amvecm: sdr2hdr function set by uplayer, driver default disable [1/1]
PD#SWPL-4255

Problem:
UI disable SDR TO HDR, reboot BOX,
TV flicker white and then display ok when connect hdr tv

Solution:
dr2hdr function set by uplayer, kernel default disable

Verify:
verify on G12A

Change-Id: Iea5a1e0be9b5665bb7deb785b6b5faa702ef1664
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>

Conflicts:
	drivers/amlogic/media/enhancement/amvecm/amvecm.c
2019-07-23 17:52:49 +09:00
Shuai Li
e7fe56502f audio: add stream mute and continuous clk [1/1]
PD#SWPL-2952

Problem:
Pop noise could be heard
when switching between sources.

Solution:
1. Add stream digital mute functions.
2. continuous clock to eliminate
  the clk reset issue.

Verify:
Local verified.

Change-Id: I372f4c03aaf875d75aa903c9c2dfda00619af000
Signed-off-by: Shuai Li <shuai.li@amlogic.com>

Conflicts:
	sound/soc/amlogic/auge/tdm_hw.c
	sound/soc/amlogic/auge/tdm_hw.h
2019-07-23 17:52:49 +09:00
Xing Wang
7029d2bde9 audio: auge: fix sharebuffer channel map [1/1]
PD#SWPL-2645

Problem:
play ddp source, then play pcm source, no sound

Solution:
1. fix same source control and channel map issue
2. i2s 8ch, spdif 2ch, channels are not mapped, make spdif 8 channel mask
3. when same source used, keep mpll use same mpll

Verify:
x301

Change-Id: I2fe4bbcbcbfff0a1c1a6cebf61d1da5aba9b7a9d
Signed-off-by: Xing Wang <xing.wang@amlogic.com>

Conflicts:
	arch/arm64/boot/dts/amlogic/tm2_t962e2_ab311.dts
	arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
2019-07-23 17:52:49 +09:00
Shuai Li
04676b9fc8 audio: fix pop snd after bootup [2/2]
PD#SWPL-3178

Problem:
output big pop noise after system boot up.

Solution:
Add zero and then unmute the stream.
NOTICE: user should unmute the AD82584F after boot.

Verify:
local verified.

Change-Id: I21555318f9347c5340a28f7e5cf0e3e2cde849a0
Signed-off-by: Shuai Li <shuai.li@amlogic.com>

Conflicts:
	sound/soc/codecs/amlogic/ad82584f.c
2019-07-23 17:52:49 +09:00
Xing Wang
d152d4eae9 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>

Conflicts:
	MAINTAINERS
	arch/arm/boot/dts/amlogic/tl1_t962x2_skt.dts
	include/linux/amlogic/major.h
	sound/soc/amlogic/auge/ddr_mngr.h
	sound/soc/amlogic/auge/tdm.c
2019-07-23 17:52:49 +09:00
Xing Wang
b2b85c4aee 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>

Conflicts:
	sound/soc/codecs/amlogic/ad82584f.c
2019-07-23 17:52:49 +09:00
Tao Zeng
9f97fce3f0 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>

Conflicts:
	drivers/amlogic/ddr_tool/dmc_g12.c
	drivers/amlogic/ddr_tool/dmc_gx.c
2019-07-23 17:52:49 +09:00
Dianzhong Huo
c942c4a606 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>

Conflicts:
	arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
2019-07-23 17:52:49 +09:00
Chao Liu
e6cc1de027 dts: add the attestationkeybox of unifykey[1/3]
PD#162644: Attestation key burn tool development

Change-Id: I53903436560957026b8dc1ab4b72c48b4b160399
Signed-off-by: Chao Liu <chao.liu@amlogic.com>

Conflicts:
	arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts
	arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts
	arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts
	arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts
	arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts
	arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts
	arch/arm64/boot/dts/amlogic/gxl_p212_1g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts
	arch/arm64/boot/dts/amlogic/gxl_p212_2g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p230_2g.dts
	arch/arm64/boot/dts/amlogic/gxl_p230_2g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts
	arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts
	arch/arm64/boot/dts/amlogic/gxl_p231_2g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts
	arch/arm64/boot/dts/amlogic/gxl_p241_1g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts
	arch/arm64/boot/dts/amlogic/gxl_p241_v2_1g_buildroot.dts
	arch/arm64/boot/dts/amlogic/gxl_p400_2g.dts
	arch/arm64/boot/dts/amlogic/gxl_p401_2g.dts
	arch/arm64/boot/dts/amlogic/gxl_skt.dts
	arch/arm64/boot/dts/amlogic/gxm_q200_2g.dts
	arch/arm64/boot/dts/amlogic/gxm_q201_1g.dts
	arch/arm64/boot/dts/amlogic/gxm_q201_2g.dts
2019-07-23 17:52:49 +09:00
Yingyuan Zhu
67ffbba75f 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>

Conflicts:
	arch/arm/boot/dts/amlogic/mesontxl.dtsi
	arch/arm64/boot/dts/amlogic/mesontxl.dtsi
2019-07-23 17:52:49 +09:00
liangzhuo.xie
bca85ddb1a 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>

Conflicts:
	arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts
2019-07-23 17:52:49 +09:00
bichao.zheng
dcd84c2f6e arm: dts: fix wifi 32K Frequency offset [2/2]
PD#SWPL-2623

Problem:
wifi 32K Frequency offset too large

Solution:
Modification cycle

Verify:
x301

Change-Id: I04724b0eacdffc1760b67689be373cb8f671a125
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>

Conflicts:
	arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts
2019-07-23 17:52:49 +09:00
Brian Zhu
82334bc905 vpp: sr: remove the vpp misc operation in sr function [1/1]
PD#SWPL-2613

Problem:
sr mux in vpp misc is set incorrectly.

Solution:
move the vpp misc operation together

Verify:
verify by x301

Change-Id: Ie813e5b04b97a4481c2e45bcf0c8b4c065fb9f69
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>

Conflicts:
	drivers/amlogic/media/video_sink/vpp.c
2019-07-23 17:52:49 +09:00
Yi Zhou
4a8336a3c4 dv: fix the flickered problem [1/1]
PD#SWPL-1207

Problem:
fix the filckered problem when playing transition
video in sdr tv

Solution:
when dv core2 don't run, the reset can't be executed

Verify:
r321

Change-Id: I719325f1722589e02a40d46442258b0d1e3feb17
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>

Conflicts:
	drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
2019-07-23 17:52:49 +09:00
Evoke Zhang
1aac63619d lcd: update lvds,vbyone,p2p config [1/1]
PD#172587

Problem:
lcd not work on real chip

Solution:
update pll, phy and channel_swap config

Verify:
skt

Change-Id: I737f7c253697ed281050ad9606cbf7d86a4b2e39
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>

Conflicts:
	MAINTAINERS
	arch/arm/boot/dts/amlogic/mesontl1_skt-panel.dtsi
2019-07-23 17:52:49 +09:00
he.he
62a7c96841 usb: adb reboot and then adb disconnect[1/1]
PD#174155: complete_ep 0xffffffc05bed2858, ep->queue empty!

Problem:
1. After adb process be killed, data buffer is freed and
this memory is allocated for the other. But the address
is hold by the controller.
2. Adbd in PC is running. So, the controller receive the
data and write to this memory.
3.The value of this memory is modified by the controller.
This could cause the memory problem.

Solution:
whenever io_data->aio equals 1, the data buffer is from a fixed array.

Verify:
verified by huang xiaojing

Change-Id: I2055ea013021c8411bf626ce170e6b32164bef4a
Signed-off-by: he.he <he.he@amlogic.com>

Conflicts:
	drivers/usb/gadget/function/f_fs.c
2019-07-23 17:52:49 +09:00
MingLiang Dong
abc5ce3fe6 amvecm: hdr: add hdr10 plus support [1/2]
PD#SWPL-869

Problem:
new feature, add hdr10 plus support

Solution:
1. add hdr10 plus metadat parser
2. add hdr10 plus code support
3. add hdr10 plus bypass mode

Verify:
verify on U200

Change-Id: I957954ce148021882e17f2913dd2552e64f1298c
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>

Conflicts:
	MAINTAINERS
	drivers/amlogic/media/enhancement/amvecm/Makefile
	drivers/amlogic/media/enhancement/amvecm/amvecm.c
	drivers/amlogic/media/enhancement/amvecm/set_hdr2_v0.c
	include/linux/amlogic/media/amvecm/amvecm.h
2019-07-23 17:52:49 +09:00
Dongjin Kim
4f604517ed ODROID-N2: config: fix kernel config for new BSP 201904
Change-Id: I92924ed3824bae0ddab82666d529439e0dad6a6f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-07-23 17:52:49 +09:00
Dongjin Kim
5e25e10f76 ODROID-N2: media_modules: rebased with new BSP 20190415
Change-Id: I43c457bd241b2438c05df820545ed500266e56ea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-07-23 17:52:49 +09:00
Zongdong Jiao
0e26ac0d50 hdmitx: add the arbitration between hdcp22 and EMP [1/1]
PD#SWPL-5618

Problem:
Need to optimize the arbitration between hdcp22 and EMP

Solution:
Add the arbitration between hdcp22 and EMP

Verify:
TM2/T962E2/AB311

Change-Id: Ib910ac40754e744e36ee1349de5b2c55e2a011eb
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-07-23 17:52:49 +09:00
Zongdong Jiao
08f2b392f6 hdmitx: move work_internal_intr to delayed_work [1/1]
PD#SWPL-6894

Problem:
Queue work 'work_internal_intr' cause the hdcp22 flicker

Solution:
Move work_internal_intr to delayed_work

Verify:
G12/U212

Change-Id: Ib05c82bb66c9ad7396790d5eb237ff486c56c980
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-07-23 17:52:49 +09:00
Nian Jing
96efc51fc9 tvafe: fix pal60 afbc abnormal [1/1]
PD#SWPL-7057

Problem:
pal60 abnormal when enable afbc

Solution:
fix the v_active size

Verify:
test on x301

Change-Id: I02c6077ac364c4f585fb3cf5742e0b4228c39cd2
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
Jianxin Pan
3e136f08fd schedtune: fix crash when there is cpu boot fail in hmp [1/1]
PD#SWPL-7656

Problem:
crash when there is cpu boot fail in hmp

Solution:
fix crash when there is cpu boot fail in hmp

Verify:
W400

Change-Id: I0153975593adb0bfcbc3c3bd6543f0fb2e6bf2e0
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2019-07-23 17:52:49 +09:00
qiyao.zhou
986180e0c6 dts: flanklin bring up based on google-ref! [1/1]
PD#SWPL-7184

Problem:
flanklin bring up based on google-ref.

Solution:
Modify copy file for franklin.

Verify:
verify it on franklin.

Change-Id: If55159835daf0a87439647586526f836a226504c
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2019-07-23 17:52:49 +09:00
nengwen.chen
15c4a9db50 atv_demod: fix audio output when adjust the input amplitude [1/1]
PD#TV-4901

Problem:
fix audio output when adjust the input amplitude.

Solution:
fix audio output when adjust the input amplitude.

Verify:
verified by x301

Change-Id: If08e4adff6f4d0355448687ebe6756fa2e155704
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-07-23 17:52:49 +09:00
Jianxin Pan
5a78b7ca54 debug: save irqflag locally when ftrace_ramoops io [1/1]
PD#SWPL-6028

Problem:
save irqflag locally when ftrace_ramoops io

Solution:
save irqflag locally when ftrace_ramoops io

Verify:
TL1 x301

Change-Id: I6df9700cceaccc97dc983d88ada73197a6968f73
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2019-07-23 17:52:49 +09:00
Brian Zhu
28d0f28514 vpp: use new interface to increase accuracy of ar calculation [1/2]
PD#OTT-2068

Problem:
When playing 1280x128 video under normal screen mode, the aspect ratio from
decodec is not accurate enough by multipling 0x100. (128x256/1280=25.6).
Dropping 0.6 will cause height losing 9 lines.

Solution:
Using new interface to pass real ar width and height following steps:
1.Set old ar variable to 0x3ff as a trigger flag.
2.set the original ar value into sar_width and sar_height of vframe

Verify:
verified on franklin

Change-Id: I8a794edd968a76f198ee9cb168a7cfb858c858f8
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-07-23 17:52:49 +09:00
Xiaoming Sui
716ba3ee14 avsync: tsync: fix the avsync for ms12 [3/4]
PD#SWPL-5837

Problem:
dtv is out of avsync when dolby ms12 certificate

Solution:
when the audio is played, recalculate the apts to sync
pcrsrc when pcrmaster.

Verify:
X301

Change-Id: Ia121e57ad69c5b0d211e14bf3a61f165457e54c7
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
2019-07-23 17:52:49 +09:00
Bencheng Jing
a677355477 amvecm: fix tm2 show green screen when play videos [1/1]
PD#SWPL-7183

Problem:
LC mtx use 10bit, should be 12bit

Solution:
add 12bit 709 mtx

Verify:
ab311

Change-Id: I2367fc7b7ef4cb164d86348b618d13d465c7a6a1
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2019-07-23 17:52:49 +09:00
binqi.zhang
aaa0a89b03 dts: update gpu freq tbl for 32bit kernel [1/1]
PD#SWPL-4253

Problem:
Compared with P212, GPU on g12a can not work with high
frequency
when running some cases like particle;

Solution:
update gpu freq tbl for buildroot

Verify:
build pass
GPU on g12a can work with high
freq when running particle

Change-Id: Ifcb286cd37faa9f618b48ab515ca360aba563a34
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
binqi.zhang
74749b0383 dts: update gpu freq tbl for buildroot [1/1]
PD#SWPL-4253

Problem:
Compared with P212, GPU on g12a can not work with high frequency
when running some cases like particle;

Solution:
update gpu freq tbl for buildroot

Verify:
build pass
GPU on g12a can work with high freq when running particle

Change-Id: Ie10335d1f3a043d4418245d31efa8b42077031a9
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
2019-07-23 17:52:49 +09:00
Jian Hu
cf1f268b3d i2c: meson: add detail calculation process for i2c duty cycle [1/1]
PD#SWPL-7197

Problem:
There is not detail calculation process for i2c duty cycle

Solution:
add detail calculation process for i2c duty cycle

Verify:
verified on x301

Change-Id: Ifc222acda3268f792f63e84c6dc3513d80568e19
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2019-07-23 17:52:49 +09:00
Yi Zhou
6ad192c3c8 hdr_prime: add interface of HDR Prime SL driver [1/1]
PD#SWPL-5475

Problem:
need to add interface of HDR Prime SL driver

Solution:
add interface of HDR Prime SL driver

Verify:
U212

Change-Id: If0e62b74ccbaa4ede490e7a9896d9f5915480d6f
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2019-07-23 17:52:49 +09:00
Yingyuan Zhu
f458721991 watchdog: fix watchdog get lefttime error [1/1]
PD#SWPL-6937

Problem:
1.get lefttime error by 'cat sys/class/watchdog/watchdog0/timeleft' cmd.
2.if DTS is configured to feed watchdog by Android, the system will
restart automatically after wake up.

Solution:
1.modify the code to get time.
2.when the system wakes up, first judge whether the watchdog runs,
and then decide whether to start the watchdog.

Verify:
test pass on u200

Change-Id: If64888ffdd5651e8cfcace5ea0d0da31641bb397
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
2019-07-23 17:52:49 +09:00
MingLiang Dong
1a81c3d076 amvecm: match uboot sdr2hdr function [1/1]
PD#OTT-2524

Problem:
enable sdr2hdr function, uboot logo have color change

Solution:
match uboot sdr2hdr function

Verify:
verify on G12A

Change-Id: I160cd6141d09a385d299ca96a89eb1ebf09c86e8
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-07-23 17:52:49 +09:00
Jiamin Ma
4ca49b6c65 unifikey: fix kasan bug reported in name_store [1/1]
PD#SWPL-7326

Problem:
slab-out-of-bounds in strlen called by name_store

Solution:
Make sure the string passed to strlen is always '\0'
ended

Verify:
Locally

Change-Id: Ifd78a100c0e34ff9afb527ebe7b044ceb5c3505e
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
2019-07-23 17:52:49 +09:00
peter wang
ea6864560e amvideo: fix video block when pts discontinue [1/1]
PD#SWPL-5038

Problem:
image will block when pts discontinue

Solution:
do not show the frame when pts greater than pcr

Verify:
tested on Marconi

Change-Id: I57ea973b7fdcdc7cded2c5c9b681be29f0a31a4b
Signed-off-by: peter wang <peter.wang@amlogic.com>
2019-07-23 17:52:49 +09:00
Pengcheng Chen
43e2e7cdef osd: fix afbc decoder error caused flicker in display [1/1]
PD#OTT-3000

Problem:
afbc decoder error caused flicker in display.

Solution:
close osd prefetch.

Verify:
Verified with raven

Change-Id: I44356c028b41e251f7a98b5e931b2cbd583b0829
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-07-23 17:52:49 +09:00
qiyao.zhou
db9130af26 dts: flanklin bring up based on google-ref! [1/2]
PD#SWPL-7184

Problem:
flanklin bring up based on google-ref.

Solution:
Modify copy file for franklin.

Verify:
verify it on franklin.

Change-Id: Ibaba2dcb7a3e8715243f5a93d69a1bf96e8c49a7
Signed-off-by: qiyao.zhou <qiyao.zhou@amlogic.com>
2019-07-23 17:52:49 +09:00
Yan Wang
3fa8182617 idle: sm1: enable sm1 idle function [1/1]
PD#SWPL-6255

Problem:
sm1 need enable idle for power.

Solution:
enable sm1 idle function.

Verify:
ac200

Change-Id: Ib106ac552660471f0275dc22374405939d521a62
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
2019-07-23 17:52:49 +09:00
Huan Biao
82745e4bce thermal: modify ipa parameter for sm1 [1/1]
PD#SWPL-7322

Problem:
sm1 ipa parameter not match soc power data

Solution:
update sm1 ipa dts parameter

Verify:
AC200

Change-Id: Ib636d5c4853d53cf6bafad9b5266e2b13dd7e85c
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
2019-07-23 17:52:49 +09:00