[PATCH] drm/drm_device.h: fix a typo

Sui Jingfeng 15330273260 at 189.cn
Sat May 20 12:12:01 UTC 2023


From: Sui Jingfeng <suijingfeng at loongson.cn>

Replace it with if

Signed-off-by: Sui Jingfeng <suijingfeng at loongson.cn>
---
 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
-- 
2.25.1



More information about the dri-devel mailing list