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 <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240627153638.8765-9-tzimmermann@suse.de
(cherry picked from commit b84c28f33d35361282d27ac304c888dc1ad38a15)
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Guoqing Jiang <guoqing.jiang@canonical.com>
Acked-by: Ivan Hu <ivan.hu@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
This commit is contained in:
Thomas Zimmermann
2024-09-27 20:23:02 +08:00
committed by Mehmet Basaran
parent 2f04d9ff22
commit 18c3e9e0d1
+1 -1
View File
@@ -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);
}