[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230517074125.3228854-1-suijingfeng@loongson.cn>
Date: Wed, 17 May 2023 15:41:25 +0800
From: Sui Jingfeng <suijingfeng@...ngson.cn>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
suijingfeng <suijingfeng@...ngson.cn>, liyi <liyi@...ngson.cn>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH] drm/drm_atomic.h: update the comment of legacy cursor update
Because there have no atomic_async_commit hook in drm_plane_helper_funcs,
Should replace it with atomic_async_update. Legacy cursor updates should
be down with drm_plane_helper_funcs.atomic_async_update.
Signed-off-by: Sui Jingfeng <suijingfeng@...ngson.cn>
---
include/drm/drm_atomic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 9a022caacf93..c023c682301b 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -384,7 +384,7 @@ struct drm_atomic_state {
* WARNING: This is thoroughly broken and pretty much impossible to
* implement correctly. Drivers must ignore this and should instead
* implement &drm_plane_helper_funcs.atomic_async_check and
- * &drm_plane_helper_funcs.atomic_async_commit hooks. New users of this
+ * &drm_plane_helper_funcs.atomic_async_update hooks. New users of this
* flag are not allowed.
*/
bool legacy_cursor_update : 1;
--
2.25.1
Powered by blists - more mailing lists