Commit Graph

649417 Commits

Author SHA1 Message Date
nengwen.chen
c12f8957d4 atv_demod: fix atv non standard signal audio handle [1/1]
PD#TV-6044, PD#TV-6047

Problem:
ATV sound output has noise when input non standard signal.

Solution:
1.fix atv non standard signal audio handle.
2.remove atv audio source selection in audio module.
3.atv demod selects audio source according to signal.
4.atv demod version: V2.12.

Verify:
Verified by x301

Change-Id: Ie0fce492f1ce7f5a5866d8674c95c97ee32452c0
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-06-12 01:19:07 -07:00
Zhe Wang
e777da8862 audio: atv source selected by atv demod [1/1]
PD#TV-6044, PD#TV-6047

Problem:
ATV sound output has noise when input non standard signal.

Solution:
release atv source select function to atv demod

Verify:
x301.

Change-Id: I96e58531150c3f20946ab636d701296328215686
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-06-12 14:38:46 +08:00
Jianxiong Pan
f20028e059 defect: fix the errors caused by cross-gcc-4.9 compiler. [1/1]
PD#SWPL-9181

Problem:
have the errors when using the cross-gcc-4.9 compiler.

Solution:
fix it.

Verify:
tm2_ab311.

Change-Id: I3dcc5e982c520baeaf19ca246764db10f36dd079
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
2019-06-11 19:05:35 -07:00
Hanjie Lin
0abf9870aa firmware_drv: should not use AMSTREAM_MAJOR [1/1]
PD#SWPL-9538

Problem:
firmware_drv and amstream shouldn't use the same AMSTREAM_MAJOR

Solution:
add a dedicated FIRMWARE_MAJOR for firmware_drv

Verify:
ac200

Change-Id: I3f041c220a9d0ea3329296dc81618dd85e8d466c
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-06-11 04:04:06 -07:00
Zhe Wang
7b18ac567c audio: fixed dtv audio clk setting error in samesource [1/1]
PD#SWPL-9593

Problem:
dtv audio is heard slower in spk

Solution:
when mclk is changed, spdif clk changes correspondingly in samesource case

Verify:
X301

Change-Id: I15fcb598ba893762580f0a5aac856376af8c94ec
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-06-11 03:50:22 -07:00
Zhe Wang
c94668b9d9 audio: SM1/TM2: bringup EQ/DRC module [1/1]
PD#SWPL-7606

Problem:
EQ/DRC module is out of work

Solution:
bringup EQ/DRC module

Verify:
verified on ac200

Change-Id: Ibd9b1e65aaed2ecd5f3086e4325d6b92fe34b040
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-06-11 03:49:32 -07:00
Jian Cao
071d1368a6 osd: mali afbcd memory out of bound [1/1]
PD#TV-6683

Problem:
DMC error log as "ID:VPU READ1, sub: 7"

Solution:
make afbc disable, if afbc phy addr is 0

Verify:
verified on TL1-X301

Change-Id: I111c8e2e922877904dd8b8d1f276f79ca4f68e94
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
2019-06-11 02:42:00 -07:00
shaochan.liu
98d7562b34 lcd: add protection for tcon memory size [1/1]
PD#SWPL-9502

Problem:
need avoid when set error tcon memory size

Solution:
add protection for tcon memory size

Verify:
t962_x301

Change-Id: I40c295c9ebcb26a991dc66b4fb2a7f0d006d4359
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2019-06-11 02:04:41 -07:00
Pengcheng Chen
588a79245a osd: set viu2 hold line value to default value [1/1]
PD#TV-6244

Problem:
viu2 hold line too big caused v display offset

Solution:
1.set viu2 hold line value to default value

Verify:
Verified by tl1

Change-Id: Ie39baca7dd729e913735b7806acbc0a9cbb4559b
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
2019-06-11 16:46:29 +08:00
shaochan.liu
556ba87a2a lcd: VPU: encl input buffer reset delay and limit input buffer din phase [1/1]
PD#SWPL-6649

Problem:
encl input buffer reset delay and limit input buffer din phase

Solution:
set sync_vpp go filed back to encl_clk

Verify:
t962x3_ab301

Change-Id: I3fc681d408950e7647cfb08bb19bc66f2f8719b6
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
2019-06-10 23:30:08 -07:00
Tao Zeng
e9fd8597f4 dmc: adding a data to identify violation stauts [1/1]
PD#TV-5802

Problem:
irq of dmc violation happens very qiuckly, which may
have some wrong report if violation print in workqueu.

Solution:
Add a data to identify it. If data is null, then it's a
fake violation

Verify:
txhd

Change-Id: I402763fa2d20cfae3dc2d9647f7b2c2fb29ce966
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
2019-06-10 20:31:36 -07:00
nengwen.chen
150b354ece atv_demod: fix frequency closer when channel searching [1/1]
PD#TV-6452, PD#TV-6643, PD#TV-6144

Problem:
fix frequency closer when channel searching.

Solution:
1.fix frequency closer when channel searching.
2.Frequency offset cause errors in CVBS or audio recognition.

Verify:
Verified by x301

Change-Id: Ieab13a5b5d8d901cfc61ea09e5e47eb9e938bf34
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-06-10 01:12:15 -07:00
Yong Qin
5ff88f14fe vlock: finetune encl mode [1/1]
PD#SWPL-8874

Problem:
vlock and phase lock encl mode not works

Solution:
deverlop the function

Verify:
tl1

Change-Id: Ic72fda0a5b31cdcd0d77de688dd46fcce4bb7e29
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-06-09 23:55:11 -07:00
yao liu
e38de5dc6d dv: The first frame is abnormal when play video [1/1]
PD#SWPL-6480

Problem:
core1 reg is set wrong for g12 and tm2

Solution:
correct core1 reg for g12 and tm2

Verify:
verified by u212

Change-Id: Ie9de107fce6f23ded1397827ebe95a00939df8c1
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-06-09 21:27:02 -07:00
nengwen.chen
cbfcbcea21 atv_demod: enable the nicam switch [1/1]
PD#TV-6144

Problem:
enable the nicam switch.

Solution:
1.enable the nicam switch.

Verify:
Verified by x301

Change-Id: I3961233c6093b372692098ddbb24737063ad59de
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-06-09 20:19:57 -07:00
Luan Yuan
7a73b8c5bb dts: add dts config for P281. [3/3]
PD#SWPL-9298

Problem:
add dts config for P281

Solution:
add dts config for P281(from P212)
the difference as follows:
framebuffer from 1080p to 720p
gpu max freq from 750 to 666

Verify:
verify by p281

Change-Id: Ice6bcbd11fd831daeb6620d1780628494c8a10fa
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-06-09 20:15:58 -07:00
shihong.zheng
42eacf0dd7 ptsserv: add first pts64 check in. [1/1]
PD#OTT-4173

Problem:
video stuck after seek. first pts64 is
abnormal when lookup failed.

Solution:
add first pts64 checkin for lookup failed.

Verify:
w400

Change-Id: Ibb2a15815311598cf47c242cb4c369da0f0cbdd2
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
2019-06-08 11:46:02 +08:00
Peng Yixin
d4bcab228e vpp: fix out of one pixel between video and the red frame [1/1]
PD#TV-5764

Problem:
Goto the wrong case when using ext_sar

Solution:
Using the correct case when using ext_sar

Verify:
verified on r311

Change-Id: I181b9e8d21917840729f2e487b3dae3f41cd2c5a
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
2019-06-05 22:36:37 -07:00
Ruixuan Li
6112c545e1 emmc: change emmc busmode from hs400 to hs200 [1/1]
PD#SWPL-9326

Problem:
hs400 200M not stable on some platform

Solution:
modify dts to hs200 mode

Verify:
passed on g12b_revb tl1 sm1 tm2

Change-Id: I45670c979b62a2caeed1e7ebc35b035bbbf8968c
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2019-06-05 22:24:18 -07:00
pan.yang
5bb8220ebd dts: tm2: add new board [1/1]
PD#SWPL-9342

Problem:
new board requirement for tm2_t962x3_t312

Solution:
add tm2_t962x3_t312

Verify:
tm2_t962x3_t312

Change-Id: Ifb62e1c40c6eb5dc68da1e2aac5fca391c3143bf
Signed-off-by: pan.yang<pan.yang@amlogic.com>
2019-06-05 22:23:42 -07:00
Hanjie Lin
698401a733 defconfig: enable CONFIG_BLK_DEV_RAM [1/1]
PD#SWPL-8728

Problem:
{vts}[SEI 510] VtsKernelLtp module 2 fail
fgetxattr02 test failed

Solution:
enable CONFIG_BLK_DEV_RAM

Verify:
u212

Change-Id: I81c42803757f830f4da11fcb18baeaf28074cf26
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-06-05 22:23:14 -07:00
yao liu
7df453e5ca DV: playback bl+el black screen [1/1]
PD#SWPL-7872

Problem:
TM2 special case , vd2 afbc can't work on TM2

Solution:
Process bl+el as SDR on TM2

Verify:
T962e2

Change-Id: I2433b72c4b5548e75665aba9623a29cd5f12d202
Signed-off-by: yao liu <yao.liu@amlogic.com>
2019-06-05 22:21:46 -07:00
Zongdong Jiao
221652b16b hdmitx: edid: add suitable case for DolbyVision [1/1]
PD#SWPL-7888

Problem:
DV tests add more EDID cases
v2_yuv444_2_yuv422_0_int_3_12Byte.xml
v2_yuv444_0_yuv422_0_int_2_13Byte.xml
v2_yuv444_0_yuv422_0_int_2_16Byte.xml

Solution:
add suitable case for DolbyVision

Verify:
G12/U212

Change-Id: I323d49ad34b12b6a12ba93f0349f0398f2516bcb
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2019-06-04 23:52:40 -07:00
he.he
c44defab4c usb: panel type-c need support adb and u-disk [1/1]
PD#SWPL-9127

Problem:
the id pin of the type-c is aways high, whether it is connected to u disk
or usb cable.

Solution:
It need set vbus high when the usb mode is host only.

Verify:
test passed on sm1

Change-Id: I4ff8a9b5419b54828ecd797a78d149da98535dee
Signed-off-by: he.he <he.he@amlogic.com>
2019-06-04 22:52:46 -07:00
Shuai Li
4cfa3d7b51 audio: audio ABUS stuck issue [1/1]
PD#SWPL-9142

Problem:
Audio Abus may be stuck if it is stopped
when the burst is not finished.
And the stuck can't be recovered
unless reboot the system.

Solution:
Add check to make sure that the transfer
is over then start to disable the toddr fifo.

Verify:
TL1 stress test.

Change-Id: I28dcf84ddec421bc70370b2544f0bf1f3272e7b4
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
2019-06-04 22:51:51 -07:00
Jiacheng Mei
702cb62dc3 dts: reduce isp reserved mem [1/1]
PD#SWPL-70

Problem:
arm isp can't get reserved mem

Solution:
reduce isp reserved mem

Verify:
w400

Test: camera preview and capture OK

Change-Id: Icaf630a25a55d31ec3ed68cae48fb840017c9fc0
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
2019-06-04 20:01:34 -07:00
Xiaoming Sui
1306510227 avsync: tsync: fix avsync issue when streams replayed [2/2]
PD#TV-6448

Problem:
when streams replayed, the video is blocked about 6s sometimes.

Solution:
when streams replayed,  if pcr clock enable, then recalculate the
pcr clock for system clock from the stream to sync the video and audio.

Verify:
X301

Change-Id: Ic414fdc102753e1e1dcedfef2a5cb76ddddf6383
Signed-off-by: Xiaoming Sui <xiaoming.sui@amlogic.com>
2019-06-04 07:54:40 -07:00
Luan Yuan
e8962fa778 dts: change codec mm size to 192M. [1/1]
PD#SWPL-9156

Problem:
memory overread error

Solution:
fixed play movie error

Verify:
verify by ac202/u202

Change-Id: I15e459a4fe044b02a5e958293c1516f8b7795096
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
2019-06-04 04:54:06 -07:00
Evoke Zhang
b480d6ba32 tvafe: change force_nostd adjust to sysfs node [1/1]
PD#TV-5482

Problem:
Image flicker for non-std avin,
because the force_nostd parameter is modified to a unsuitable value.

Solution:
remove force_nostd paramete,
add sysfs node support for force_nostd

Verify:
x301

Change-Id: Ic50a311c6b5a63bcbd1d56651713de5be60a38a2
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-06-03 23:16:36 -07:00
Ruixuan Li
6b09864f01 emmc: modify the emmc device driver strength to type 0 [1/1]
PD#SWPL-8806

Problem:
the driver strength is type 1 on sm1

Solution:
modify sm1 dts

Verify:
passed on sm1_ac213

Change-Id: Iea5093541dc0bbd08954e78827309a45a84efc60
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2019-06-03 23:00:50 -07:00
Zhe Wang
bb20eab151 audio: enable clk before extern codec init when system resume [1/1]
PD#TV-6005

Problem:
change time sequence for extern AMP

Solution:
1) enable tdm clk before codec init, when system resume

Verify:
test on X301

Change-Id: I3d6411cd32fbc3496bed942c72b7bec408d66959
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-06-03 22:59:32 -07:00
Laura Abbott
39b402e731 staging: android: ion: Call dma_map_sg for syncing and mapping [2/2]
PD#SWPL-9254

Problem:
uncached display unexpectly.

Solution:
Technically, calling dma_buf_map_attachment should return a buffer
properly dma_mapped. Add calls to dma_map_sg to begin_cpu_access to
ensure this happens. As a side effect, this lets Ion buffers take
advantage of the dma_buf sync ioctls.

Verify:
galilei, franklin

Change-Id: Ib6ca06e59e81031d3c65c2df8824b46baaba6c9f
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
2019-06-03 21:31:12 -07:00
Laura Abbott
2cf78c3aa3 staging: android: ion: Duplicate sg_table [1/2]
PD#SWPL-9254

Problem:
Ion currently returns a single sg_table on each dma_map call. This is
incorrect for later usage.

Solution:
dup sg table on each dma_map call

Verify:
galilei, franklin

Change-Id: I6df2baa33bba9303b2ac25210ebaf56a337d56a2
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiyu Yang <Jiyu.Yang@amlogic.com>
2019-06-03 21:29:23 -07:00
Brian Zhu
1017beaa38 vpp: create a variable for cm input size [1/2]
PD#TV-5968

Problem:
Too many case for cm input size with differnet chips.
SR0+SR1+PPS.

Solution:
Add a variable to indicate the cm input size.

Verify:
on r311

Change-Id: I5f1024340c67edbdf646c1b5bb7cad95b93b7b92
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
2019-06-03 19:23:19 -07:00
jintao xu
768040fd56 pipvideo: fix cur_pipbuf not set to NULL when disable video before unreg [1/1]
PD#OTT-4262

Problem:
When disable video before unreg, cur_pipbuf will not set to NULL.
Next time playback will tog this buffer.

Solution:
Free cur_pipbuf when vd2 is closed in unreg.

Verify:
U212

Change-Id: Ie381ae9feda8a5d23a93b3a5974d9c0af87e6d6e
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
2019-06-03 19:22:18 -07:00
zhiwei.yuan
86db0fd0e2 dtv_demod: mosaic is seen when cable pulg/unplug several times [1/1]
PD#SWPL-8182

Problem:
signal has problem after fec lock during cable plug-in

Solution:
delay fec lock

Verify:
verified by t962x2_x301

Change-Id: I7ec8c8651ecb25cc91673829bd17d4d70dd8b6a3
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
2019-06-03 19:21:44 -07:00
Zhe Wang
8ab285c67f audio: set resample clk to mclk of tdm [1/2]
PD#TV-5865

Problem:
hdmiin frequency responds test fail.

Solution:
set resample clk to mclk of tdm

Verify:
X301

Change-Id: I22c92219bcea534bdec2bc526d535cacd971faa5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
2019-06-03 18:53:05 -07:00
Shunzhou Jiang
efc28c832f clk: sm1: add sm1 dsu clk notify for change dsu freq [1/1]
PD#SWPL-8145

Problem:
dsu clk can't change freq

Solution:
add sm1 dsu clk notify

Verify:
sm1_skt

Change-Id: If3ecf1066b49c07e6af69ce342956cb0469a5f87
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
2019-06-03 04:09:31 -07:00
Evoke Zhang
1e43395b55 tvafe: optimize display for line frequency scan range [1/1]
PD#TV-5770

Problem:
atv line freq offset -220hz display abnormal

Solution:
optimize acd_64/66 reg setting

Verify:
x301

Change-Id: I41fec1513a735ea6cd5975b18f01e8f80afe4f51
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-06-03 04:00:41 -07:00
Lifeng Cao
f08c28c26d video: Some interlace stream will stuck when pts rebound [1/1]
PD#TV-6236

Problem:
Some interlace stream di has buffer count more than 16
If video pts rebound in this stream. The condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16) is
not true. So this frame can not toggle always.

Solution:
Delete this condition that
(abs(omx_pts_set_index - next_vf->omx_index) <= 16)

Verify:
verify TL1

