Commit 5f68cf4c authored by Alex Deucher's avatar Alex Deucher Committed by Greg Kroah-Hartman

drm: fix documentation for drm_crtc_set_mode()

commit 4c9287c6 upstream.

x and y parameters are offsets, not width/height
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f11a1d55
...@@ -328,8 +328,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev) ...@@ -328,8 +328,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev)
* drm_crtc_set_mode - set a mode * drm_crtc_set_mode - set a mode
* @crtc: CRTC to program * @crtc: CRTC to program
* @mode: mode to use * @mode: mode to use
* @x: width of mode * @x: horizontal offset into the surface
* @y: height of mode * @y: vertical offset into the surface
* *
* LOCKING: * LOCKING:
* Caller must hold mode config lock. * Caller must hold mode config lock.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment