Commit Graph

648017 Commits

Author SHA1 Message Date
Bo Yang
765d2c296f script: amlogic: add script to build 32bit image for meson64
PD#172587: script: add script to build 32bit image for meson64

    Use the new options:

      -c        specify defconfig with full name
      -f        specify rootfs
      -b        specify prefix or suffix of dts for the board
      -p        specify prefix of dts for the chip
      -d        make distclean
      -h        print help summary and examples

Change-Id: I44effd373f9c2928c7aa2ecb226baa6e4799da7e
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-09-26 20:14:29 -07:00
Dezhi Kong
75e58f5868 di: fix mc config issue
PD#173918: di: fix mc config issue

Change-Id: Iaa685cb579552fbc94889ca482b2ced72c899210
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2018-09-26 19:33:48 -07:00
Jiyu Yang
48aeb80d38 dts: limit g12b gpu freq to 800M
PD#173903: dts: limit g12b gpu freq to 800M
Change-Id: I82baa92fb81f14edbccffc6ad14fe0c3df1ab222
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
2018-09-25 00:51:07 -07:00
Shunzhou Jiang
233721b64d g12b: clk: improve pcie high/low vol and high/low temperature effect
PD#173423: improve pcie

Change-Id: Ifb4713c6a49d0dd8ba9ec310a8d95b8e6eec17a8
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2018-09-25 00:50:23 -07:00
Bencheng Jing
4f957d69cf amvecm: enable rdma write registers [2/2]
PD#173259: enable rdma write registers

Change-Id: I862bfac20e98e30b1188af5a5f8ad3a1f2662095
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-09-25 00:49:18 -07:00
yuegui.he
9e74614682 DTS: axg_s420_128m change secmon reserve method to CMA.
PD#174134: axg s420 128m ddr trunk secmon malloc failure

Change-Id: Ie836d84537056cd28c1d5a4868b3cdc5fd710cac
Signed-off-by: yuegui.he <yuegui.he@amlogic.com>
2018-09-25 00:22:08 -07:00
Bo Yang
efcaa90e2f scripts/amlogic: adjust the name of the options
PD#172587: scripts/amlogic: adjust the name of the options

Use the new options:

  -c	specify defconfig with full name
  -f	specify rootfs
  -b	specify prefix or suffix of dts for the board
  -p	specify prefix of dts for the chip
  -d	make distclean
  -h	print help summary and examples

Change-Id: I709c468fd06a15d3a66cc2c9d316e7898aab4d99
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-09-25 00:19:57 -07:00
Bo Yang
3b28da4ded scripts/amlogic: fix spelling mistake
PD#172587: scripts/amlogic: fix spelling mistake

Change-Id: I56fd60b2ee32e0b01eef796ae1a91839e8d1453d
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-09-25 00:19:34 -07:00
Bencheng Jing
9ee63d76e6 amvecm: Modified hist and pq_load_table struct define [2/2]
PD#173911: to compatible 64 bit with 32 bit

Change-Id: Ie3da5b63a05a306a99a7844eea7c2918cc15d5a9
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-09-25 00:19:04 -07:00
pengcheng chen
0829bc253f osd: dts: fix osd cma alloc-ranges caused uboot logo show blurrry
PD#173881: osd: dts: fix osd cma alloc-ranges caused uboot logo
           show blurrry

Change-Id: I60503a95f83d66605ecf4c24f882b4606cc37ed3
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-09-21 18:12:09 +08:00
Bencheng Jing
6274b8d87a amvecm: fix cm2 adj interface error
PD#173878: fix cm2_sat/cm2_luma/cm2_hue_by_hs interface error

Change-Id: Ia2a6bb19396cb1c74094330ba7428a7fc899bd56
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-09-19 07:56:18 -07:00
Bencheng Jing
cbde15273a amvecm: optimize amvecm_set_saturation_hue_post
PD#173878: protect array index to avoid overstep the boundary

Change-Id: I86d0f75e35dbdaed45166e6e860bb90ce6bd062b
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-09-19 07:55:38 -07:00
xuhua zhang
cf93a8a9b5 viuin: do not clear viu sel venc status
PD#171181: viuin: do not clear viu sel venc status

