summaryrefslogtreecommitdiff
path: root/samsung/exynos_drm_connector.h
diff options
context:
space:
mode:
authorMidas Chien <midaschieh@google.com>2020-12-15 16:36:00 +0800
committerMidas Chien <midaschieh@google.com>2020-12-23 17:24:41 +0000
commit0b3c348ae5bed403c893a4e6aa12064c7ec67040 (patch)
tree3e9354e19e14b913ba8d7433191e8413c7042b35 /samsung/exynos_drm_connector.h
parentd57f2a5955f7f3b8c1ac63acb6efac1f260a407f (diff)
downloaddisplay-0b3c348ae5bed403c893a4e6aa12064c7ec67040.tar.gz
drm: samsung: update underrun and cmd_te ctl when fps is changed
DSIM_UNDERRUN_CTRL, DSIM_CMD_TE_CTRL0 and DSIM_CMD_TE_CTRL1 need to be updated base on fps when refresh rate is changed to make underrun detection work correctly. Calculate underrun_lp_ref at runtime based on current refresh rate if cmd_underrun_cnt is not specified. Bug: 174830564 Test: enable `Smooth Display` do some test without noise rectangle noise and underrun occurs. Test includes launch apps, scrolling, video playing, youtube, suspend/resume, rotation, AoD Test: limit DISP max clock to reproduce noise rectangle symptom and check underrun count keep increasing Signed-off-by: Midas Chien <midaschieh@google.com> Change-Id: Ie88bd689e03c487b0e3287bfbf7ad94f08e0b1e5
Diffstat (limited to 'samsung/exynos_drm_connector.h')
-rw-r--r--samsung/exynos_drm_connector.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/samsung/exynos_drm_connector.h b/samsung/exynos_drm_connector.h
index d744e68..a8f92f2 100644
--- a/samsung/exynos_drm_connector.h
+++ b/samsung/exynos_drm_connector.h
@@ -39,8 +39,6 @@ struct exynos_display_underrun_param {
unsigned int te_idle_us;
/* @te_var: te variation (percentage) to calculate underrun_lp_ref */
unsigned int te_var;
- /* @max_vrefresh: refresh rate used to calculate underrun_lp_ref */
- unsigned int max_vrefresh;
};
/**