From: Pengcheng Chen Date: Fri, 21 Jun 2019 06:22:17 +0000 (+0800) Subject: osd: need set_afbcd enable for dv certification [1/4] X-Git-Tag: hardkernel-4.9.236-104~1007 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb43d620126ceb2da461f26ad2b67e7514499d60;p=platform%2Fkernel%2Flinux-amlogic.git osd: need set_afbcd enable for dv certification [1/4] PD#SWPL-10128 Problem: dv certification uncorrect Solution: need set_afbcd enable for dv certification Verify: Verified on sm1 Change-Id: I141769ee1ae4b1cf224513c62b84414d0638c6f5 Signed-off-by: Pengcheng Chen --- diff --git a/drivers/amlogic/media/osd/osd_hw.c b/drivers/amlogic/media/osd/osd_hw.c index 3e26a1b..ff65579 100644 --- a/drivers/amlogic/media/osd/osd_hw.c +++ b/drivers/amlogic/media/osd/osd_hw.c @@ -2156,13 +2156,12 @@ void osd_set_pxp_mode(u32 mode) } void osd_set_afbc(u32 index, u32 enable) { - if (osd_hw.osd_meson_dev.osd_ver == OSD_NORMAL) { - if (osd_hw.osd_meson_dev.afbc_type) - osd_hw.osd_afbcd[index].enable = enable; - osd_log_info("afbc_type=%d,enable=%d\n", - osd_hw.osd_meson_dev.afbc_type, - osd_hw.osd_afbcd[index].enable); - } + + if (osd_hw.osd_meson_dev.afbc_type) + osd_hw.osd_afbcd[index].enable = enable; + osd_log_info("afbc_type=%d,enable=%d\n", + osd_hw.osd_meson_dev.afbc_type, + osd_hw.osd_afbcd[index].enable); } u32 osd_get_afbc(u32 index)