Skip to contentSkip to conversation

drm: fix documentation for drm_crtc_set_mode()

PATCH New [email protected] 1 participant 1 message Nov 9, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: fix documentation for drm_crtc_set_mode()

From: Alex Deucher <[email protected]>

x and y parameters are offsets, not width/height

---
 drivers/gpu/drm/drm_crtc_helper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_crtc_helper.c +2 -2
index 1227adf..ae43f92 100644
@@ -328,8 +328,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.
Signature · 1 line
1.7.7.5