Patch "drm/ast: Fix comment on modeset lock" has been added to the 6.6-stable tree
Subsystems (3)
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
drm/ast: Fix comment on modeset lock
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-ast-fix-comment-on-modeset-lock.patch
and it can be found in the queue-6.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
From 7cce65f3789e04c0f7668a66563e680d81d54493 Mon Sep 17 00:00:00 2001
From: Thomas Zimmermann <[email protected]>
Date: Mon, 24 Mar 2025 10:44:09 +0100
Subject: drm/ast: Fix comment on modeset lock
From: Thomas Zimmermann <[email protected]>
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.
--- drivers/gpu/drm/ast/ast_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/ast/ast_mode.c +3 -3
@@ -1868,9 +1868,9 @@ static void ast_mode_config_helper_atomi/* * Concurrent operations could possibly trigger a call to -* drm_connector_helper_funcs.get_modes by trying to read the -* display modes. Protect access to I/O registers by acquiring -* the I/O-register lock. Released in atomic_flush(). +* drm_connector_helper_funcs.get_modes by reading the display +* modes. Protect access to registers by acquiring the modeset +* lock. */ mutex_lock (&ast->ioregs_lock);drm_atomic_helper_commit_tail_rpm (state);
Patches currently in stable-queue which might be from [email protected] are
queue-6.6/drm-cirrus-qemu-fix-pitch-programming.patch queue-6.6/dummycon-trigger-redraw-when-switching-consoles-with.patch queue-6.6/drm-ast-fix-comment-on-modeset-lock.patch queue-6.6/drm-udl-unregister-device-before-cleaning-up-on-disconnect.patch