History

KMS: fix EDID detailed timing frame rate

When KMS has parsed an EDID "detailed timing", it leaves the frame rate zeroed. Consecutive (debug-) output of that mode thus yields 0 for vsync. This simple fix also speeds up future invocations of drm_mode_vrefresh(). While it is debatable whether this qualifies as a -stable fix I'd apply it for consistency's sake; drm_helper_probe_single_connector_modes() does the same thing already for all probed modes.

Torsten Duwe committed 13 years ago

Commit c19b3b01 parent 16dad1d1 file · +1 −0Browse files

Unified · Split

drivers/gpu/drm/drm_edid.c+1−0
@@ -1715,6 +1715,7 @@ set_size: · 1714 unmodified lines
17151715 }
17161716
17171717 mode->type = DRM_MODE_TYPE_DRIVER;
1718+ mode->vrefresh = drm_mode_vrefresh(mode);
17181719 drm_mode_set_name(mode);
17191720
17201721 return mode;