Commit Graph

648050 Commits

Author SHA1 Message Date
Nian Jing
af75fdfd9a vdac: modify cpu_type definition
PD#174269: modify cpu_type definition

Change-Id: I2f2bfc8f25a1014b623ddd411e997233c2cb0307
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-10-11 10:42:44 +08:00
Nian Jing
42def0031c vdac: get cputype from dts
PD#174269: get cputype from dts

Change-Id: I50e240e8d1f2aa275a2c215989e02e8b51cb6738
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-10-10 03:43:25 -07:00
Jihong Sui
cb56da4fc1 di: fix 4K black screen issue
PD#162632: di: fix 4K black screen issue

1. this is a patch for afbc;
2. close afbc for di temporary;

Change-Id: Ic70cb526dab431ef7caf827c322efe207bb7991f
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2018-10-09 22:32:18 -07:00
Nan Li
3aad1bd3a7 emmc: optimize tuning opration num
PD#SWPL-421: modify tuning operation num 10->40.

Change-Id: Ife815f6ea2268038884a861ac2dac1931877a762
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-10-09 22:31:06 -07:00
nengwen.chen
e108b7612b atv_demod: fix demod will be unlocked when input frequence offset -0.25MHz [1/1]
PD#173985: fix demod will be unlocked when input frequence offset -0.25MHz

Change-Id: I0f9891c556456a2048d6cc846f0d349edb14a96e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-10-08 23:02:02 -07:00
he.he
09c5d469c3 usb: use-after-free in ffs_epfile_io+0x1c0/0x9b8
PD#174155: the io_data pointer have kfree in ffs_epfile_async_io_complete,
it can't use after that such as (if (io_data->aio)),
and this judgment is changed to if (data_flag>0).

Change-Id: I3b620b69bbf4e8040a43bd2435fdb836e11cc512
Signed-off-by: he.he <he.he@amlogic.com>
2018-10-08 22:52:29 -07:00
rongrong zhou
9c31a64401 video: ignore omx drop frame for dv
PD#173912

If omx_run is set to false and these frames are not dropped, then it
will be stuck at the first second

Change-Id: I629f11b10c25180604fa6e3cdfb858f299cc0e64
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2018-10-08 22:50:13 -07:00
Jianxin Pan
ef4f639218 mm: fix 2 MB memory lost problem for arm32
PD#173956

Change-Id: Ie5fe1865a43d343c8a6ba9defe5508b62679fe92
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2018-10-08 19:27:00 -07:00
Jianxin Pan
a5e7822628 ion: fix null page issue in alloc_buffer_page
PD#173802: Panic trace is
[<c011824c>] (dma_cache_maint_page) from [<c0118400>] (arm_dma_sync_single_for_device+0x58/0x60)
[<c0118400>] (arm_dma_sync_single_for_device) from [<c0118f24>] (arm_dma_sync_sg_for_device+0x60/0x8c)
[<c0118f24>] (arm_dma_sync_sg_for_device) from [<c07e52d0>] (ion_pages_sync_for_device+0x108/0x144)
[<c07e52d0>] (ion_pages_sync_for_device) from [<c07e71b4>] (ion_system_heap_allocate+0x38c/0x3bc)
[<c07e71b4>] (ion_system_heap_allocate) from [<c07e4c2c>] (ion_alloc+0x1e4/0x4d8)
[<c07e4c2c>] (ion_alloc) from [<c07e59f0>] (ion_ioctl+0x3b8/0x428)
[<c07e59f0>] (ion_ioctl) from [<c02a9368>] (do_vfs_ioctl+0xc0/0xa34)
[<c02a9368>] (do_vfs_ioctl) from [<c02a9d58>] (SyS_ioctl+0x7c/0x8c)
[<c02a9d58>] (SyS_ioctl) from [<c0108800>] (ret_fast_syscall+0x0/0x48)

Change-Id: I7e94ea05334693b6e9bfcc2400c9f7f3ff26736e
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
2018-10-08 19:25:37 -07:00
jiamin ma
6fc382ccb2 printk: fix user fault debug log in disorder issue
PD#154008: the log output is in disorder[2/2]

We should explicitly using pr_cont when try to print continuous
msgs in one line

Change-Id: I0d2f6f462c4b4b95898f9c33a5a1d138030e05e5
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
2018-10-08 13:55:43 +08:00
Shunzhou Jiang
1bc3303562 clk: G12A/G12B: fix gpu clk enable count error [1/1]
PD#173995: fix gpu clk enable count error

Change-Id: I31f7908507ea2cdb76284977cb17fbe3fc68ce5c
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
2018-09-30 07:44:25 -07:00
Jian Cao
23d7e040b2 osd: fix osd coverity error
PD#174272: osd: fix osd coverity error

Change-Id: I7eb1c40b9453f85c618b9bd3f2112eb854ff9ef7
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2018-09-30 07:41:58 -07:00
Jian Hu
e2ebe8b292 clock: fix coverity warning
PD#174376: clock: fix coverity warning

Fix suspicious implicit sign extension,
val << (shift), the val is defined as u16, after
shift to left,the val maybe overflow, a u32 variable
should instead of "val << (shift)".

Change-Id: I5b481c2b5d249426c20973fb261fb5ba905528f7
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-09-30 19:04:53 +08:00
Jihong Sui
0a3b4b87f5 di: support compress type progressive input
PD#162632: di: support compress input

1. for gxl, txlx, g12a;
2. change di post configuration;

Change-Id: Iff03f0e5bca379d593fade2ba6043538de9c81c7
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2018-09-29 23:14:10 -07:00
Xing Wang
bf6f44d90c audio: auge: check resample is inited
PD#163795: audio: auge: check resample is inited

Change-Id: Ib6f06f1e6f9d95a03a8ae5f968fd67af8c17f197
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-09-30 13:14:57 +08:00
Jian Hu
450bf2094a clock-measure: tl1: add clock measurement support
PD#172587: clock-measure: tl1: add clock measurement support

Change-Id: I14ab8859b205154bb89139e215fef5898efac681
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-09-29 06:05:18 -07:00
Bo Yang
91b9f08333 watchdog: meson: add watchdog support for tl1
PD#172587: watchdog: meson: add watchdog support for tl1

TL1's watchdog is same with G12A.

Change-Id: Iaa8c502e6a8889a33ed2875e7a16cca07873738a
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-09-29 06:04:42 -07:00
Jian Hu
45f3332958 i2c: meson: add support for tl1
PD#172578: i2c: add support for tl1

Change-Id: I8c761aabfc0c701e2e31eb23e437c9f0e30cf3fd
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-09-29 06:04:13 -07:00
Jian Hu
b8a2f778b1 clock: tl1: initial add tl1 clock driver
PD#172587: clock: tl1: initial add tl1 clock driver

Initial add tl1 clock driver refered to txlx clock driver.

Change-Id: I2f25c465ae7f3f4e65e842a9d0c35f0e0e75662f
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-09-29 06:03:18 -07:00
bichao.zheng
1920f10340 pwm: meson: add support for tl1
PD#172587: pwm: meson: add support for tl1

Add support for tl1.

Change-Id: I5db1be16765a8e2f2a07815e6d7d139eec4dcf16
Signed-off-by: bichao.zheng <bichao.zheng@amlogic.com>
2018-09-29 05:53:02 -07:00
Xingyu Chen
e5378c8b68 irqchip: meson: add gpio IRQ support for tl1
PD#172587: irqchip: add gpio IRQ support for tl1

Change-Id: I35480088e85c0bb26d04158ced42c3d85153f806
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-09-29 05:48:24 -07:00
Xingyu Chen
6da2e5835a pinctrl: meson: add pinctrl & gpio driver for tl1
PD#172587: pinctrl: add pinctrl & gpio driver for tl1

Change-Id: Ibd04477b8e6d586f4263cda9760b06c3e8e6ac72
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-09-29 05:47:45 -07:00
Xingyu Chen
07c97de874 chipid: meson: add chip id definition for tl1
PD#172587: chipid: add chip id definition for tl1

Change-Id: Icd45ea3b960de2d9094878f96a6da584cc5c6d55
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2018-09-29 05:45:09 -07:00
Yi Zhou
3f8384bdb8 dv: turn off overscan when dv on
PD#173674: dv: turn off overscan when dv on

Change-Id: Ib0b56402038812df1b5e540271608862a59f085e
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-09-28 23:38:49 -07:00
Xing Wang
bf64bfb4f2 audio: auge: fix spdif in & out work at the same time for ASRC
PD#163795: audio: auge: fix spdif in & out work at the same time for ASRC

1. fix spdifin toddr as right_j for asrc, not support asrc 32bit now
2. fix clk dir for set_sysclk
3. auto enable/disable asrc when switch raw data and pcm data source
4. fix lr channel swap when replug in
5. detect spdifin sample mode by max_width
6. force to clear spdif in sample rate irq bit for axg
7. enable spdif in for s420 boards

Change-Id: I83dc211815068b9d073fb20433c76ce9f129b40e
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-09-28 03:52:00 -07:00
Jiyu Yang
6affba0e44 arm: dts: tl1: add gpu dtsi for 32bit
PD#172587: arm: dts: tl1: add gpu dtsi for 32bit

Change-Id: I19699e911871b1daf374aa6e949f1b41a255e0f7
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
2018-09-28 02:52:05 -07:00
Bo Yang
ae2e8e908a arm: dts: tl1: add initial device tree for tl1
PD#172587: arm: dts: tl1: add initial device tree for tl1

Change-Id: I17734ee00d88a84ff19bf17f8edf519e3ed2f0e4
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-09-28 02:51:18 -07:00
keke.li
565f193b8a gdc: Sync the gdc dma buffer
PD#173042: gdc: Sync the gdc dma buffer

Change-Id: Id4f70c2379ab82519e3b3eeb780f8db17b4deeaf
Signed-off-by: Keke Li <keke.li@amlogic.com>
2018-09-28 02:46:10 -07:00
Bencheng Jing
308d7f2682 amvecm: change ve hist from limit to full range for tv chips
PD#173611: change ve hist from limit to full range for tv chips.

Change-Id: Ibe7050023a0e4fb740283c7aa2d3b82e37be0ab3
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-09-28 00:17:29 -07:00
pengcheng chen
6828707e8e ge2d: fix ge2d coverity error
PD#174270: ge2d: fix ge2d coverity error

Change-Id: I870b17d9665e3af435f36aacd64a3c9ce59d5f1b
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-09-27 22:57:12 -07:00
binqi.zhang
00c59f8371 ion_dev: fix detects in ion_dev
PD#166793: SWPL-198 Coverity for ion

Change-Id: I0f327888fc3fbb0247e489b8da9d1bc3dce03c23
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
2018-09-27 22:14:18 -07:00
Jianxin Pan
cdf977d3d8 Merge "audio: correct the 958 clock setting after dd+ pass through" into amlogic-4.9-dev 2018-09-27 07:31:05 -07:00
Xu Jian
65dbecf6bc audio: correct the 958 clock setting after dd+ pass through
PD#166264: correct the 958 clock

Change-Id: I3961bc21e9d9c13973ecdbc0d944b5411750f377
Signed-off-by: Shen Liu <shen.liu@amlogic.com>
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2018-09-27 11:22:55 +08:00
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