Commit Graph

646360 Commits

Author SHA1 Message Date
xuhua zhang
4a68f21cec vdin: fix the green point problem.
PD#167113: vdin: fix the green point problem.

When the vdin probe function is open,
there will be a green point at coordinate(0,0).
We need close vdin probe function default.

Change-Id: I47d1c4787a6633d2b044df5c8c0690137acce4f7
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
2018-06-05 16:37:01 +08:00
tao zeng
a7cb2216f1 mm: reduce cache line size to 64 bytes to save memory
PD#166821: mm: reduce cache line size

If cacheline size is set to 128, then smallest kmalloc is 128, this will
cause low memory usage for slab and waste lot of memory. For ARM64,
cacheline size is hardware set to 64 bytes. Reduce to 64 bytes can improve
usage for slab. And can help to save memory.

Change-Id: Id7f39bec324345d3e21f2a4e954803179fb54004
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-06-05 00:30:44 -07:00
Hang Cheng
8c3828fb51 hdmirx: keep esm work after signal unstable
PD#165782: hdmirx: keep esm work after signal unstable

Change-Id: I8a79276d48cdfb15c4b9d2833378b54591500b89
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-06-04 22:48:14 -07:00
Evoke Zhang
51bd7f3f4d backlight: ldim: add new flow for brightness update when ldim_func disabled
PD#167480: add new flow for brightness update when ldim_func disabled
fix issue: can't update brightness when ldim_func disabled

Change-Id: I66b5fac432ac5178e7ea176048b9e7bac8ca889b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-06-04 21:04:44 -07:00
Sandy Luo
01915831be dts: u211: add G12 g211 512M DDR dts
PD#167732: add for 512M ddr project

Change-Id: Idcd49ed80886f21c418b7d6cc20472a3655157af
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-06-04 04:17:34 -07:00
Evoke Zhang
4022870f26 lcd: change vx1 reset tasklet to workqueue
PD#167224: lcd: change vx1 reset tasklet to workqueue

Change-Id: Id124a9133feda4d0c894c5c651a14115b7ca7216
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-06-04 02:00:20 -07:00
Bo Yang
f1d595ed14 efuse: use sprintf instead of printk in show functions
PD#134355: use sprintf instead of printk in show functions

Change-Id: I79b104b3417b0f7d202ec1cde026ea6bad9c2103
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-06-04 01:23:27 -07:00
MingLiang Dong
cfe3685971 hdr: set bt2020 output when connect hdr tv
PD#165557: hdr set bt2020 output when connect hdr tv

Change-Id: I7409d48cffe471bd1276dc2158bfbc9d39073726
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2018-06-04 00:12:25 -07:00
Yi Zhou
751632f107 hdmitx: use bt2020 colorimetry when connecting BT2020 TVs
PD#165557: hdmitx: use bt2020 colorimtery when connecting
BT2020 TVs

Change-Id: I4af19ac0e70df60eb469b67fbc567d31ec6f0f4b
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-06-04 14:27:52 +08:00
nengwen.chen
33049edfb4 atv_demod: Optimize atv demod when search. [1/2]
PD#167151: atv_demod: Optimize atv demod when search.

Change-Id: Iae643c898cc8b19314c6cc5e5d02a20b71ba392f
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-06-03 19:54:15 -07:00
tao zeng
9cbd99daf1 ramdump: add ramdump support for kernel [4/6]
PD#165764: add ramdump support

1. Add Makefile and driver of ramdump;
2. Flush all cache before panic reboot;
3. Change panic reboot reason when ramdump is disabled;
4. Add dts support/open watch dog for chips.

Change-Id: Ieeb418f038bfda119c3156a7f8f8b05c8bc58ad2
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-06-03 02:57:35 -07:00
Nian Jing
446ebd1696 tvafe: optimize for atv stability
PD#166590: fix system hanging on atv/dtv switch

Change-Id: Iad558abc74bf37fe926c968bb217bd043e3b90b1
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
2018-06-01 01:33:59 -07:00
Dezhi Kong
c119759b78 di: ensure mif path reset to default
PD#165270: di: ensure mif path reset to default

Change-Id: I122a48efc49ef89cab5b647e3af7ea6d78e5f4fb
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2018-06-01 00:46:18 -07:00
manhao liang
c1065e6c7d dvb: AV SYNC register func instead of func pointer.
PD#167562: dvb av sync: register func instead of func pointer.

Change-Id: Ia28f30d99e9ffb27236ec5d4d0da94451a013e6d
Signed-off-by: manhao liang <manhao.liang@amlogic.com>
2018-05-31 21:34:14 -07:00
Yong Qin
1e75841e39 cec: add transwitch cec config [1/1]
PD#165002: cec: for support transwitch cec ip

Change-Id: I05ec182bbb1962a3a0b42702f87ff15e9de681b0
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2018-05-31 19:53:09 +08:00
Brian Zhu
64ae81e077 vpp: init vd1 pps dummy data as black
PD#166890: vpp: init vd1 pps dummy data as black

Change-Id: Id248bdcb201ada504776e7eefc4cf1d47ae1eeb3
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2018-05-31 03:42:16 -07:00
rongrong zhou
45ed48e2ef video: video not smooth issue
PD#163845 video: video not smooth issue

1. merge  STARKPLAT-2290

[Problem]
When doing fast seek (Netflix swim) in secure non-tunneled
playback case, the PTS info for frames before seek can still
be sent from sf/hwc to display driver and mess up with the
time management for frames after seek, which caused frame
dropping at display driver due to a later PTS (from playback
before seek) is set as reference time.

[Solution]
Add a new meta data to mark the PTS record is for which playback
session so display driver can ignore any PTS set from previous
session.

2. kodi render first frame, then drop issue.

Change-Id: I0d91d7b1674a40ce58c0ebc20f820f3395704a51
Signed-off-by: rongrong zhou <rongrong.zhou@amlogic.com>
2018-05-31 02:46:01 -07:00
Yi Zhou
6c6be9bcfa hdmitx: add default edid in drm
PD#158474: hdmitx: add default edid in drm

Change-Id: Ia9faa12f00a5cd01550dea1f1fe136d99e697f87
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-05-30 22:35:33 -07:00
Kaifu Hu
c1149537a8 hdmitx: config DDC to 50kHz [4/4]
PD#167050: hdmitx: config DDC to 50kHz

Config DDC to 50kHz for HDMI2.0 CTS HF1-55.
HDMI Spec require that I2C timing shall
comply with the Standard Mode.

Change-Id: I3b3314b6df81089850a082c01e34175e3c2079d4
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-05-30 02:32:53 -07:00
Evoke Zhang
7ed9aace4a backlight: ldim: optimize get config flow [2/3]
PD#166898: backlight: ldim: optimize get config flow
also correct local dimming spelling mistake

Change-Id: Iea2c7802e9fa55ad2e587126e1281ec9b34113e2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-05-30 01:30:55 -07:00
pengcheng chen
7633ab0e3b osd: FBIO_WAITFORVSYNC expand to 64bit caused chrome crashed
PD#167080: osd: FBIO_WAITFORVSYNC expand to 64bit caused chrome crashed

1. used FBIO_WAITFORVSYNC and FBIO_WAITFORVSYNC_64

Change-Id: Ia4a457f876fad24c6d1df60f3ea1b5fdc7f6bd8a
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-05-30 00:19:25 -07:00
Jian Hu
22e8345f00 pwm: fix array out of bounds
PD#165090: pwm: fix array out of bounds

Change-Id: I5fbc06619cbbc04dc998ea68e4f4a23cdb2e20a0
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
2018-05-30 00:00:47 -07:00
Bo Yang
388c439cf3 arm64: dts: add amlogic jtag support for g12a
PD#165810: add amlogic jtag support for g12a

Change-Id: I6f3fa717a54f027155c41496c50e2ffaae009c33
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
2018-05-29 23:49:47 -07:00
Sunny Luo
3f6d2c768f spicc: add enhanced features of oen, clock divider
PD#164751: spicc: add enhanced features of oen, clock divider

1. use the definite and significative name "has_oen" and
   "has_enhance_clk_div" to replace the unclear "is_enhance".
2. add some comment about enhance clk divider.

Change-Id: I9ffe51aaf696cdb09b5e486d60b5378c6433783e
Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
2018-05-29 23:10:28 -07:00
Larson Jiang
0dfaf2ae30 BT: fix bluetooth power issue for AP62X8
PD#166763: fix bluetooth power issue for AP62X8

Change-Id: I4cdf2e3af67a47908a55113cf05dd9fdffd1e0cd
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-05-29 22:22:40 -07:00
tao zeng
4b607551d1 mm: optimize for cma free time
PD#165878: mm: optimize for cma free time

