From patchwork Tue Oct 3 01:13:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13406653 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A183E776F0 for ; Tue, 3 Oct 2023 01:14:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0067510E1F5; Tue, 3 Oct 2023 01:13:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3876810E1DA for ; Tue, 3 Oct 2023 01:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=CHSPuipCmNpy2ogfW/tDAVS/hQDi8Lu37X0Wm8Ngz7w=; b=hEUPAPl/tOzE1PYBBFgCT1PWyz D4IWdVLafWo4SyOJP9SFiU0nxktzZtvGLZ/YZLU8NFzZAzuZ8XJxew0xxj9ulabBdarMyG4iDi20J OJ1EZw75y+LNH4bVYmhkOUUWhh5GGHXRPdCYhMrEV2GqH0GPxSnhkgjpYvbNXXaAHoXSlbqXvJCo6 Di39v4mzG55yoplKry9ue3F+zzaiE0KQbG+2naqwDEc101uXWojZL2LvGrx59toATGY/u2RU6spqx zwU5OFCZpOporBAFJRYUvbN7K0GgRbG6hmHt1mB20sFGFH9GWqbdKuF4SB3iGTmevERr+JjLkzctn hOSjJfWg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qnTyw-00DcHx-2p; Tue, 03 Oct 2023 01:13:50 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH 1/3] drm/uapi: drm_mode: fix doc typos Date: Mon, 2 Oct 2023 18:13:47 -0700 Message-ID: <20231003011349.27593-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Randy Dunlap , Maxime Ripard , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Correct grammar (add s for plural, insert "the"). Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- include/uapi/drm/drm_mode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -- a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -36,10 +36,10 @@ extern "C" { /** * DOC: overview * - * DRM exposes many UAPI and structure definition to have a consistent - * and standardized interface with user. + * DRM exposes many UAPI and structure definitions to have a consistent + * and standardized interface with the user. * Userspace can refer to these structure definitions and UAPI formats - * to communicate to driver + * to communicate to the driver. */ #define DRM_CONNECTOR_NAME_LEN 32 From patchwork Tue Oct 3 01:13:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13406654 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EEA3E776E9 for ; Tue, 3 Oct 2023 01:14:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 442D610E203; Tue, 3 Oct 2023 01:13:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A97A10E203 for ; Tue, 3 Oct 2023 01:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=s9FX2e7HB0C/C0j0BGnkZfrxNTyqijAWhZcdpk9I1hs=; b=dRKdxw2tXlQSJgspk5omjZXVtm AFQRbxFP+oANivIn/iNSJdtv4YarYlsXNDQT0Bo1f+kveT+QJ66ziOKCjH9b5wQyyMCA4RsDD8e9a uDFhO86yy4OQ6geKor/03yBKXetLU2MIiuAfu+DY+Ks+2MrDG2RumBX1fynAZgY30IG9NEG+5BnT8 dSLFoTvsVLYxrV1UTJg0m5/mmlNThm/ecoEJrRBDJI2GwO16cQ2nqyk5chmwymGkNTviw6mBPTaaj 3Vw1Pn4vqN4C9YBEfa0O5tF9543nsVLO4DgP0HCFegZKiOv5W2oC7oTAdeQc8yAXpWC6DnvEzXPYW s0TZ5mEQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qnTyx-00DcHx-0d; Tue, 03 Oct 2023 01:13:51 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] drm/fourcc: fix doc typos Date: Mon, 2 Oct 2023 18:13:48 -0700 Message-ID: <20231003011349.27593-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231003011349.27593-1-rdunlap@infradead.org> References: <20231003011349.27593-1-rdunlap@infradead.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Randy Dunlap , Maxime Ripard , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Correct spelling and remove an extraneous word. Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- include/uapi/drm/drm_fourcc.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -- a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -54,7 +54,7 @@ extern "C" { * Format modifiers may change any property of the buffer, including the number * of planes and/or the required allocation size. Format modifiers are * vendor-namespaced, and as such the relationship between a fourcc code and a - * modifier is specific to the modifer being used. For example, some modifiers + * modifier is specific to the modifier being used. For example, some modifiers * may preserve meaning - such as number of planes - from the fourcc code, * whereas others may not. * @@ -79,7 +79,7 @@ extern "C" { * format. * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users * see modifiers as opaque tokens they can check for equality and intersect. - * These users musn't need to know to reason about the modifier value + * These users mustn't need to know to reason about the modifier value * (i.e. they are not expected to extract information out of the modifier). * * Vendors should document their modifier usage in as much detail as @@ -538,7 +538,7 @@ extern "C" { * This is a tiled layout using 4Kb tiles in row-major layout. * Within the tile pixels are laid out in 16 256 byte units / sub-tiles which * are arranged in four groups (two wide, two high) with column-major layout. - * Each group therefore consits out of four 256 byte units, which are also laid + * Each group therefore consists of four 256 byte units, which are also laid * out as 2x2 column-major. * 256 byte units are made out of four 64 byte blocks of pixels, producing * either a square block or a 2:1 unit. @@ -1101,7 +1101,7 @@ drm_fourcc_canonicalize_nvidia_format_mo */ /* - * The top 4 bits (out of the 56 bits alloted for specifying vendor specific + * The top 4 bits (out of the 56 bits allotted for specifying vendor specific * modifiers) denote the category for modifiers. Currently we have three * categories of modifiers ie AFBC, MISC and AFRC. We can have a maximum of * sixteen different categories. @@ -1356,7 +1356,7 @@ drm_fourcc_canonicalize_nvidia_format_mo * It considerably reduces memory bandwidth while writing and reading * frames in memory. * - * The underlying storage is considered to be 3 components, 8bit or 10-bit + * The underlying storage is considered to be 3 components, 8-bit or 10-bit * per component YCbCr 420, single plane : * - DRM_FORMAT_YUV420_8BIT * - DRM_FORMAT_YUV420_10BIT @@ -1417,7 +1417,7 @@ drm_fourcc_canonicalize_nvidia_format_mo * Amlogic FBC Memory Saving mode * * Indicates the storage is packed when pixel size is multiple of word - * boudaries, i.e. 8bit should be stored in this mode to save allocation + * boundaries, i.e. 8-bit should be stored in this mode to save allocation * memory. * * This mode reduces body layout to 3072 bytes per 64x32 superblock with From patchwork Tue Oct 3 01:13:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13406652 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F695E776E9 for ; Tue, 3 Oct 2023 01:13:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4CB9C10E17D; Tue, 3 Oct 2023 01:13:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38E2F10E1FA for ; Tue, 3 Oct 2023 01:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=JZrgAFcocfmJ7wr8txtlkIWUzzd0SjphU1ZT0UcIUj8=; b=Ihpa+wmITsTi43mwt/V3xZUuUq VqebiD33iHqOUu2ob/xLb7m1foi6aYUqIBT3TAfJVEUQ/XvXdD6oayeQ7ZTC+s0KM69jArTiwLWC7 GZsgipBgX4hQ9Yb61MTEu8mbNHd4uwNdOGsXi2cLY4CyzNhBZjGIEYT6ban9no+wrRQboLdXQdex0 EOKzQlTW0LyTVnNCgRjnzBq3V9Fi5PhNroohu0qpBwjZpOrG3ggfzZz0XMRvKw96u2oIP2NeO0Voi HezlkPDY/eNpfdHpxGvyfebR8EaS9ydZnfBjVfj5czZM3lbZfAJDQq1O4MOsD33ANlNpe5VrJBFZq 0G7Pdj0Q==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qnTyx-00DcHx-1c; Tue, 03 Oct 2023 01:13:51 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH 3/3] drm/rect: fix kernel-doc typos Date: Mon, 2 Oct 2023 18:13:49 -0700 Message-ID: <20231003011349.27593-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231003011349.27593-1-rdunlap@infradead.org> References: <20231003011349.27593-1-rdunlap@infradead.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , Randy Dunlap , Maxime Ripard , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Correct typos of "translated". Signed-off-by: Randy Dunlap Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Reviewed-by: Simon Ser --- include/drm/drm_rect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/include/drm/drm_rect.h b/include/drm/drm_rect.h --- a/include/drm/drm_rect.h +++ b/include/drm/drm_rect.h @@ -129,7 +129,7 @@ static inline void drm_rect_adjust_size( /** * drm_rect_translate - translate the rectangle - * @r: rectangle to be tranlated + * @r: rectangle to be translated * @dx: horizontal translation * @dy: vertical translation * @@ -146,7 +146,7 @@ static inline void drm_rect_translate(st /** * drm_rect_translate_to - translate the rectangle to an absolute position - * @r: rectangle to be tranlated + * @r: rectangle to be translated * @x: horizontal position * @y: vertical position *