linux-stable/drivers/gpu/drm/ast
Thomas Zimmermann f870231fdd drm/ast: Protect concurrent access to I/O registers with lock
Add a mutex lock to protect concurrent access to I/O registers
against each other. This happens between invocation of commit-
tail functions and get-mode operations. Both with use the CRTC
index register AST_IO_CRTC_PORT. Concurrent access can lead to
failed mode-setting operations.

v2:
	* fix typo in commit description (Jocelyn)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reported-by: KuoHsiang Chou <kuohsiang_chou@aspeedtech.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220502142514.2174-3-tzimmermann@suse.de
2022-05-05 09:18:32 +02:00
..
ast_dp.c drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00
ast_dp501.c drm/ast: Remove unused value dp501_maxclk 2022-02-08 13:38:46 +01: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 drm/ast: Replace module-init boiler-plate code with DRM helpers 2022-01-19 18:39:55 +01:00
ast_drv.h drm/ast: Protect concurrent access to I/O registers with lock 2022-05-05 09:18:32 +02:00
ast_i2c.c drm/ast: Move I2C code into separate source file 2021-12-16 12:29:22 +01:00
ast_main.c drm/ast: Protect concurrent access to I/O registers with lock 2022-05-05 09:18:32 +02:00
ast_mm.c drm/ast: Use managed interfaces for framebuffer write combining 2021-09-23 09:26:09 +02:00
ast_mode.c drm/ast: Protect concurrent access to I/O registers with lock 2022-05-05 09:18:32 +02:00
ast_post.c drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00
ast_tables.h Revert "drm/ast: Support 1600x900 with 108MHz PCLK" 2022-01-26 10:26:51 +01:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00