summaryrefslogtreecommitdiff
path: root/drmmode.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2015-10-28 15:56:23 -0400
committerSean Paul <seanpaul@chromium.org>2015-10-28 15:56:23 -0400
commitad563d42f18fd4f8f99f489fa1b15fd709450025 (patch)
treec48045d7d801dcb1564a546f383da5a3791dec7e /drmmode.h
parent36d7c6e7ddb2e941f8611502ca938189290ff4b2 (diff)
downloaddrm_hwcomposer-ad563d42f18fd4f8f99f489fa1b15fd709450025.tar.gz
drm_hwcomposer-ad563d42f18fd4f8f99f489fa1b15fd709450025.tar.xz
drm_hwcomposer: Use mode vrefresh if provided
Instead of always calculating the vrefresh from clock + resolution, use vrefresh from the mode if its provided. Bug: 25319209 Test: Tested on smaug, refresh reports 60Hz Change-Id: I963ccb153d1856f5e45e4a1aa6fbd20b105d4a84 Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drmmode.h')
-rw-r--r--drmmode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drmmode.h b/drmmode.h
index 3088b7a..1110ce8 100644
--- a/drmmode.h
+++ b/drmmode.h
@@ -71,6 +71,7 @@ class DrmMode {
uint32_t v_sync_end_;
uint32_t v_total_;
uint32_t v_scan_;
+ uint32_t v_refresh_;
uint32_t flags_;
uint32_t type_;