The kernel might want this information during modesetting.
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 824500b..27b7fd8 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -145,6 +145,7 @@ drmmode_ConvertFromKMode(ScrnInfoPtr scrn,
mode->VSyncEnd = kmode->vsync_end;
mode->VTotal = kmode->vtotal;
mode->VScan = kmode->vscan;
+ mode->VRefresh = kmode->vrefresh;
mode->Flags = kmode->flags; //& FLAG_BITS;
mode->name = strdup(kmode->name);
@@ -174,6 +175,7 @@ drmmode_ConvertToKMode(ScrnInfoPtr scrn,
kmode->vsync_end = mode->VSyncEnd;
kmode->vtotal = mode->VTotal;
kmode->vscan = mode->VScan;
+ kmode->vrefresh = xf86ModeVRefresh(mode);
kmode->flags = mode->Flags; //& FLAG_BITS;
if (mode->name)
--
2.1.0
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel