aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2024-05-13 14:51:14 +0200
committerThomas Zimmermann <[email protected]>2024-05-17 17:20:23 +0200
commit66d58ec0bc659fafcda962a5678dbb3f061d7359 (patch)
tree70e3f106da2cf21ca9efc82a0871c010f311ee8b /tools/perf/scripts/python
parentb7e04af37edc5b6fd9a5aa206ca4dc73346c688b (diff)
drm/mgag200: Acquire I/O-register lock in DDC code
The modeset lock protects the DDC code from concurrent modeset operations, which use the same registers. Move that code from the connector helpers into the DDC helpers .pre_xfer() and .post_xfer(). Both, .pre_xfer() and .post_xfer(), enclose the transfer of data blocks over the I2C channel in the internal I2C function bit_xfer(). Both calls are executed unconditionally if present. Invoking DDC transfers from any where within the driver now takes the lock. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions