Commit Graph

649818 Commits

Author SHA1 Message Date
huijie.huang
d73d13eacf dts: mbox add video11 and video12 for screencontrol [1/2]
PD#SWPL-13022

Problem:
mbox needs to support screencontrol

Solution:
add video11 and video12 node

Verify:
SM1-AC202

Change-Id: I1197fceb6cdc2d220318bbd87281b55dff98a665
Signed-off-by: huijie.huang <huijie.huang@amlogic.com>
2019-09-02 19:46:12 -07:00
zhiwei.yuan
a1cd76a48c vdin: improve robustness of vdin drvier for reentry case [1/1]
PD#SWPL-13492

Problem:
disable irq cnt don't equal to enable

Solution:
corrent mutex mechanism for vdin driver

Verify:
verified by t962x2_x301

Change-Id: I9d33c8297c9ed4d155233948d1d6bb7dfc6ca4a4
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-09-01 23:59:50 -07:00
Cheng Tong
0e1da739ae dts: increase i2c3 clock frequency to 300k [2/2]
PD#SWPL-13393

Problem:
demod init cost about 8s

Solution:
increase i2c3 clock frequency

Verify:
on s905x3

Change-Id: I6e69629f088599f2e3b36f36d4da35df4d65034a
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
2019-09-01 18:51:49 -07:00
Evoke Zhang
a878e1ffe2 tvafe: add pq table management [1/1]
PD#SWPL-12842

Problem:
tvafe pq setting logic is not very clear

Solution:
add pq table management for different port and format

Verify:
x301

Change-Id: I9d7ae16166c73a997d9697e61bf77a87ba743d5c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-09-01 07:28:42 -07:00
shaochan.liu
ae6e22e9b7 lcd: add driver for pmu data check [2/2]
PD#TV-6928

Problem:
CS602 need pmu data check

Solution:
add i2c_CS602 driver with pmu data check

Verify:
t962x3_ab301

Change-Id: I1d1f33cbb63cb4f3b3fc308d610411091cb2a65d
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2019-09-01 07:25:54 -07:00
Tao Zeng
becb83999e mm: fix wrong kasan report [1/1]
PD#SWPL-13281

Problem:
There are 2 types of wrong kasan report after merge change of
save wasted slab.
1, slab-out-of-bounds, which is caused by krealloc set shadow
   memory out-of-range, since tail of page was freed.
2, use-after-free, which is caused by kasan_free_pages called
   after a page freed. Because this function already called in
   free_page, so it marked shadow memory twice.

Solution:
1, make shadow do not out of range if a tail page was freed and
   been realloc again.
2, remove call of kasan_free_pages.

Verify:
X301

Change-Id: Ib5bdcbb618a783920009bb97d112c361888b0d7c
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-08-28 23:36:43 -07:00
yao liu
6a108be69d dv: enable drop frame for dv [1/1]
PD#SWPL-13115

Problem:
Apk drop lots of frames before render
the first frame, in this case, omx_run
is false and no frames will render.
Decoder doesn't have free output buffer.

Solution:
Drop dv frames in video sync before render
the first frame if app want to drop.

Verify:
Verified on U212

Change-Id: I463619f658d7f78ad8d513e17ca78482e17b3a4e
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-08-28 22:13:09 -04:00
jiejing.wang
b8e5a27344 spdif: fix reboot system crash [1/1]
PD#SWPL-13288

Problem:
reboot system crash

Solution:
when shutdown don't disable sysclk

Verify:
verify by x301

Change-Id: I46f319aeef5ed92e257d3e75728b1a705d981189
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
2019-08-28 01:45:33 -07:00
MingLiang Dong
d4c3d2833b amvecm: remove tm2 cm curve setting [1/1]
PD#SWPL-13141

Problem:
The first time the video is played after booting,
the probability flashes a pink screen

Solution:
remove tm2 cm curve setting

Verify:
verify on TM2

Change-Id: I8d99e6ee203fbbb48154ed0aaf101465a0f18cb4
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-08-28 01:28:29 -07:00
jintao xu
abe7f97e63 amvideo: add drop frame debug interface [1/1]
PD#TV-9005

Problem:
Statistical pip actual frame dropping

Solution:
add drop frame debug interface

Verify:
AB301

Change-Id: Ibf035691b9d991eee68a274aaba36afa2b1a5c53
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2019-08-28 01:06:58 -07:00
qi duan
40e1a40141 ETH: remove release open when resume for amlogic phy. [1/1]
PD#SWPL-13132

Problem:
stammac release/open when resume will change the dma addr.
if stmmac_xmit and stmmac_tx_work are running at the same time
it will cause panic

Solution:
remove stmmac_release/open call in stmmac_resume for chip
g12a/g12b/tl1/tm2

Verify:
verify on TL1

Change-Id: I5abf2ccf72c39483bbd1cce7b9e24bf596f30d0f
Signed-off-by: qi duan <qi.duan@amlogic.com>
2019-08-28 00:32:20 -04:00
MingLiang Dong
6e65b0befa hdr: default hdr policy follow source [1/1]
PD#SWPL-11602

Problem:
default hdr follow sink, sdr video color is different from standard sdr

Solution:
default hdr policy follow source,  UI switch follow sink or follow source

Verify:
verify on G12A

Change-Id: Ie668f06d45bb3881ee71ac4580dc3bf8f107dafa
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
2019-08-27 21:12:31 -07:00
qi duan
de3ec4f734 ETH: do eth reset bit when resume. [1/1]
PD#SWPL-12780

Problem:
internal phy can not connect network probably
after long stress suspend test

Solution:
In suspend/resume sequeue, add eth reset

Verify:
verify on TL1 and G12b

Change-Id: Id8f6767686f4e4d52774d9ac28dac46549a52d4c
Signed-off-by: qi duan <qi.duan@amlogic.com>
2019-08-27 21:11:32 -07:00
Guosong Zhou
1bd0ac64f0 camera: fix gc2145 mipi camera mirror [1/1]
PD#SWPL-12760

Problem:
camera preview interface left and right invert

Solution:
adjust gc2145 mipi camera mirror register

Verify:
S905D3-AC200

Change-Id: I1789e5d055bf8661e6ec30f67e6e8db4a6fc99f6
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
2019-08-27 19:56:54 -07:00
Brian Zhu
3ed4e45501 dv: add more condition to reset the control path [1/1]
PD#SWPL-11314

Problem:
When playing profile 4, multiple resolution and dual layer dv
streaming, switching non-4k to 4K (DOVI->SDR), need do once
control path reset since the core1 setting is not correctly.

Solution:
Improve the condition to reset control path

Verify:
Verified on AC211

Change-Id: I229a33228377bd9ff7811b4a25e973eeba8af66d
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-08-27 06:50:50 -07:00
Dezhi Kong
3b92eb4596 drm: add TL1 drm support [1/1]
PD#SWPL-7987

Problem:
TL1 DRM support

Solution:
add TL1 DRM support

Verify:
t962x2_x301

Change-Id: Ibc8ff641f42c0a416e80c3a420c1d808e0ad8b26
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2019-08-27 03:57:42 -07:00
Rui Wang
93f34aa427 video: modify the statistics of new frame count [1/1]
PD#TV-8725

Problem:
STR standby, wake up, takes a long time, takes 5-6s.

Solution:
When the first frame is displayed,
the statistics start new frame count.

Verify:
Verified with X301

Change-Id: Ib318455959fe9688f3c697b1d562388547002877
Signed-off-by: Rui Wang <rui.wang@amlogic.com>
2019-08-27 03:26:49 -07:00
Evoke Zhang
a477f52caf cvbsout: fix cgms config mistake for NTSC [1/1]
PD#OTT-5683

Problem:
NTSC cgms signal is incorrect

Solution:
fix cgms config mistake

Verify:
u212

Change-Id: I4a3dce8d6b3439be974a8aea48ca1d445feee25b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-27 01:37:18 -07:00
Jihong Sui
e24752e370 deinterlace: set post phase to 8 when crop left odd [2/2]
PD#SWPL-13223

Problem:
there is a white line on left when crop left is odd

Solution:
set post mif phase to 8;

Verify:
TL1

Change-Id: Ic39e15f5c1d07e756ecc4909366af35d1472dc29
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-08-26 23:54:20 -07:00
Pengcheng Chen
9611846594 vpp: set vd mif chroma init hphase to 8 when h crop start is odd [1/2]
PD#SWPL-13223

Problem:
when crop left is odd, the video has white edge

Solution:
if vframe not processed by di,
set vd mif chroma init hphase to 8 when h crop start is odd

Verify:
verify on T972

Change-Id: Ica57503e6eebd57972129513304ae39b445ccf77
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-08-26 20:03:17 -07:00
Dezhi Kong
a91ebe6e28 drm: merge commit related to gamma [1/1]
PD#SWPL-11059

Problem:
gamma setting in DRM

Solution:
merge commit related to gamma

Author: Ao Xu <ao.xu@amlogic.com>
Date:   Tue Oct 30 19:18:21 2018 +0800

    drm: add meson private property gamma_lut

    When setting CTM, gamma is also set again.
    Setting gamma frequently will lead to visual glitches.
    Add a private value to record whether
    gamma_lut blob is changed.

    Bug: b/113682067
    Test: Ran on device and changed gamma to verify there are no glitches

Author: Fergus Simpson <afergs@google.com>
Date:   Fri Aug 10 13:18:36 2018 -0700

    [Estelle] Enable top/bottom color clamping

    Modifies amvecm's color clipping to allow either the lower or upper
    limit to be set. This sets clipping registers that hold the top and
    bottom 10-bit clipping values for each color channel.

    This does not cause the artifacts that we've been seeing while trying
    enable the gamma tables.

    Usage (set a clip of 32/255):
    echo 20080020 > /sys/class/amvecm/color_bottom

    Bug: 109942195
    Test: Flashed to device and tested with a internal changes that use the
          registers.

Author: Frank Chen <frank.chen@amlogic.com>
Date:   Wed Aug 8 15:21:17 2018 +0800

    remove gamma_enable in am_meson_crtc_create

Verify:
verify by u200

Change-Id: I4221b3b4671516e7afd4dea14ce3cd71b4b66433
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2019-08-26 19:22:00 -07:00
zhiwei.yuan
1e8aadecdc dtv_demod: tl1 dtmb Suppress 0dB echo capability mode 5 test failed [1/1]
PD#SWPL-13072

Problem:
coefficient is not match 24M clk

Solution:
setting 24M clk coefficients

Verify:
verified by t962x2_x301

Change-Id: Ia8fc41f7aa3a9c99619ffae017c80056423c230e
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-08-26 02:09:00 -07:00
Hang Cheng
bcfaffd3b6 hdmirx: optimize for hdcp22 [1/1]
PD#SWPL-13130

Problem:
on LG UBK80-N DVD, hdcp22 auth passed before esm reset,
auth status will be reset, result in black screen

Solution:
delay hdcp22 auth to after esm reset

Verify:
TXLX

Change-Id: I4e7fe60cf3117712eea5f8b1eec65d544b557a48
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2019-08-26 02:04:25 -07:00
Evoke Zhang
52b05ba04b dts: tvafe: update cutwindow for tl1 [1/1]
PD#SWPL-8866

Problem:
atv line freq adjust is not qualified

Solution:
update cutwindow

Verify:
x301

Change-Id: Iaeaa2fbf27db22ad17ef2700e70f7af424a2539a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-26 01:14:50 -07:00
Evoke Zhang
256ef2624c hdmitx: disable clk when vout disable hdmitx [1/1]
PD#SWPL-12382

Problem:
active hdmitx clk will cause cvbsout clk cleared by bl30 auto limitation

