mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
hdr: fix cvbsout display green screen [1/1]
PD#SWPL-11964 Problem: cvbsout display green screen Solution: add mtx_setting in video_post_process Verify: tm2 ab301 Change-Id: I6de1b4aeb08583a67f20317ee4ac6b3bc577d03b Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
This commit is contained in:
@@ -877,6 +877,15 @@ void video_post_process(
|
||||
break;
|
||||
}
|
||||
|
||||
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 if (!(vinfo->mode == VMODE_NULL ||
|
||||
vinfo->mode == VMODE_INVALID))
|
||||
mtx_setting(POST2_MTX,
|
||||
MATRIX_YUV709_RGB, MTX_ON);
|
||||
}
|
||||
|
||||
if (cur_sdr_process_mode[vd_path] !=
|
||||
sdr_process_mode[vd_path]) {
|
||||
if (cur_source_format[vd_path] == HDRTYPE_SDR)
|
||||
|
||||
Reference in New Issue
Block a user