linux/drivers/gpu/drm/ast
Thomas Zimmermann 3d379b2a73 drm/ast: Fix comment on modeset lock
commit 7cce65f378 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: 1fe1821549 ("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>
History 2025-07-06 11:01:44 +02:00
..
ast_ddc.c drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_ddc.h drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_dp.c drm/ast: Fix ast_dp connection status 2025-04-25 10:47:57 +02:00
ast_dp501.c drm/ast: dp501: Transparently handle BMC support 2024-08-22 09:13:11 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c pci-v6.12-changes 2024-09-23 12:47:06 -07:00
ast_drv.h drm/ast: Remove BMC output 2024-08-22 09:13:21 +02:00
ast_main.c drm/ast: astdp: Test firmware status once during probing 2024-07-30 12:15:37 +02:00
ast_mm.c drm/ast: Rename AST_IO_CRTC_PORT to AST_IO_VGACRI 2023-10-19 13:55:33 +02:00
ast_mode.c drm/ast: Fix comment on modeset lock 2025-07-06 11:01:44 +02:00
ast_post.c drm/ast: astdp: Test firmware status once during probing 2024-07-30 12:15:37 +02:00
ast_reg.h drm/ast: astdp: Clean up EDID reading 2024-07-30 12:15:37 +02:00
ast_sil164.c drm/ast: sil164: Clear EDID if no display is connected 2024-10-17 08:50:14 +02:00
ast_tables.h drm/ast: Add resolution support for 1152x864@75 2022-09-20 10:19:32 +02:00
ast_vga.c drm/ast: vga: Clear EDID if no display is connected 2024-10-17 08:50:14 +02:00
Kconfig drm: Only select I2C_ALGOBIT for drivers that actually need it 2023-01-10 11:15:44 +01:00
Makefile drm/ast: Move code for physical outputs into separate files 2024-08-22 09:12:46 +02:00