Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2474243imw; Wed, 6 Jul 2022 06:36:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vpP/TMc9jSn12tJPr9CmZ80ZRuJbLdRVyumbqkBpbt1Y+Pvten6he7jyMPEDu5uPt+37wD X-Received: by 2002:a17:902:e54a:b0:16a:3e90:3cdc with SMTP id n10-20020a170902e54a00b0016a3e903cdcmr45866239plf.38.1657114605159; Wed, 06 Jul 2022 06:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657114605; cv=none; d=google.com; s=arc-20160816; b=AR65O4uYHlQIkmcHc36YvkD5TdVRrHtJvr5d33PkHTd1U/ZhIZFI+ldchr/FWrGBUM atbwvygtBt3ZsvL6xvtzgS++MbhlNls4GN78foN9q1oZrOjsMYcZbXZfDiS6IbEwB3Pj GIfhhUE7uQqVOPT0MO3/OZlR5hTcKLdi/7V9wwE9RXNaHnqYTuLUuLV8FFyetvnP33IA DQz8S+EZXINd0dPNLlqG6Ifmt9zR3PiGI52gJsXrw+hwETZF2Vrt4lDprFnEgcR7fzLC 5h95PVaeIHmYC7k6Qj31EiArtx///N5pg4+9kLwcuwDZyrOQiWuJsQ7yhCe4pxSl69vb LQBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+Kyqq5Kvgf7qa/lAuTy/QUlm/4rjgqyG2NJ3LgbVpBk=; b=QIZns/kVSJjmWmBdFFP30M52J1b9ToE38G8Rg1B9JCrdkJN1GHE03Nf4TJslG3c/T0 ek3qACQmPXcmTokspb3on49UJq/r8Pqpt5YYPIF9PmYbfV56UPAwJlLaiPiioie39T3J I8pSrnScXcXZKRl/qROg/3hZw8J4bPB7vLz1PXzzmZU3F0Tf0FTBlIOQR7YnkEpbEDkD eCHqCZ20BscuMm6r0VFszreZrcCO/oxLlCipsUw5QZ1J6nGN+Fv9o2RTcz9YjvZ7j9Ap XucHMdhXjcrEC7iBR+UWGa7z/ytjdD9MSchIUjXlV4aRIrHAem3xELNkSsSGPq3NJ7ce 95ag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a056a000b8a00b0051840478994si4650306pfj.375.2022.07.06.06.36.33; Wed, 06 Jul 2022 06:36:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233167AbiGFNUY (ORCPT + 99 others); Wed, 6 Jul 2022 09:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231744AbiGFNUW (ORCPT ); Wed, 6 Jul 2022 09:20:22 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18EE25F7B for ; Wed, 6 Jul 2022 06:20:21 -0700 (PDT) Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id rpLL2700B4C55Sk06pLLLQ; Wed, 06 Jul 2022 15:20:20 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1o94x1-002LC2-P3; Wed, 06 Jul 2022 15:20:19 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1o94x1-009ewI-F5; Wed, 06 Jul 2022 15:20:19 +0200 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Sam Ravnborg , Simon Ser Subject: [PATCH v3] drm/mode: Improve drm_mode_fb_cmd2 documentation Date: Wed, 6 Jul 2022 15:20:18 +0200 Message-Id: <536de72eab09242e1faf22fa58d91c9005d6ea51.1657113597.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix various grammar mistakes in the kerneldoc comments documenting the drm_mode_fb_cmd2 structure: - s/is/are/, - s/8 bit/8-bit/. Signed-off-by: Geert Uytterhoeven Acked-by: Sam Ravnborg Reviewed-by: Simon Ser --- v3: - Add Reviewed-by. v2: - Add Acked-by, - Rebase on top of commit a3574119826d9a4e ("drm: document struct drm_mode_fb_cmd2") in v5.18. --- include/uapi/drm/drm_mode.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index 0a0d56a6158e6327..fa953309d9ce5775 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -675,11 +675,11 @@ struct drm_mode_fb_cmd { * fetch metadata about an existing frame-buffer. * * In case of planar formats, this struct allows up to 4 buffer objects with - * offsets and pitches per plane. The pitch and offset order is dictated by the - * format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as: + * offsets and pitches per plane. The pitch and offset order are dictated by + * the format FourCC as defined by ``drm_fourcc.h``, e.g. NV12 is described as: * - * YUV 4:2:0 image with a plane of 8 bit Y samples followed by an - * interleaved U/V plane containing 8 bit 2x2 subsampled colour difference + * YUV 4:2:0 image with a plane of 8-bit Y samples followed by an + * interleaved U/V plane containing 8-bit 2x2 subsampled colour difference * samples. * * So it would consist of a Y plane at ``offsets[0]`` and a UV plane at -- 2.25.1