summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLong Ling <longling@google.com>2021-06-25 11:48:23 -0700
committerLong Ling <longling@google.com>2021-07-09 11:17:23 -0700
commit0990f769761cd0c7551079e461611af1f35c8fa5 (patch)
treee12ffacc5f59a1fd5faaf18454dfe5e75dc5635a /include
parentae00ee30dc518c832afd0a99a11c69cf6d5b199a (diff)
libhwc2.1: enable refresh rate mipi sync via drm prop
Enable refresh rate mipi sync via drm prop only when RR compensation regamma exists. Bug: 187763532 Change-Id: Ia368f656640bad32d33844a5ce3e32a8f70fe5e7
Diffstat (limited to 'include')
-rw-r--r--include/displaycolor/displaycolor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/displaycolor/displaycolor.h b/include/displaycolor/displaycolor.h
index 8ba81e2..ef1ba4e 100644
--- a/include/displaycolor/displaycolor.h
+++ b/include/displaycolor/displaycolor.h
@@ -277,10 +277,9 @@ class IDisplayColorGeneric {
/**
* @brief Check if refresh rate regamma compensation is enabled.
*
- * @param refresh_rate The new refresh rate will apply.
* @return true for yes.
*/
- virtual bool IsRrCompensationEnabled(DisplayType display, float refresh_rate) = 0;
+ virtual bool IsRrCompensationEnabled(DisplayType display) = 0;
/**
* @brief Get a map of supported ColorModes, and supported RenderIntents for