aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-09-16 10:00:59 +0100
committerChris Wilson <[email protected]>2020-09-18 11:53:04 +0100
commitf2acf74068b0ac56289ecdd9739e9aaee1a46d21 (patch)
treefe309d29cacb7e3896ddc49cacc1246ddc6fe363 /lib/test_fortify/write_overflow-strcpy.c
parent293f43c80c0027ff9299036c24218ac705ce584e (diff)
drm/i915: Reduce GPU error capture mutex hold time
Shrink the hold time for the error capture mutex to just around the acquire/release of the PTE used for reading back the object via the Global GTT. For platforms that do not need the GGTT read back, we can skip the mutex entirely and allow concurrent error capture. Where we do use the GGTT, by restricting the hold time around the slow readback and compression, we are more resilient against softlockups (khungtaskd) as the heartbeat may well also trigger an error while the first is on going, and this allows the heartbeat reset to skip past the capture and not be stalled. Testcase: igt/gem_exec_capture/many-* Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions