From mboxrd@z Thu Jan 1 00:00:00 1970 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 3BEFAFA1FE1 for ; Wed, 22 Apr 2026 18:24:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7990610E0BF; Wed, 22 Apr 2026 18:24:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=nicolas.frattaroli@collabora.com header.b="GTvGhncb"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by gabe.freedesktop.org (Postfix) with ESMTPS id 00D5610E0BF; Wed, 22 Apr 2026 18:24:49 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1776882276; cv=none; d=zohomail.com; s=zohoarc; b=VP/PeIvRzlb0DiZVlXBQK7StvldKUfLiIjk8V3A8XR8PFhdzQ15R7/meQgcVxLw9fYNMiIv8yAPYTZ6kkGTMT8KB/VHJFHY9HMes94f+e1qIevNYExtW3gg0LuFPoeb69jC+n1KCe+GxYs/INrSfSJ5jOwOsiQ34WKP5NQRE4g0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1776882276; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=D1AqcgSA0t2cNb738fE4oVFHqUU80ZER1l31sqHNos8=; b=cVLEdDh6EShK5eRFyim9P8hGcs4tTDWfVISoWGiUdbRDmI8TnbrOPgpA77xVMqldlzegeXxmjtSzANLA1TyCs+bpHS3RoFG2GrzNz4CmV2uT0x2juZtWQu30nf3/nWKkSp8Pmafrg95LB87Dk+5mXi9dmsQpXrxGDuj01k3lcos= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=nicolas.frattaroli@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1776882276; s=zohomail; d=collabora.com; i=nicolas.frattaroli@collabora.com; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=D1AqcgSA0t2cNb738fE4oVFHqUU80ZER1l31sqHNos8=; b=GTvGhncbQOBFSX8d0B0N8dG0y6wJYye1/JhTP+byA3P4q+tcQq2FT518bdV6Ho6l 2AU0EyinxdmiCuQM/FLSsY6+lsF9b3iHIkaE5P5dnFW1VyJDz6BvmfEXbVFvwkBeS06 hH2DEwDsU196vj8tQWKvy5EWQQqjlkKOHXR0kMUQ= Received: by mx.zohomail.com with SMTPS id 1776882273533572.8111865254215; Wed, 22 Apr 2026 11:24:33 -0700 (PDT) From: Nicolas Frattaroli Date: Wed, 22 Apr 2026 20:24:07 +0200 Subject: [PATCH v9 1/2] drm/connector: Fix epoch_counter docs to reflect reality MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260422-hot-plug-passup-v9-1-aef804255986@collabora.com> References: <20260422-hot-plug-passup-v9-0-aef804255986@collabora.com> In-Reply-To: <20260422-hot-plug-passup-v9-0-aef804255986@collabora.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Stanislav Lisovskiy , =?utf-8?q?Ville_Syrj=C3=A4l=C3=A4?= , Louis Chauvet , Haneen Mohammed , Melissa Wen , Daniel Stone , Ian Forbes , Dmitry Baryshkov Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kernel@collabora.com, wayland-devel@lists.freedesktop.org, Nicolas Frattaroli X-Mailer: b4 0.15.2 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Since the very day epoch_counter in drm_connector was introduced, its documentation was not accurate. It claims it's used to detect "any other changes [...] besides status", when in reality, it's used to detect changes including status, as a status change also increases the epoch counter. Adjust the documentation to rectify this discrepancy. Fixes: 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector") Signed-off-by: Nicolas Frattaroli --- include/drm/drm_connector.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 3e422a4f2e72..446385a12f4b 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -2264,7 +2264,10 @@ struct drm_connector { */ struct mutex edid_override_mutex; - /** @epoch_counter: used to detect any other changes in connector, besides status */ + /** + * @epoch_counter: Used to detect changes in connector. Increased when + * the connector, including its status, is changed. + */ u64 epoch_counter; /** -- 2.53.0