mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
hdr: fix the bug that sdr can't switch to hdr for g12a
PD#166004: hdr: fix the bug that sdr can't switch to hdr for g12a Change-Id: Ia7c14f86d63aa8b00617c47abad14e2eab96d2f6 Signed-off-by: Jihong Sui <jihong.sui@amlogic.com>
This commit is contained in:
@@ -4893,7 +4893,8 @@ static int vpp_matrix_update(
|
||||
if (sdr_mode == 2) { /* auto */
|
||||
if ((vinfo->hdr_info.hdr_support & 0x4) &&
|
||||
((get_cpu_type() == MESON_CPU_MAJOR_ID_GXL) ||
|
||||
(get_cpu_type() == MESON_CPU_MAJOR_ID_GXM)))
|
||||
(get_cpu_type() == MESON_CPU_MAJOR_ID_GXM)
|
||||
|| (get_cpu_type() == MESON_CPU_MAJOR_ID_G12A)))
|
||||
sdr_process_mode = 1; /*box sdr->hdr*/
|
||||
else if ((vinfo->viu_color_fmt == COLOR_FMT_RGB444) &&
|
||||
((get_cpu_type() == MESON_CPU_MAJOR_ID_GXTVBB) ||
|
||||
|
||||
Reference in New Issue
Block a user