From 18c3e9e0d1543c5bf7f58aaf4137ed930a51dfb7 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Fri, 27 Sep 2024 20:23:02 +0800 Subject: [PATCH] drm/ast: Use drm_atomic_helper_commit_tail() helper BugLink: https://bugs.launchpad.net/bugs/2083022 Ast has no special requirements for runtime power management. So replace drm_atomic_helper_commit_tail_rpm() with the regular helper drm_atomic_helper_commit_tail(). Signed-off-by: Thomas Zimmermann Reviewed-by: Jocelyn Falempe Link: https://patchwork.freedesktop.org/patch/msgid/20240627153638.8765-9-tzimmermann@suse.de (cherry picked from commit b84c28f33d35361282d27ac304c888dc1ad38a15) Signed-off-by: Aaron Ma Acked-by: Guoqing Jiang Acked-by: Ivan Hu Signed-off-by: Roxana Nicolescu --- drivers/gpu/drm/ast/ast_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 29decbeb94f0..8d04ba4128d2 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1945,7 +1945,7 @@ static void ast_mode_config_helper_atomic_commit_tail(struct drm_atomic_state *s * the I/O-register lock. Released in atomic_flush(). */ mutex_lock(&ast->modeset_lock); - drm_atomic_helper_commit_tail_rpm(state); + drm_atomic_helper_commit_tail(state); mutex_unlock(&ast->modeset_lock); }