From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/2] drm/modes: Fix drm_mode_vrefres() docs
Date: Fri, 29 Nov 2024 15:08:10 +0200 [thread overview]
Message-ID: <87a5di6vd1.fsf@intel.com> (raw)
In-Reply-To: <20241129042629.18280-3-ville.syrjala@linux.intel.com>
On Fri, 29 Nov 2024, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> 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>
Reviewed-by: Jani Nikula <jani.nikula@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)
> {
--
Jani Nikula, Intel
next prev parent reply other threads:[~2024-11-29 13:08 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 ` [PATCH 2/2] drm/modes: Fix drm_mode_vrefres() docs Ville Syrjala
2024-11-29 13:08 ` Jani Nikula [this message]
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=87a5di6vd1.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ville.syrjala@linux.intel.com \
/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