Change-Id: I1476a960a32fa0ba36b2d4d34b5fc6bcaadc7d28
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
2018-09-19 07:54:44 -07:00
xuhua zhang
2a1bbe26d3 vdin: fix vdin dobly addr alloc error.
PD#155104: fix vdin dobly addr alloc error.

Change-Id: Iaabf5ed9513f37b438eeb2e00d43d1ecc6b1c5f8
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
2018-09-19 07:54:18 -07:00
Nan Li
a42b76b952 emmc: add fix adj calculation.
PD#173425: add emmc fix adj calculation.

Change-Id: Iab512f0971abe0d0452be4d0b58405c6eba103eb
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-09-19 07:52:40 -07:00
Guosong Zhou
cb4c4510d6 amlvideo2: fix screen black when change hdmi resolution
PD#173275: amlvideo2: optimize amlvideo2 notifier callback

Change-Id: I9a961f6091e63fff1dfff318c06e0a068b791bac
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2018-09-19 07:50:40 -07:00
libo
4baada5cec wifi: update broadcom dhd_static_buf.c
PD#171947: update broadcom dhd_static_buf.c

Change-Id: I8895e097744c375f5eaa3fdaaa6f1b1f2d2d8b73
Signed-off-by: libo <bo.li@amlogic.com>
2018-09-19 07:48:54 -07:00
Brian Zhu
a37f8cd946 osd: disable mali afbc read when osd suspend
PD#171613: osd: disable mali afbc read when osd suspend

Change-Id: I39c900da599b97d7183dfbf9f68261fec997f154
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-09-19 21:38:55 +08:00
Jianxiong Pan
adcbac0e95 defconfig: aarch32: fix defects in aarch32 defconfig
PD#173683: defconfig

Change-Id: I54f9b9fe56e961ed1f4e002514fb821f991aad22
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2018-09-19 18:45:07 +08:00
Jianxiong Pan
b3916a9a8a defconfig: aarch32: sync defconfig between aarch32 and aarch64
PD#173683: defconfig

Change-Id: I70017bc8af82d52c61d5c872c077b900879e9550
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2018-09-19 02:09:34 -07:00
Kaifu Hu
fe9bb59845 hdmitx: fix KASAN Bug in hdmitx_edid_parse [1/1]
PD#173547: hdmitx: fix KASAN Bug in hdmitx_edid_parse
BUG: KASAN: stack-out-of-bounds in hdmitx_edid_parse+0x22c/0x2c40
Read of size 1 at addr ffffffc047927a4f by task power@1.0-servi/2947

Change-Id: Ia1dda5aa80a9fc33a0e81eb9af51ea42a3731c66
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-09-19 00:27:21 -07:00
keke.li
09b8979dfd gdc: support Y_grey/YUV444p/RGB444P format image
PD#173042: gdc: support Y_grey/YUV444p/RGB444P format image

Change-Id: I5b6928bfb4000d58d2bbd05bf8b1121b83ec2c0a
Signed-off-by: Keke Li <keke.li@amlogic.com>
2018-09-18 04:02:14 -07:00
yicheng shen
6fbde97524 hdmirx: add hdcp22-not-support handle[2/2]
PD#173334: hdmirx: add hdcp22-not-support handle

if systemcontrol cant access the aic tool,inform driver
that hdcp2.2 is not support via ioctl

Change-Id: I2d9541a497842e027e898f5fa3a23c51583c8181
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
2018-09-18 03:51:59 -07:00
Long Yu
0219a5c3ac sdio: After the TXLX IC is changed to use the fixed adj way to tuning
PD#171973: sdio: After the TXLX IC is changed to use the fixed adj way to tuning

Change-Id: I986812841d0ef86bb801f3fd4d37d6f2f38fce05
Signed-off-by: Long Yu <long.yu@amlogic.com>
2018-09-18 03:38:40 -07:00
MingLiang Dong
f6ec78b7a0 hdr: fix sdr2hdr effect expose
PD#172383: hdr: fix sdr2hdr effect expose

1. change sdr2hdr ootf lut
2. disable cgain when sdr2hdr

Change-Id: I308c0d8071b932164363603cc6af81c6343b4ec0
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-09-18 03:36:59 -07:00
nengwen.chen
a2bd42c980 atv_demod: added protection when standby wakes up [1/1]
PD#173542: added protection when standby wakes up

1.added protection when standby wakes up.
2.separate the register access, afc and monitor into a separate module.
3.optimize the code.
4.remove unused code.

Change-Id: Ib81ebb5a175d8e7c8934151fb3dd3033a29ae0f7
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-09-18 03:36:42 -07:00
Dezhi Kong
86e7fa6f07 vlock: add adj stable check
PD#170985: vlock: add pll adj stable check

1.add pll adj stable check avoid pll m adj
2.add vlock version info
3.add enc adj stable check avoid enc line adj repeate
4.add enc_max_line_switch default config
5.update pll default regmap setting
6.add pll adj value check avoid blink caused by big pll step adj
7.optimize enc pixel adj method
8.add support dts config vlock key parameters
9.move vlock process to start of vsync isr
10.optimize pll for txl vbyone

Change-Id: Ie6e0aaacd23bfd7178db48e6f0d7bbec426b271f
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2018-09-18 02:21:22 -07:00
Hong Guo
c3f9c8c85e arm64: dts: g12a/g12b: update cpufreq max to 1.8G.
PD#165143: cpufreq: update cpufreq max to 1.8G.

Change-Id: I8a1cc45a7586ac4342fd459987fc7f4c89471be2
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2018-09-18 00:51:35 -07:00
Jianxiong Pan
0702280150 dts: specify ion_reserved to allocate memory from low memory
PD#173802: dts: ion_reserved address mapping problem in 32bit kernel4.9

Change-Id: I3bb23c435ecf4da59985782f6f54564ed76e121a
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2018-09-18 00:47:37 -07:00
Jianxin Pan
fd9dacf2d1 dts: arch32: sync dtb between aarch64 and aarch32
PD#173683: remove unnecessary difference between aarch32 and aarch64

Change-Id: I9a1248e3d38dadf9cc6c4bb5e0a6f8c5dbd24a0a
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2018-09-17 03:52:30 -07:00
Peng Yixin
a98b098845 media: fix some coverity error.
PD#170543: media: fix some coverity error.

fix some coverity error

Change-Id: I09924231704c2752d86e52290b97e1e178379feb
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2018-09-17 03:20:01 -07:00
Nian Jing
c4e78ab612 vdac: add shutdown function
PD#173443: add shutdown function
	disable cvbsout driver config

Change-Id: I2c9a5e908b0c66e79bb200bebf0bf4fc312e77ef
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-09-17 02:25:08 -07:00
MingLiang Dong
b1842bec43 hdr: optimize hdrv2 hdr2sdr effect
PD#171788: hdr: optimize hdrv2 hdr2sdr effect

1. oetf blend with oogain
2. set oagin with max(RGB)
3. fix sdr2hlg osd too dark

Change-Id: Ib40de7dfa5727cec62573c43dfa38a931b177aed
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-09-17 02:24:26 -07:00
he.he
f61cd61214 usb: USB 2.0 EHHSEL for USB-IF Compliance Test
PD#173077

EHHSEL: Embedded Host High Speed Electrical Test.
The purpose of this commit is to send EHHSEL command in message.c .

Change-Id: I800deed43efba99398dcf22802383817931d1735
Signed-off-by: he.he <he.he@amlogic.com>
2018-09-17 01:32:01 -07:00
Hanjie Lin
47a87b6930 kmemleak: shouldn't scan reserved memory
PD#170481: kmemleak: shouldn't scan reserved memory

set reserved memory to no scan

Change-Id: I39fce2ca8d4dc6525f3fbc15622a4b5bcbc5344b
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2018-09-16 22:33:46 -07:00
Ruixuan Li
b5f37f3758 emmc: solve code coverity problem
PD#173510 solve code coverity problem

Change-Id: Id4e661162c7fb5f975ffc4c0358e175b1c912c4b
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-09-16 19:54:20 -07:00
Hong Guo
1f216d03f2 CPUFREQ: Release cpu opp table when entry suspend.[1/2]
PD#165143: Release cpu opp table when entry suspend.

