summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-23 09:10:46 +1000
committerDave Airlie <airlied@linux.ie>2007-04-23 09:10:46 +1000
commit0f3c5148f02bd98411095fdc8059207fa17b4a7d (patch)
tree48d69709e71f0c8d6120913c78f52e46119b265e /shared-core
parent97b5599982c76915b0750c6ef0a270639b02a6f2 (diff)
fixup vrefresh reporting, it should now be *1000 in userspace
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index b55640e1..d42bf73a 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -905,6 +905,8 @@ struct drm_mode_modeinfo {
unsigned short hdisplay, hsync_start, hsync_end, htotal, hskew;
unsigned short vdisplay, vsync_start, vsync_end, vtotal, vscan;
+ unsigned int vrefresh; /* vertical refresh * 1000 */
+
unsigned int flags;
char name[DRM_DISPLAY_MODE_LEN];