From patchwork Fri Nov 9 17:26:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 1721441 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id B042DDF264 for ; Fri, 9 Nov 2012 17:26:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B0BB2A0E43 for ; Fri, 9 Nov 2012 09:26:52 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 34C279E950 for ; Fri, 9 Nov 2012 09:26:41 -0800 (PST) Received: by mail-qc0-f177.google.com with SMTP id u28so2402145qcs.36 for ; Fri, 09 Nov 2012 09:26:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=JCeGA+XklNFyi8ZWMO+501unz8BOva5fuyDOaTt/TFs=; b=y4grQ9egaA7Xn0ST/kDiJ/TP0pvQlquLdErAgxxJNaRQoNUneuYikzw/ZP+055QcvG ylHTGiU4+AeBRmsdGlpJJWkuJL3zLsRJgZ05waUVNI5p8YHE42Ymz1GPDbkFYw9EWAFU x8hreO4/+99ZePKRwifbYE/LLk1S6VMCQeVYa/iHb7gTFEJzocZsP8pweKtkVlNfu/aM LQziOfaqNFOVecc8MVR4Wo6b7bfRzjp1hAPcgN1/dGtYOxbYvNgF5KQq/Mjzao7UzNwS tqIQjd7GdWOBJK9Hg0PRIV7CPo06r60hnW275bGvaXC7sPHFQdkUcINW/icJl+9KXyHu YoJw== Received: by 10.229.180.74 with SMTP id bt10mr2967177qcb.31.1352482000554; Fri, 09 Nov 2012 09:26:40 -0800 (PST) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPS id hk8sm5727530qab.21.2012.11.09.09.26.39 (version=SSLv3 cipher=OTHER); Fri, 09 Nov 2012 09:26:39 -0800 (PST) From: alexdeucher@gmail.com To: airlied@gmail.com, dri-devel@lists.freedesktop.org Subject: [PATCH] drm: fix documentation for drm_crtc_set_mode() Date: Fri, 9 Nov 2012 12:26:32 -0500 Message-Id: <1352481992-12912-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher , stable@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Alex Deucher x and y parameters are offsets, not width/height Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- 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 1227adf..ae43f92 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -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.