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>
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) ||