]> www.infradead.org Git - users/jedix/linux-maple.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)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Apr 2025 13:08:48 +0000 (15:08 +0200)
commit7cce65f3789e04c0f7668a66563e680d81d54493
tree6ad7330be38d2db84d1f46881ebd0ebb379d4964
parent231adeda9f674ece664b09b75b68a4c023180fb4
drm/ast: Fix comment on modeset lock

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
drivers/gpu/drm/ast/ast_mode.c