diff options
| author | Nicolas Frattaroli <nicolas.frattaroli@collabora.com> | 2026-05-26 14:39:10 +0200 |
|---|---|---|
| committer | Daniel Stone <daniels@collabora.com> | 2026-07-21 17:06:42 +0100 |
| commit | bc5f5ea70e4c6eaa3b51b0701db2152229648b0d (patch) | |
| tree | c15cd221336f216aa3208646b52e2b2c581c3d38 /include | |
| parent | 7296004bd2ceb1284fb557399f0134361f8e34af (diff) | |
drm/connector: Fix epoch_counter docs to reflect reality
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")
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Link: https://patch.msgid.link/20260526-hot-plug-passup-v10-1-f62351a9ea3e@collabora.com
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_connector.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index af075c38f4db..a0cf0268de48 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -2377,7 +2377,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; /** |
