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>
This commit is contained in:
parent
a4799037c3
commit
4c9287c600
|
@ -346,8 +346,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev)
|
||||||
* drm_crtc_set_mode - set a mode
|
* drm_crtc_set_mode - set a mode
|
||||||
* @crtc: CRTC to program
|
* @crtc: CRTC to program
|
||||||
* @mode: mode to use
|
* @mode: mode to use
|
||||||
* @x: width of mode
|
* @x: horizontal offset into the surface
|
||||||
* @y: height of mode
|
* @y: vertical offset into the surface
|
||||||
*
|
*
|
||||||
* LOCKING:
|
* LOCKING:
|
||||||
* Caller must hold mode config lock.
|
* Caller must hold mode config lock.
|
||||||
|
|
Loading…
Reference in New Issue