summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-03-25 23:06:55 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2024-04-02 11:40:50 +0300
commitdfff99cb56904087e35dbecec3d482aa8a95436a (patch)
treeafa318acbee868bcd2bd51c2a8080e2e53de8953 /tools/perf/scripts/python/exported-sql-viewer.py
parent660ed6ba8f62faab67c0d5c615de82e1a65a4d3f (diff)
downloadlinux-dfff99cb56904087e35dbecec3d482aa8a95436a.tar.xz
drm/ast: 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 <tzimmermann@suse.de> Reviewed-by: Sui Jingfeng <sui.jingfeng@linux.dev> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Tested-by: Sui Jingfeng <sui.jingfeng@linux.dev> Link: https://patchwork.freedesktop.org/patch/msgid/20240325200855.21150-11-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions