From patchwork Wed Jan 3 20:39:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10144243 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 42C93602A0 for ; Thu, 4 Jan 2018 08:19:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 339252823D for ; Thu, 4 Jan 2018 08:19:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 288052839C; Thu, 4 Jan 2018 08:19:30 +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 C87622823D for ; Thu, 4 Jan 2018 08:19:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5964A6E0B3; Thu, 4 Jan 2018 08:19:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id D00896E03A for ; Wed, 3 Jan 2018 20:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=Q8GxOwOGJaswUqfIg7QnsTYXIGZyjeuH8I2oeB9jexs=; b=YaLCzQzLIjxY/gsvgS6suSUBk G3svYbj1keZQyxyjBWO2Y9os1URUaYkiPk+dBbFoguSg7lNrIpnMWJVccM38edZWI4tZu8RV6+Oia GE5u86UK0ZnFIyOwS9aGn2Mo9haUyyOuaBhxhhDoQa+VeEXZLjJ8No625UejFAgCfs3/Zg808lRQt TuWDJNIllJnzpwvgqxWt4xBnv1KO5vHIUx2JW0Qi/vvSCSy2tvTssl8DHUkee6Qn/j4wwFJt654P6 1ks/H6jXt3Yu/k9578YXptOUFH7ZA6B711kr4OLExvVAqTC47k3Tdfnzbe/EZThVuxbb/knL2thbh GUpYU08uA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlap) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1eWppL-0007QN-5R; Wed, 03 Jan 2018 20:39:55 +0000 To: dri-devel From: Randy Dunlap Subject: [PATCH] drm: fix some comments in drm_crtc.c Message-ID: <7c9cae5b-e3b9-7ff6-f65b-51143e7ca317@infradead.org> Date: Wed, 3 Jan 2018 12:39:53 -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: Thu, 04 Jan 2018 08:19:18 +0000 Cc: David Airlie 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 --- 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 instances 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. */ /**