Ville Syrjälä 9398332f23 drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
drm_mode_vrefresh() is trying to avoid divide by zero
by checking whether htotal or vtotal are zero. But we may
still end up with a div-by-zero of vtotal*htotal*...

Cc: stable@vger.kernel.org
Reported-by: syzbot+622bba18029bcde672e1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=622bba18029bcde672e1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241129042629.18280-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
2024-12-14 00:05:32 +02:00
..
2024-11-29 13:06:06 -08:00
2024-11-21 14:56:17 -08:00
2024-11-05 10:50:55 -03:00
2024-11-21 14:56:17 -08:00
2024-09-26 09:31:28 +02:00
2024-11-29 13:06:06 -08:00
2024-11-21 14:56:17 -08:00
2024-09-26 08:28:04 +02:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-11-29 13:06:06 -08:00
2024-10-19 17:26:33 +03:00
2024-12-04 09:13:09 +10:00
2024-10-14 15:28:48 +02:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-11-21 14:56:17 -08:00
2024-10-08 10:00:30 +02:00
2024-11-04 12:36:55 +01:00
2024-11-03 01:28:06 -05:00
2024-12-10 11:11:39 +01:00
2024-10-18 09:25:51 +02:00