]> git.baikalelectronics.ru Git - kernel.git/commit
KMS: fix EDID detailed timing frame rate
authorTorsten Duwe <torsten@lst.de>
Sat, 23 Mar 2013 14:39:34 +0000 (15:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Mar 2013 17:46:10 +0000 (10:46 -0700)
commit7a77a86d21142c9ea999f6e04a08ab4ba5f613f6
tree37505f56235e5d9286c47d492f3809dfdede788a
parent947e70b6553eada4dacc9dab32c03dc89725894d
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>
drivers/gpu/drm/drm_edid.c