diff options
author | Thomas Zimmermann <[email protected]> | 2022-07-28 14:40:53 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2022-07-29 16:01:25 +0200 |
commit | 2d70b9a1482e09f8465452c4655ffe20c605d526 (patch) | |
tree | e7497583fbf6a6c88ccd82eb702bd910e5a852bf /lib/mpi/mpi-internal.h | |
parent | 9382ec27acb2f5a43dc3c3b77036f898a498ba60 (diff) |
drm/mgag200: Acquire I/O-register lock in atomic_commit_tail function
Hold I/O-register lock in atomic_commit_tail to protect all pipeline
updates at once. Protects against concurrent I/O access in get-modes
helper.
Complex modesetting operations involve mode changes, plane updates and
possibly BMC updates. Make all this atomic wrt to reading display modes
via EDID. It's not so much an issue with simple-KMS helpers, but will
become necessary for using regular atomic helpers.
v4:
* remove empty line
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Jocelyn Falempe <[email protected]>
Tested-by: Jocelyn Falempe <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions