From 3db9388b5059b2b391c6b4f03f38fbbefd86c842 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 bc928e59aeb8..95655f5b1df5 100644 --- a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c +++ b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c @@ -3712,8 +3712,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 !=