Change-Id: I7e8c12ec72d086b0516f7c7490b492e16e36e8fe
Signed-off-by: Lifeng Cao <lifeng.cao@amlogic.com>
2019-06-03 04:00:11 -07:00
Evoke Zhang
d38acf1fac tvafe: vbi: optimize search_table performance [1/1]
PD#TV-4910

Problem:
vbi search_table for invalid data will cost more cpu resource

Solution:
optimze search_table performance to save cpu resource

Verify:
x301

Change-Id: If92aa4e6d58894c6b78833cd367eacd8e9a76d5b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
2019-06-03 02:48:02 -07:00
shuanglong.wang
f2a40545f3 video: clear pcr in video stop [1/1]
PD#SWPL-6903

Problem:
pcr increase automatic after system reset

Solution:
in non-tunnel mode, only after video stop post will adjust pcr
in omx_secret_mode. Also clear pcr in video stop

Verify:
verify by nts

Change-Id: I528229e8121a99e50c7b8313bd8dc867e3710ad8
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
2019-06-03 02:45:20 -07:00
Nanxin Qin
80e67deb06 media: add interface for checks the video profile. [1/2]
PD#SWPL-8648

Problem:
add interface for checks the video profile

Solution:
add interface for checks the video profile

Verify:
u212

Change-Id: I95d0df62fae2debc6c0cc5a4d2adf002122b7630
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
2019-06-03 02:44:30 -07:00
Hanjie Lin
feae23f568 ftrace: enable preempt and irqsoff tracer default [1/1]
PD#SWPL-7807

Problem:
preempt and irqsoff tracer is disabled by default

Solution:
enable preempt and irqsoff tracer default for debug

Verify:
sm1

Change-Id: I825f1d1cfb53209a0bd5b361a58a04cd1c90cb96
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-06-03 01:27:15 -07:00
Hanjie Lin
40a0d15528 sched: disable EAS on non-big-little platforms [1/1]
PD#SWPL-8759

Problem:
disable EAS on non-big-little platforms

Solution:
disable EAS on non-big-little platforms

Verify:
w400, u200

Change-Id: I11845def9efaa2e1da8fd30ac26daeb0dc47eda4
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2019-06-03 01:26:02 -07:00
nengwen.chen
b61f4c685b atv_demod: fix a2/nicam/mono sound output power [1/1]
PD#TV-6140

Problem:
fix a2/nicam/mono sound output power.

Solution:
1.fix a2/nicam/mono sound output power.

Verify:
Verified by x301

Change-Id: I0dc192cd841d2b1c4d25d2d6c5569a69575ce735
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
2019-05-31 09:22:17 -07:00
Hang Cheng
7447ea231f hdmirx: add edid data splice function [1/1]
PD#SWPL-8467

Problem:
1.no index parse for edid data block
2.no earc capabilities data structure parse
3.no earc cap data structure splice function
4.no cta data block splice/remove function

Solution:
1.add edid data block index parse
2.add earc capabilities data structure parse
3.add splice function of earc cap data structure
4.add splice/remove function of data block to edid

Verify:
TL1

Change-Id: I47b9f2176c31c65a08cdc657c00398f88cbdd7d3
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
2019-05-31 09:21:40 -07:00
Gongwei Chen
b949c1a39a audio: Speaker has no sound [1/1]
PD#IPTV-3107

Problem:
Speaker has no sound

Solution:
modify dts and ad82584f

Verify:
Verify by Android P S905D3 AC202

Change-Id: I92ddb6a86b31dcd2c37311a0fc9b1a2cefc29d4e
Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
2019-05-31 09:21:10 -07:00
Xingyu Chen
b196b70cd7 arm64: dts: remove the adc_keypad node for ac213 board [1/1]
PD#SWPL-8711

Problem:
the adckey driver maybe reports unexpected event when the configured
channel is dangling.

Solution:
the board does not support adckey, remove the adc_keypad node in dts

Verify:
test pass on ac213

Change-Id: I78eeb608928c1d455f6c659127e75f3d77d09541
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
2019-05-31 09:19:18 -07:00
Yong Qin
1d2569d954 vdin: Flash blurre screen when change hdmi 4k timing [1/1]
PD#SWPL-8153

Problem:
Flash blurre screen when change all 4K format

Solution:
if no video buffer resouce, needn't set afbce regiter
when need switch afbc mode.

Verify:
tl1

Change-Id: Ifb867cdeda2b6d3536246b79531a5bf9027e01a1
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
2019-05-31 02:13:47 -07:00