Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c9287c6 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm: fix documentation for drm_crtc_set_mode()



x and y parameters are offsets, not width/height

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a4799037
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -346,8 +346,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev)
 * drm_crtc_set_mode - set a mode
 * @crtc: CRTC to program
 * @mode: mode to use
 * @x: width of mode
 * @y: height of mode
 * @x: horizontal offset into the surface
 * @y: vertical offset into the surface
 *
 * LOCKING:
 * Caller must hold mode config lock.