Solution:
disable hdmitx clk when vout disable hdmitx

Verify:
p281

Change-Id: Ie9da30173d682901e9160a0db9c775c204a770f9
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-26 01:14:07 -07:00
zhiwei.yuan
5bad6566dd vdin: XGIMI,keytone,Wake up after STR stb,screen is always black [1/1]
PD#SWPL-12972

Problem:
vdin regs has been set to default when entering suspend.

Solution:
don't set regs since upper layer will not start again after resume.

Verify:
verified by t962x2_x301

Change-Id: Ic1042e0b1a9ba4482fe79c51606e366f60e31f59
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-08-26 01:10:36 -07:00
Yong Qin
57a88b2925 vdin: vdin pixel probe [1/1]
PD#SWPL-13123

Problem:
add vdin pixel proble function

Solution:
1.matrix sel
2.post select
3.pixel proble

Verify:
TL1

Change-Id: I56f8898e92fee71662952481f06ed32e77b396ce
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-08-25 23:42:12 -07:00
Brian Zhu
9cf8e6049c dv: update el vf correctly [1/1]
PD#SWPL-12849

Problem:
Update meta and el function was called incorrectly. It
will cause the BL and EL mismatch.

Solution:
Correct the calling sequence to get correct EL frame

Verify:
Verified by AC211

Change-Id: I6c9f0221a9facd361fcd18dcda55cc3967593c1c
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-08-25 22:34:55 -07:00
Brian Zhu
008e13b1bf vpp: remove line int rdma operation for g12b revb [1/1]
PD#SWPL-9266

Problem:
Using line int rdma will randomly cause dv/hdr register setting
incompleted during one vsync.

Solution:
Disable line int rdma operation. Always enable dv/hdr core
for osd.

Verify:
Verified on galilei revb

Change-Id: I8622896ab0432ef3d9db843aa5ab6d06168aad2a
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-08-25 21:16:07 -07:00
Yue Wang
2596c65b16 usb: detect stop endpoint race using pending timer instead of counter. [1/1]
PD#SWPL-13177

Problem:
stop endpoint race

Solution:
A counter was used to find out if the stop endpoint completion raced with
the stop endpoint timeout timer. This was needed in case the stop ep
completion failed to delete the timer as it was running on anoter cpu.

The EP_STOP_CMD_PENDING flag was not enough as a new stop endpoint command
may be queued between the command completion and timeout function, which
would set the flag back.

Instead of the separate counter that was used we can detect the race by
checking both the STOP_EP_PENDING flag and timer_pending in the timeout
function.

Verify:
franklin

Change-Id: Ie958ffd530a6bd176d0cf451894a5bd4dece38da
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
2019-08-23 03:38:54 -07:00
Brian Zhu
66d07045d3 vpp: enable sr function when DV enable with non-cert mode [1/1]
PD#SWPL-12722

Problem:
Previously, disabled the SR function when DV on. Since we want
to pass the dv certification without any external flag setting.
But it will affect the PQ function in SR after g12a.

Solution:
Just enable SR function under DV on. Only disable it under
certification mode.

Verify:
Verified on u212

Change-Id: I01bb8cad3fd48246f5af884f84dcc280f85908a1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-08-23 00:08:07 -07:00
Ruixuan Li
25a55cbcd4 emmc: run hs400 200M on sm1 [1/1]
PD#SWPL-12424

Problem:
run hs400 166M on sm1 now

Solution:
modify dts

Verify:
passed on sm1_ac200

Change-Id: I28f5f8da3481c9f2a19e27bc8e430a3379ec6b2a
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2019-08-22 22:54:12 -07:00
Gongwei Chen
540c031cbb dts: ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836 [1/3]
PD#SWPL-12874

Problem:
ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836

Solution:
ac214 add tunner DVB-S2+ISDB-T:AV2018+CXD22856+R836

Verify:
Verify by Android P ac214

