Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/modes: Fix div-by-zero in drm_mode_vrefresh()
@ 2024-11-29  4:26 Ville Syrjala
  2024-11-29  4:26 ` [PATCH 1/2] drm/modes: Avoid divide by zero harder " Ville Syrjala
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ville Syrjala @ 2024-11-29  4:26 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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: 20241128190927.26033-1-ville.syrjala@linux.intel.com

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(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-11-29 13:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-29  4:26 [PATCH 0/2] drm/modes: Fix div-by-zero in drm_mode_vrefresh() Ville Syrjala
2024-11-29  4:26 ` [PATCH 1/2] drm/modes: Avoid divide by zero harder " Ville Syrjala
2024-11-29  8:00   ` Nautiyal, Ankit K
2024-11-29 13:07     ` Jani Nikula
2024-11-29  4:26 ` [PATCH 2/2] drm/modes: Fix drm_mode_vrefres() docs Ville Syrjala
2024-11-29 13:08   ` Jani Nikula
2024-11-29  5:13 ` ✗ Fi.CI.CHECKPATCH: warning for drm/modes: Fix div-by-zero in drm_mode_vrefresh() Patchwork
2024-11-29  5:29 ` ✓ i915.CI.BAT: success " Patchwork
2024-11-29  7:33 ` ✗ i915.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox