From 175057d9c8aa39ce9d5f9da1e98741f2d052f465 Mon Sep 17 00:00:00 2001 From: Yi Zhou Date: Mon, 25 Feb 2019 20:02:11 +0800 Subject: [PATCH] dv: remove g12b ver B from the status of SDR mode [1/1] PD#SWPL-4582 Problem: g12 verA has a hardware bug.Therefore,dv cores must keep working even if under sdr mode Solution: g12B verB has fixed this bug, so remove this chip id Verify: verify by g12b revb Change-Id: Ice1aa1364319fa12d5a896fdfd106450f1a04d3d Signed-off-by: Yi Zhou --- .../media/enhancement/amdolby_vision/amdolby_vision.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c index d4d1c5861d7b..d5627d995948 100644 --- a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c +++ b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c @@ -3512,8 +3512,9 @@ static int dolby_vision_policy_process( *mode = DOLBY_VISION_OUTPUT_MODE_BYPASS; mode_change = 1; } - } else if (is_meson_g12a_cpu() || is_meson_g12b_cpu()) { - /*g12 has a hardware bug. Therefore, dv cores + } else if ((is_meson_g12b_cpu() && is_meson_rev_a()) || + is_meson_g12a_cpu()) { + /*g12 verA has a hardware bug.Therefore,dv cores *must keep working even if under sdr mode */ if (dolby_vision_mode !=