]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm: fix documentation for drm_crtc_set_mode()
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Nov 2012 17:26:32 +0000 (17:26 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:13 +0000 (03:33 +0000)
commit 4c9287c6009b37754c42e0ba73a4cc79de92d8f8 upstream.

x and y parameters are offsets, not width/height

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/drm_crtc_helper.c

index d2619d72ceceb16d7b88a33b09708219483019b4..11788f72e2b0a23377cce9f2c6c0503a39ce9d82 100644 (file)
@@ -321,8 +321,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.