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>
if (get_cpu_type() >= MESON_CPU_MAJOR_ID_G12A) {
if (vinfo->viu_color_fmt != COLOR_FMT_RGB444)
mtx_setting(POST2_MTX, MATRIX_NULL, MTX_OFF);
- else
+ else if (!(vinfo->mode == VMODE_NULL ||
+ vinfo->mode == VMODE_INVALID))
mtx_setting(POST2_MTX,
MATRIX_YUV709_RGB, MTX_ON);
}