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)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 05:37:15 +0000 (15:37 +1000)
x and y parameters are offsets, not width/height

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c

index 710516815de754ebd1f98391a8e7b561fb2d924f..b04cf5332599a2d019f5da08e17050ffadde2903 100644 (file)
@@ -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.