Fix bad parameter error and using high efficient free method.

Change-Id: I5fa1373644a373b3dd94775c5c29891f7f6f7420
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-05-29 20:23:36 -07:00
wenfeng.guo
241dc9bb02 vlock: adjust enc mode
PD#162336: vlock: adjust enc mode

1) separate vlock code from amve.c
2) optimize vlock default setting.
3) adjust enc mode
4) add manual enc soft adjust

Change-Id: Ie180c7fb6d9b1aa1fa016dd39bfa401197a5ac85
Signed-off-by: wenfeng.guo <wenfeng.guo@amlogic.com>
2018-05-29 01:51:58 -07:00
Kaifu Hu
4db0efd03b hdmitx: fix VSDB block parsing error
PD#160588: hdmitx: fix VSDB parsing error

It cann't parse YUV format when using special
edid with support YUV.

Change-Id: Ic17e3b3dc1f26694252e608fa2e609d08578aa71
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-05-28 21:05:18 -07:00
Yue Wang
05bcd153b0 usb: fix usb phy 1 reset bug.
PD#167234: usb: fix usb phy 1 reset bug.

Change-Id: Iac4c59a95f8a85553ac665e675a47f1a733cc1a8
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2018-05-29 10:17:04 +08:00
binqi.zhang
4b623299e4 GEM: allocated buffer size must be PAGE_SIZE alignment
PD#158474: do PAGE_SIZE alignment before initializing gem object

Change-Id: I98723ed2a22cfdc279253e06725482a656535184
Signed-off-by: binqi.zhang <binqi.zhang@amlogic.com>
2018-05-28 06:22:59 -07:00
manhao liang
b208d6cc7f frame_sync: optimize AV SYNC procession.
PD#165368: frame_sync: optimize AV SYNC procession.

Change-Id: Ib9f11c059b9c2985878f83f428cebc5f70bdd0fd
Signed-off-by: manhao liang <manhao.liang@amlogic.com>
2018-05-28 05:47:12 -07:00
Xing Wang
d409afc9a5 Audio: dts: disable pwrdet
PD#167203: Disable pwrdet for u200

Change-Id: Ied661fe8f578ef7a60ff9a9dda82408ad13a77ba
Signed-off-by: Sandy Luo <sandy.luo@amlogic.com>
2018-05-28 17:12:33 +08:00
nengwen.chen
2a1926bbf9 atv_demod: Modify atv v4l2 dev number
PD#166852: atv_demod: Modify atv v4l2 dev number.

Change-Id: I6dfa226715d5e3908a20add4c93f0ba554a769dc
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-05-27 22:39:48 -07:00
Evoke Zhang
23d9f454f8 lcd: mipi-dsi: optimize retry_enable management [2/2]
PD#166330: lcd: mipi-dsi: optimize retry_enable management,
change mipi-dsi check_state after retry flow finished.
fix issue: mipi panel status is incorrect sometimes when lcd enable.

Change-Id: I5fc30f46589274b1cc2fda735c166779233ce1c2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2018-05-27 20:23:03 -07:00
Jihong Sui
95a15520ca hdr: add osd lut table for nts test
PD#164627: hdr: add osd lut table for nts test

1. debug fs : /sys/kernel/debug/hdr/cfg_en_osd_100
	1: enable new osd lut table (for nts test)
	0: use old osd lut table
2. dts: amlvecm:cfg_en_osd_100
	1: enable new osd lut table (for nts test)
	0/not define: use old osd lut table

Change-Id: If3c51eaba58f7d83188b8920ad7dca78d3b38c19
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2018-05-27 18:35:01 -07:00
Zongdong Jiao
715a75cd69 hdmitx: add hdcp topo information [3/5]
PD#165815: hdmitx: add hdcp topo information

1. add SYSFS 'hdcp_topo_info' to represent HDCP22 Topology
2. rewrite SYSFS 'hdcp22_type', should be controlled by Daemon

Change-Id: Ie9f748c5592a32b8658b63186429794e877fd41c
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2018-05-26 16:25:57 +08:00
Bencheng Jing
25d1c8cd56 video: change rgb pattern matrix coefficient from 601 to 709
PD#167037: video: optimize rgb2yuv for 709

Change-Id: I25d9085ddcdde467ac8f33b4795488f3f395ced2
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
2018-05-25 00:08:12 -07:00
pengcheng chen
278ced8afb osd: updated vinfo when it is not null every frame
PD#167032: osd: updated vinfo when it is not null every frame

