mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 12:30:11 +01:00
Fix EDID pixel clock calculation.
This commit is contained in:
parent
cc7faa4de8
commit
c731b68091
1 changed files with 1 additions and 1 deletions
|
|
@ -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) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue