Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/modes: Fix drm_mode_vrefres() docs

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>

+1 -2
+1 -2
drivers/gpu/drm/drm_modes.c
··· 1282 1282 * @mode: mode 1283 1283 * 1284 1284 * Returns: 1285 - * @modes's vrefresh rate in Hz, rounded to the nearest integer. Calculates the 1286 - * value first if it is not yet set. 1285 + * @modes's vrefresh rate in Hz, rounded to the nearest integer. 1287 1286 */ 1288 1287 int drm_mode_vrefresh(const struct drm_display_mode *mode) 1289 1288 {