From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: [PATCH 0/2] drm/modes: Fix div-by-zero in drm_mode_vrefresh()
Date: Fri, 29 Nov 2024 06:26:27 +0200 [thread overview]
Message-ID: <20241129042629.18280-1-ville.syrjala@linux.intel.com> (raw)
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
next reply other threads:[~2024-11-29 4:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-29 4:26 Ville Syrjala [this message]
2024-11-29 4:26 ` [PATCH 1/2] drm/modes: Avoid divide by zero harder in drm_mode_vrefresh() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241129042629.18280-1-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox