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

drm/rect: update kerneldoc for drm_rect_clip_scaled()

This was forgotten in f96bdf564f3e ("drm/rect: Handle rounding errors
in drm_rect_clip_scaled, v3.")

Spotted while reviewing patches from Ville touching this area.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Fixes: f96bdf564f3e ("drm/rect: Handle rounding errors in drm_rect_clip_scaled, v3.")
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191126145213.380079-1-daniel.vetter@ffwll.ch

+4 -2
+4 -2
drivers/gpu/drm/drm_rect.c
··· 81 81 * @clip: clip rectangle 82 82 * 83 83 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by the 84 - * same amounts multiplied by @hscale and @vscale. 84 + * the corresponding amounts, retaining the vertical and horizontal scaling 85 + * factors from @src to @dst. 85 86 * 86 87 * RETURNS: 88 + * 87 89 * %true if rectangle @dst is still visible after being clipped, 88 - * %false otherwise 90 + * %false otherwise. 89 91 */ 90 92 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, 91 93 const struct drm_rect *clip)