vpp: if vinfo mode is null or invalid, not update post2_matirx [1/1]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Thu, 1 Aug 2019 08:16:24 +0000 (16:16 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 2 Aug 2019 06:42:43 +0000 (23:42 -0700)
commit3ea69f24add76944d64643ad9cbb776f4af23b6b
treea23c6dc7e9fe04c061a7236e87e7af69173622ce
parent68c15bcce10e938bebc849a19e554dcb5a1d460e
vpp: if vinfo mode is null or invalid, not update post2_matirx [1/1]

PD#SWPL-11561

Problem:
UI display abnormal when switch from sdr tv to dv tv,
issue happened when dv tv support hdr also, it first
switch to hdr mode, then switch agian to dv mode.

Solution:
if vinfo mode is null or invalid, not update post2_matirx

Verify:
Verify on sm1

Change-Id: I6cc87ae2d5569d66b312bf47508e626298f9f98a
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/enhancement/amvecm/amcsc.c