From patchwork Thu Jan 4 19:32:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10146077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8064E601A1 for ; Fri, 5 Jan 2018 08:25:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E6E527FA5 for ; Fri, 5 Jan 2018 08:25:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63305286C7; Fri, 5 Jan 2018 08:25:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F04AF27FA5 for ; Fri, 5 Jan 2018 08:25:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D3A7D6E2D0; Fri, 5 Jan 2018 08:25:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABFAF6E1F5 for ; Thu, 4 Jan 2018 19:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=R+dRgtd1l5tBEYje5+jeWPZmFzjGih2heKWZCXU3oyc=; b=FuSiw1n+bX7H20ucwkBSYrkcAi KSzXAxiVv6UzOq7EbqSmoaQ8Pcpgu5PriGBZn0d2V1NrViUnkrMoSN9sXxm0oyGmLK/wDwtpDUai1 HJep+QTI+1HvOb73kBT8z1mJCbrHfB3TiDbQ8a1ZYC4GKPZDkBgYd6WHcelsgk4IgbWgF/uC8q5OP UfrK4c9W4Doyh+TZX8G/zmBjPpAIG0UyQ/GhzTpoWk6y6ywQ383kXSssc7IBf/QDbxruqaKGBFsVA b9OtNP6bWuI012AzRjxxvxnHo60nWVvmn/cDuzHHLLjA8UNYn/LWvK4yUPTWkhX63kFC0YWQto9Xk uVRrPERg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlap) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eXBFP-0001bE-9B; Thu, 04 Jan 2018 19:32:15 +0000 To: dri-devel , David Airlie From: Randy Dunlap Subject: [PATCH v2] drm: clean up comments in drm_crtc.c Message-ID: <22c372ab-4c83-fd50-40d0-818bbc82533e@infradead.org> Date: Thu, 4 Jan 2018 11:32:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Language: en-US X-Mailman-Approved-At: Fri, 05 Jan 2018 08:25:14 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix typos, punctuation, and one function reference (change atomic_check two times to be atomic_check and atomic_commit). Signed-off-by: Randy Dunlap Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Reviewed-by: Rodrigo Vivi --- v2: s/instances/instance/ (thanks, Alex) I was looking for what CRTC means, but I still haven't found it. :( drivers/gpu/drm/drm_crtc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- lnx-415-rc6.orig/drivers/gpu/drm/drm_crtc.c +++ lnx-415-rc6/drivers/gpu/drm/drm_crtc.c @@ -55,16 +55,16 @@ * to one or more &drm_encoder, which are then each connected to one * &drm_connector. * - * To create a CRTC, a KMS drivers allocates and zeroes an instances of + * To create a CRTC, a KMS driver allocates and zeroes an instance of * &struct drm_crtc (possibly as part of a larger structure) and registers it * with a call to drm_crtc_init_with_planes(). * - * The CRTC is also the entry point for legacy modeset operations, see - * &drm_crtc_funcs.set_config, legacy plane operations, see - * &drm_crtc_funcs.page_flip and &drm_crtc_funcs.cursor_set2, and other legacy + * The CRTC is also the entry point for legacy modeset operations (see + * &drm_crtc_funcs.set_config), legacy plane operations (see + * &drm_crtc_funcs.page_flip and &drm_crtc_funcs.cursor_set2), and other legacy * operations like &drm_crtc_funcs.gamma_set. For atomic drivers all these * features are controlled through &drm_property and - * &drm_mode_config_funcs.atomic_check and &drm_mode_config_funcs.atomic_check. + * &drm_mode_config_funcs.atomic_check and &drm_mode_config_funcs.atomic_commit. */ /**