提交 4c9287c6 编写于 作者: A Alex Deucher 提交者: Dave Airlie

drm: fix documentation for drm_crtc_set_mode()

x and y parameters are offsets, not width/height
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 a4799037
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册