diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2020-01-21 11:32:02 +0800 |
---|---|---|
committer | Peter Lin <linpeter@google.com> | 2020-02-10 06:30:10 +0000 |
commit | 98c922d699f420a22f70fbd7d2f22170e5cbdb9d (patch) | |
tree | dc1efeeb2ed076f9cb4b6efc638534f3088fcc8d | |
parent | b893cc4ab7f3f471b391e6081085f094db3a9bee (diff) | |
download | display-98c922d699f420a22f70fbd7d2f22170e5cbdb9d.tar.gz |
hwc: Disable 8 bit rounding in the PGC
Bug: 147715605
Bug: 147462157
Test: check gamma curve
Change-Id: Idbd403e57f3fbb423b8eb76af74091d94a697d12
-rw-r--r-- | sdm/libs/core/drm/hw_color_manager_drm.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sdm/libs/core/drm/hw_color_manager_drm.cpp b/sdm/libs/core/drm/hw_color_manager_drm.cpp index af9e1456..26cc7aa4 100644 --- a/sdm/libs/core/drm/hw_color_manager_drm.cpp +++ b/sdm/libs/core/drm/hw_color_manager_drm.cpp @@ -495,11 +495,7 @@ DisplayError HWColorManagerDrm::GetDrmPGC(const PPFeatureInfo &in_data, return kErrorMemory; } - if ((in_data.enable_flags_ & kOpsEnable) && - (in_data.feature_id_ == kGlobalColorFeaturePgc)) - mdp_pgc->flags = PGC_8B_ROUND; - else - mdp_pgc->flags = 0; + mdp_pgc->flags = 0; for (int i = 0, j = 0; i < PGC_TBL_LEN; i++, j += 2) { mdp_pgc->c0[i] = (sde_pgc->c0_data[j] & kPgcDataMask) | |