From 85ea60fba6b57c8e0d85f098a04312d35156dccb Mon Sep 17 00:00:00 2001 From: Danny Wood Date: Sun, 21 Jul 2019 15:20:36 +0100 Subject: [PATCH] libvppdisplay: Always regenerate the winconfig to stop generating unreliable retire fences Change-Id: I1beaa0a57f60bd214fd0abdaefcfa205f6788196 --- libvppdisplay/ExynosDisplay.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libvppdisplay/ExynosDisplay.cpp b/libvppdisplay/ExynosDisplay.cpp index 17bfdeb..6148441 100644 --- a/libvppdisplay/ExynosDisplay.cpp +++ b/libvppdisplay/ExynosDisplay.cpp @@ -3298,6 +3298,7 @@ bool ExynosDisplay::isSourceCropfSupported(hwc_layer_1_t layer) return false; } +#if 0 bool ExynosDisplay::checkConfigChanged(struct decon_win_config_data &lastConfigData, struct decon_win_config_data &newConfigData) { for (size_t i = 0; i <= MAX_DECON_WIN; i++) { @@ -3320,6 +3321,13 @@ bool ExynosDisplay::checkConfigChanged(struct decon_win_config_data &lastConfigD } return false; } +#else +bool ExynosDisplay::checkConfigChanged(struct decon_win_config_data &/*lastConfigData*/, struct decon_win_config_data &/*newConfigData*/) +{ + /* Force this check to always return true, otherwise we have unreliable retire fences */ + return true; +} +#endif void ExynosDisplay::removeIDMA(decon_idma_type idma) { -- 2.20.1