mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
amvecm: fix dnlp_en enable/disable not work [1/1]
PD#SWPL-7782 Problem: dnlp_en enable/disable not work Solution: add tm2 support for dnlp enalbe/disable Verify: tm2 Change-Id: Ia0cf32a8f155b1e364b2aaf096f70f4f0a1ed50a Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
@@ -622,7 +622,7 @@ void ve_enable_dnlp(void)
|
||||
if (dnlp_sel == NEW_DNLP_IN_SHARPNESS) {
|
||||
if (is_meson_gxlx_cpu() || is_meson_txlx_cpu())
|
||||
WRITE_VPP_REG_BITS(SRSHARP1_DNLP_EN, 1, 0, 1);
|
||||
else if (is_meson_tl1_cpu())
|
||||
else if (is_meson_tl1_cpu() || is_meson_tm2_cpu())
|
||||
WRITE_VPP_REG_BITS(SHARP1_DNLP_EN, 1, 0, 1);
|
||||
else
|
||||
WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 1, 0, 1);
|
||||
@@ -638,7 +638,7 @@ void ve_disable_dnlp(void)
|
||||
if (dnlp_sel == NEW_DNLP_IN_SHARPNESS)
|
||||
if (is_meson_gxlx_cpu() || is_meson_txlx_cpu())
|
||||
WRITE_VPP_REG_BITS(SRSHARP1_DNLP_EN, 0, 0, 1);
|
||||
else if (is_meson_tl1_cpu())
|
||||
else if (is_meson_tl1_cpu() || is_meson_tm2_cpu())
|
||||
WRITE_VPP_REG_BITS(SHARP1_DNLP_EN, 0, 0, 1);
|
||||
else
|
||||
WRITE_VPP_REG_BITS(SRSHARP0_DNLP_EN, 0, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user