summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 11:42:00 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 11:42:00 -0700
commitc731b68091aa7284ee3a89c8a7ea3fdabac45a54 (patch)
tree4aa2dffc23b14c1c9bf20cfc1c90dc9aab1a1451 /linux-core
parentcc7faa4de80a68d5a7a484046b9b42de961cdbef (diff)
Fix EDID pixel clock calculation.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_edid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_edid.c b/linux-core/drm_edid.c
index b79bc2db..9acdc8da 100644
--- a/linux-core/drm_edid.c
+++ b/linux-core/drm_edid.c
@@ -114,7 +114,7 @@ struct drm_display_mode *drm_mode_detailed(drm_device_t *dev,
return NULL;
mode->type = DRM_MODE_TYPE_DRIVER;
- mode->clock = timing->pixel_clock / 100;
+ mode->clock = timing->pixel_clock * 10;
mode->hdisplay = (pt->hactive_hi << 8) | pt->hactive_lo;
mode->hsync_start = mode->hdisplay + ((pt->hsync_offset_hi << 8) |