diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-11-09 12:26:32 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-20 00:37:15 -0500 |
commit | 4c9287c6009b37754c42e0ba73a4cc79de92d8f8 (patch) | |
tree | b10431bc0c8a3e772c89c98fbd47c2c3d2cbce31 /drivers/gpu/drm/drm_crtc_helper.c | |
parent | a4799037c3234830e9feb1823d87f905fb4d080a (diff) |
drm: fix documentation for drm_crtc_set_mode()
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>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 710516815de7..b04cf5332599 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c | |||
@@ -346,8 +346,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev) | |||
346 | * drm_crtc_set_mode - set a mode | 346 | * drm_crtc_set_mode - set a mode |
347 | * @crtc: CRTC to program | 347 | * @crtc: CRTC to program |
348 | * @mode: mode to use | 348 | * @mode: mode to use |
349 | * @x: width of mode | 349 | * @x: horizontal offset into the surface |
350 | * @y: height of mode | 350 | * @y: vertical offset into the surface |
351 | * | 351 | * |
352 | * LOCKING: | 352 | * LOCKING: |
353 | * Caller must hold mode config lock. | 353 | * Caller must hold mode config lock. |