Change-Id: If7cd5f35b12b44a2080ff0c9d1e3d90d5d3d96a9
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
2019-08-22 22:27:20 -07:00
jiejing.wang
b8753b466b spdif: fix standby power consumption is too high [1/1]
PD#SWPL-12461

Problem:
standby power consumption is too high

Solution:
1.when standby set spdif pin low
2.when standby set GPIOAO_2 low

Verify:
verify by U212

Change-Id: I29699688288b0e09529b7a35a4559ff1fad9891e
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
2019-08-23 12:20:42 +08:00
yao liu
e88a8902a3 dolby: enable DV output in uboot [4/6]
PD#SWPL-392

Problem:
black screen 1s during kernel boot at 4k30hz.
The reason is vic is 0.

Solution:
Init vic when hdmi init.

Verify:
G12A

Change-Id: I0e055ddb1fcd9ee4c7bc009c9160176a0c101d8b
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-08-22 21:27:49 -07:00
yao liu
9dd987e9d9 dolby: enable DV output in uboot [2/6]
PD#SWPL-392

Problem:
transition from uboot to kernel is not smooth

Solution:
enable DV output in uboot and kernel check if
dolby enabled in uboot

Verify:
G12B/G12A

Change-Id: I7f310794cf18a54c15a6f059c460e8dcdf9c25aa
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-08-22 21:25:39 -07:00
nengwen.chen
1c879d93ac atv_demod: optimize calls with other modules [1/1]
PD#TV-9100

Problem:
1.optimize calls with other modules.

Solution:
1.optimize calls with other modules.
2.add ext file interacts with other modules.
3.add sync to prevent NULL pointer crashes.

Verify:
Verified by x301

Change-Id: Id1930400454b020616e0c669cae5f473f498b6de
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-08-22 21:10:55 -07:00
Jihong Sui
80866337ec deinterace: close cue except local play [1/1]
PD#SWPL-12404

Problem:
red and green stripes dividing line flash black line

Solution:
close cue(422/444) except local play(420)
VLSI-yanling suggest

Verify:
TL1

Change-Id: Ied1554d6a0e64e00aea1e692ab6b405f87387095
Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
2019-08-22 21:09:39 -07:00
Zongdong Jiao
706c6a4e45 hdmitx: remove unnecessary sentences [2/2]
PD#SWPL-12305

Problem:
Rx may lost synchronization when Tx switches modes

Solution:
remove unnecessary sentences

Verify:
SM1/AC213

Change-Id: Iba88a9a558cce822ff939ad98a992dcf5161eba7
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-08-22 20:16:56 -07:00
Evoke Zhang
bcf2621f08 tvafe: update 0x01 setting for tl1 avin ntsc-m [1/1]
PD#SWPL-13114

Problem:
ntsc-m display is too dark

Solution:
increase brightness for tl1 avin ntsc-m

Verify:
tl1

Change-Id: Ifd2b59119095dddf565deb6497c5bb67192e230a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-22 20:15:51 -07:00
Evoke Zhang
2b897109be backlight: iw7027: disable 50/60hz config change [1/1]
PD#TV-9072

Problem:
backlight flicker in 50hz display mode for iw7027

Solution:
disable iw7027 50/60hz config change

Verify:
txlx

Change-Id: I9fb9f202f69946a04753fd0d7399ffe228524dce
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-22 20:15:14 -07:00
nengwen.chen
161619d7b1 atv_demod: fix secam-l/l' recognition and audio output [1/4]
PD#TV-7982

Problem:
fix secam-l/l' recognition and audio output.

Solution:
1.fix secam-l/l' recognition and audio output.
2.atv demod version: V2.13.

Verify:
Verified by x301

Change-Id: Ie09b635f132397b3c438aa3ff62f2ef915eb3462
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-08-22 05:17:32 -07:00
Evoke Zhang
4d9130d59e tvafe: update snow playing nosig state [1/1]
PD#SWPL-12778

Problem:
atv signal can't recover after hot plug cable

Solution:
update snow playing nosig state

Verify:
x301

Change-Id: I143ca203c60e5090d41e543306f3929b4544af0c
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-08-22 02:28:02 -07:00
Ao Xu
1f2c3eb99d drm: add gem import interface to support drm-hwc [1/1]
PD#SWPL-11320

Problem:
current gem driver have not implementted the import interface.
For drm-hwc in android, gralloc allocate the dumb buffer, it
should use the import interface to import the allocated buffer
to the drm driver.

Solution:
implement the gem import interface

Verify:
g12a-u200

Change-Id: I32f7705fd67853a1000875b2af69fcaf700330e1
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2019-08-22 02:18:50 -07:00
Ao Xu
ecb30a5231 drm: add meson drm debugfs node [1/1]
PD#SWPL-12289

Problem:
drm driver has no debug sysfs file

Solution:
add follow sysfs node
1. dump the osd register
/sys/kernel/debug/dri/%minor%/vpu/reg_dump
2. dump the gem buffer image
/sys/kernel/debug/dri/%minor%/vpu/dump
3. set the gem buffer image store path
/sys/kernel/debug/dri/%minor%/vpu/imgpath
4. set 1 to disable the osd plane
/sys/kernel/debug/dri/%minor%/vpu/blank

Verify:
g12a-u200

Change-Id: I10746d65b09d3b530dc22720b8cee669fa120dde
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2019-08-22 02:18:31 -07:00
Zhe Wang
ebe3765560 audio: fixed regression of TV-8378 [1/1]
PD#SWPL-13063

Problem:
dd/ddp/dts isn't decoded when window swithing

Solution:
fixed regression of TV-8378

Verify:
X301 T972

Change-Id: Id85dde4b06af9ae9609a5ed269d884fa8500044b
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-08-22 01:30:50 -07:00
Ao Xu
98ea8959e7 drm: add afbc support in drm driver [1/1]
PD#SWPL-13092

Problem:
drm driver has no drm support

Solution:
add afbc block support

Verify:
g12a-u200

Change-Id: If2e57b63032e9f93be800bda652b80e560163231
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
2019-08-22 00:53:18 -07:00
Tao Zeng
66930ace57 dmc: add function to set up dmc from bootargs [1/1]
PD#TV-8696

Problem:
DMC can't set up from bootargs. For easy debug, we need
set a monitor from bootargs.

Solution:
Add a funciton for this feature. You can using following patten
to set up a DMC monitor:

	dmc_montiro=[start_addr],[end_addr],[mask]

Example:
	setenv initargs $initargs dmc_monitor=0x0,0x20000000,0xff58
	This command set up monitor for following device on GXL:
	RANGE:0 - 20000000
	MONITOR DEVICE:
	    HDCP
	    HEVC
	    USB3.0
	    VPU READ1
	    VPU READ2
	    VPU READ3
	    VPU WRITE1
	    VPU WRITE2
	    VDEC
	    HCODEC
	    GE2DV

Verify:
P212

Change-Id: I864ff97325981fe62f18a4a4a24700b6b6ea7482
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-08-22 14:06:03 +08:00
Pengcheng Chen
678cc4f7b8 osd: add viu2 reg write optimize [1/1]
PD#TV-8354

Problem:
keystone screen blank probability,
viu2 reg write caused blank

Solution:
add viu2 reg write optimize, update reg that needed

Verify:
tl1

Change-Id: I17d1cdca2f9dec270ec61bd413b9f9753ab548a8
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-08-21 19:11:02 -07:00
Xihai Zhu
5f8c274cbb pixel_probe: enable the device for tl1 [2/2]
PD#SWPL-11790

Problem:
probe device is not enable

Solution:
have probe device enabled in tl1 device

Verify:
TL1

Change-Id: I6d6d5ecca2ab70cc0dec8973252f69587bc50915
Signed-off-by: Xihai Zhu <xihai.zhu@amlogic.com>
2019-08-21 00:58:43 -07:00