aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2024-02-21 14:30:20 +0100
committerMaarten Lankhorst <[email protected]>2024-02-21 20:08:23 +0100
commit0cd99046ca0522d8d212eb9adb093063a5f333ae (patch)
tree3f3a64c4ef449e87504415d37e8759ca705b89fe /lib/test-string_helpers.c
parentffb7249df1998a623525648fca412e17a440a136 (diff)
drm/xe: Add vm snapshot mutex for easily taking a vm snapshot during devcoredump
The devcoredump is done in fence signaling context. Because of this, we cannot take any of the normal mutexes or we would invert. Normal: Take vm->lock, dma_fence_wait() Devcoredump: from dma_fence_wait() context, take vm->lock. This doesn't work, and we only care about integrity, so take the locks around additions and removals of vma's. Signed-off-by: Maarten Lankhorst <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions