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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux