From patchwork Sat May 20 12:12:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng <15330273260@189.cn> X-Patchwork-Id: 13249180 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 D906BC77B7A for ; Sat, 20 May 2023 12:12:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E6CDE10E163; Sat, 20 May 2023 12:12:11 +0000 (UTC) Received: from 189.cn (ptr.189.cn [183.61.185.101]) by gabe.freedesktop.org (Postfix) with ESMTP id C6E8610E163 for ; Sat, 20 May 2023 12:12:09 +0000 (UTC) HMM_SOURCE_IP: 10.64.8.43:60862.2032723498 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.43]) by 189.cn (HERMES) with SMTP id C7EB01002B1; Sat, 20 May 2023 20:12:04 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-75648544bd-7vx9t with ESMTP id c7a32f856fc44fa5b18de09dc2d1b278 for mripard@kernel.org; Sat, 20 May 2023 20:12:05 CST X-Transaction-ID: c7a32f856fc44fa5b18de09dc2d1b278 X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 From: Sui Jingfeng <15330273260@189.cn> To: Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sui Jingfeng , Li Yi Subject: [PATCH] drm/drm_device.h: fix a typo Date: Sat, 20 May 2023 20:12:01 +0800 Message-Id: <20230520121201.332785-1-15330273260@189.cn> X-Mailer: git-send-email 2.25.1 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: loongson-kernel@lists.loongnix.cn, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sui Jingfeng Replace it with if Signed-off-by: Sui Jingfeng --- include/drm/drm_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h index 7cf4afae2e79..8e377857fb01 100644 --- a/include/drm/drm_device.h +++ b/include/drm/drm_device.h @@ -211,7 +211,7 @@ struct drm_device { * refcount drops to zero, as opposed to via the vblank disable * timer. * - * This can be set to true it the hardware has a working vblank counter + * This can be set to true if the hardware has a working vblank counter * with high-precision timestamping (otherwise there are races) and the * driver uses drm_crtc_vblank_on() and drm_crtc_vblank_off() * appropriately. See also @max_vblank_count and