From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: [PATCH 2/2] drm/modes: Fix drm_mode_vrefres() docs
Date: Fri, 29 Nov 2024 06:26:29 +0200 [thread overview]
Message-ID: <20241129042629.18280-3-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20241129042629.18280-1-ville.syrjala@linux.intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
We no longer store a cache vrefresh value in the mode.
Remove the stale information from drm_vrefresh() docs.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/drm_modes.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index 71573b85d924..e72f855fc495 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -1282,8 +1282,7 @@ EXPORT_SYMBOL(drm_mode_set_name);
* @mode: mode
*
* Returns:
- * @modes's vrefresh rate in Hz, rounded to the nearest integer. Calculates the
- * value first if it is not yet set.
+ * @modes's vrefresh rate in Hz, rounded to the nearest integer.
*/
int drm_mode_vrefresh(const struct drm_display_mode *mode)
{
--
2.45.2
next prev parent 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 [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 ` Ville Syrjala [this message]
2024-11-29 13:08 ` [PATCH 2/2] drm/modes: Fix drm_mode_vrefres() docs 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-3-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