mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
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>
This commit is contained in:
@@ -6839,7 +6839,8 @@ static void video_process(
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user