[PATCH 8/8] drm/ast: Use drm_atomic_helper_commit_tail() helper

Jocelyn Falempe jfalempe at redhat.com
Fri Jun 28 09:57:34 UTC 2024



On 27/06/2024 17:27, Thomas Zimmermann wrote:
> 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().

Thanks, it looks good te me.

Reviewed-by: Jocelyn Falempe <jfalempe at redhat.com>

> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
>   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 d130c96edf35..dc8f639e82fd 100644
> --- a/drivers/gpu/drm/ast/ast_mode.c
> +++ b/drivers/gpu/drm/ast/ast_mode.c
> @@ -1865,7 +1865,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);
>   }
>   



More information about the dri-devel mailing list