]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/modes: Fix drm_mode_vrefres() docs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Nov 2024 04:26:29 +0000 (06:26 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Dec 2024 22:23:45 +0000 (00:23 +0200)
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>
Link: https://patchwork.freedesktop.org/patch/msgid/20241129042629.18280-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_modes.c

index 6ba167a3346134072d100af0adbbe9b49e970769..513c04f744208562711ab8a52d9cc62e2b4d3dea 100644 (file)
@@ -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)
 {