]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/ast: Fix comment on modeset lock
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 24 Mar 2025 09:44:09 +0000 (10:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Jul 2025 09:00:14 +0000 (11:00 +0200)
commit66f122e67261330ee9bea738d75f6ea0ce5b064f
tree11fba2beca6d34b2a009d9921d4a074496f3d802
parentbf2c1643abc3b2507d56bb6c22bf9897272f8a35
drm/ast: Fix comment on modeset lock

commit 7cce65f3789e04c0f7668a66563e680d81d54493 upstream.

The ast driver protects the commit tail against concurrent reads
of the display modes by acquiring a lock. The comment is misleading
as the lock is not released in atomic_flush, but at the end of the
commit-tail helper. Rewrite the comment.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 1fe182154984 ("drm/ast: Acquire I/O-register lock in atomic_commit_tail function")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v6.2+
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://lore.kernel.org/r/20250324094520.192974-2-tzimmermann@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/ast/ast_mode.c