Change-Id: Iee5100385a4bd5fd871b38226668c1a24bf6755e
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2018-09-14 09:12:12 -07:00
yujie.wu
c45bca5d42 audio: Add supporting of DTS HD for HDMI input[2/2]
PD#172835

Add dynamic PAO mode for HDMI input

Change-Id: I91849eaef1b225fb8734ea128a092e1c2fece6b3
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>
2018-09-14 09:09:59 -07:00
xianjun.liu
fcfd9cc47f mtd: fix recoverity isuue
PD#172180: fix coverity issue for mtd

Change-Id: I00725b398edbee55863868c53ed901fb80607bd1
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
2018-09-14 09:04:11 -07:00
pengcheng chen
b415469b29 OSD: viu2 cvbs display half UI
PD#169796: OSD: viu2 cvbs display half UI

Change-Id: I9d8cf88f7913d75fcfe7bd9428bd88e033087b55
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-09-14 05:08:53 -07:00
pengcheng chen
09a6a4bc18 osd: add fb3 viu2 support for direct render
PD#169796: osd: add fb3 viu2 support for direct render

Change-Id: Ic3492a5f0c26d5d517791c79c4579109f7258682
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-09-14 05:08:18 -07:00
jiamin ma
96e7519870 debug: show more debug info when hardlockup happens
PD#173193: need more debug info when hardlockup happens

Change-Id: Ia265a58ba776168ac4838cc7f4a6d7cfbeaf6557
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
2018-09-14 04:59:21 -07:00
Jianxin Pan
a799d5187f 32bit: add P321 support for aarch32
PD#173683: add P321

Change-Id: I46228d22a244e7c43b75f2a6f784c13ac413b57f
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2018-09-14 00:45:16 -07:00
zhiqiang.liang
6734841f95 dts: add the suspend which match ATF1.0
PD#173525: can't enter the suspend state

Change-Id: I10a21687e7fb9fb7f71de339c0b03175ee9a90ad
Signed-off-by: zhiqiang.liang <zhiqiang.liang@amlogic.com>
2018-09-14 00:40:58 -07:00
Yue Wang
cb128a95da usb: usb: optimize g12a & g12b usb phy pll setting [2/2]
PD#173329

Problem:
optimize g12a & g12b usb phy pll setting.

Solution:
optimize g12a & g12b usb phy pll setting.

Verify:
s905d2 u200

Change-Id: I53f437e35ac9cf204e00a5b624f7728937042e70
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-09-13 18:33:44 +08:00
Yue Wang
69e93ab7f6 usb: optimize g12a & g12b usb phy reset timing.
PD#173329: usb: optimize g12a & g12b usb phy reset timing.

Change-Id: Ib1ffe45d418a6ec023d19e888c54d60cac226473
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-09-12 03:27:55 -07:00
Nian Jing
eba5f69109 tvafe: optimiz 400ms for paln identification
PD#172974: optimization for paln identification

Change-Id: I8e1e130c79e5d77ce7038cced09eda86be4ca753
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-09-12 03:27:32 -07:00
pengcheng chen
cccccd7680 osd: add osd blend shift workaround
PD#163001: osd: add osd blend shift workaround(default disable)

Change-Id: Ic488f9414a35f5a8e2ba7ec789c2061fe526e804
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-09-12 03:10:25 -07:00
Yue Wang
d65d69a6ad usb: optimize g12a & g12b usb phy pll setting.
PD#173475: usb: optimize g12a & g12b usb phy pll setting.

Change-Id: Iaf2058849d9a112fbcc0e99cab38a65cf6efbd9a
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-09-11 23:05:50 -07:00
Yue Wang
1fef1fae05 kasan: fix bug report in xhci driver
PD#172700

KASAN found a use-after-free in xhci_free_virt_device+0x220/0x270
where xhci_free_virt_device() sets slot id to 0 if udev exists:
if (dev->udev && dev->udev->slot_id)
	dev->udev->slot_id = 0;

dev->udev will be true even if udev is freed because dev->udev is
not set to NULL.

set dev->udev pointer to NULL in xhci_free_dev()

The original patch went to stable so this fix needs to be applied
there as well.

Change-Id: I552b245ac7a047d8190a59bd18876cd650f289a1
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-09-11 22:47:14 -07:00