Change-Id: If914fc39d014e2a1c2db564d427292977edc7530
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-05-24 23:09:57 -07:00
Nan Li
1708210d46 sdio: modify Cfg_irq_sdio_sleep reg set err
PD#166568: modify Cfg_irq_sdio_sleep reg set error.

Change-Id: I82946b321a729b378968466edee50ce3f8817bff
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-05-24 19:40:52 -07:00
Zhe Wang
1adfaf6518 audio: add EQ/DRC control[1/3]
PD#166486: add EQ/DRC kcontrol

Change-Id: I9b49960b0f0d8e82a46e1b9670e3352e9289e3bc
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2018-05-24 04:54:17 -07:00
Yi Zhou
c29b05457f hdmitx: fix bsod and path dealy under hdcp22
PD#166207: hdmitx: fix bsod and path dealy under hdcp22

1.HDMITX_TOP_HDCP22_BSOD[25] doesn't use bsod
2.HDCP22REG_CTRL[6.7] match path delays
  between hdcp path and non-hdcp path

Change-Id: I295804895f715687f975ab8ecfb7ea348999095a
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-05-24 00:46:16 -07:00
Jianxin Qin
8f35a11fa4 usb: modify the fifth compliance test partner
PD#163486: usb: modify the fifth compliance test parnter

Change-Id: Ic30f709ca278413576879b4ff5acc789f72c74d8
Signed-off-by: Jianxin Qin <jianxin.qin@amlogic.com>
2018-05-23 22:39:38 -07:00
kele bai
348e23ccb5 di: fix nr pq load error
PD#162226: di: fix nr pq load error

1) move nr gate ctrl before nr init
2) fix skip logic error
3) load ctrl reg in irq avoid affect pre sequence

Change-Id: I9b5438f55e42eabfa37e10a04dc0f3026bbbd595
Signed-off-by: kele bai <kele.bai@amlogic.com>
2018-05-23 03:25:05 -07:00
nengwen.chen
276b415992 atv_demod: Add atv afc [2/2]
PD#166320: Add atv afc(Modify module params use).

Change-Id: I2d9d84c742ab1ce56c99ff8e40b483bd01d4d237
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2018-05-23 02:12:27 -07:00
Xing Wang
cc26d57309 audio: auge: init spdif_b when bootup and add channel status
PD#165171: audio: auge: init spdif_b when bootup and add channel status

Change-Id: I001d74a0f21fb3f02edf741bd3b87d45dfddcd5f
Signed-off-by: Xing Wang <xing.wang@amlogic.com>
2018-05-23 01:11:30 -07:00
Kaifu Hu
2c4f36cf8e hdmitx: add dolby debug info
PD#164913: hdmitx: add dolby debug info

Add dolby debug info.

Change-Id: I65156223b66bcb95c31e8b60a602f834bacf89f2
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
2018-05-23 00:30:41 -07:00
Yan Wang
43ea2d9687 SMC: secmon: uniform SMC call interface.
PD#160539: check secmon dev in dts and uniform SMC call interface.

 1. SMC call interface is provided by ARCH.
    arm_smccc_smc(...)
 2. check secmon device is registed or not.

Change-Id: I5bd58747db5b167ab8ad59be083f31e7b6395bbf
Signed-off-by: Yan Wang <yan.wang@amlogic.com>
Signed-off-by: jiamin ma <jiamin.ma@amlogic.com>
2018-05-22 19:55:07 -07:00
Hang Cheng
27ceb5fe97 hdmirx: optimize timing format detection
PD#164010: hdmirx: optimize timing format detection

Change-Id: Ibf868664d4fda5fa21d4e80cfcc6575b25acd500
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2018-05-22 06:44:25 -07:00
Chuangcheng Peng
1e9ab046a2 demux: modify interrupt no for dmx 2
PD#165368: enable dmux 2 work

Change-Id: Ic21bbc30c8b2cc7eeedd9206c1f355156554646f
Signed-off-by: Chuangcheng Peng <chuangcheng.peng@amlogic.com>
2018-05-22 06:35:17 -07:00
pengcheng chen
d18a71e502 osd: return if vinfo is null
PD#165381: osd: return if vinfo is null

Change-Id: I21b7de315859268f51b185a77ad221ded5a2d755
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-05-22 02:17:46 -07:00