Skip to content

drm/modes: Fix div-by-zero in drm_mode_vrefresh()

Ville Syrjala dri-devel intel-gfx stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()drivers/gpu/drm/drm_modes.c+7 -42 replies
2/2drm/modes: Fix drm_mode_vrefres() docsdrivers/gpu/drm/drm_modes.c+1 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm/modes: Fix div-by-zero in drm_mode_vrefresh()

From: Ville Syrjälä <[email protected]>

Fix a potential div-by-zero in drm_mode_vrefresh()

TODO: should probably make drm_mode_setcrtc() not even print the
(potentially partially) converted mode, and instead print the original umode..

Test-with: [email protected]

Ville Syrjälä (2):
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() drm/modes: Fix drm_mode_vrefres() docs

 drivers/gpu/drm/drm_modes.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
Signature · 1 line
2.45.2