Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Cc: stable@vger.kernel.org
Signed-off-by: Torsten Duwe <duwe@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Torsten Duwe and committed by
Linus Torvalds
c19b3b0f 16dad1d7

+1
+1
drivers/gpu/drm/drm_edid.c
··· 1715 1715 } 1716 1716 1717 1717 mode->type = DRM_MODE_TYPE_DRIVER; 1718 + mode->vrefresh = drm_mode_vrefresh(mode); 1718 1719 drm_mode_set_name(mode); 1719 1720 1720 1721 return mode;