aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2024-12-05 17:50:22 -0800
committerThomas Hellström <[email protected]>2024-12-12 16:57:28 +0100
commitcefade70f346160f47cc24776160329e2ee63653 (patch)
tree6803f192d5def21d8fa9ef9f28d4386c257cbf92 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parented69b28b3a5e39871ba5599992f80562d6ee59db (diff)
drm/xe: Call invalidation_fence_fini for PT inval fences in error state
Invalidation_fence_init takes a PM reference, which is released in its _fini counterpart, so we need to make sure that the latter is called, even if the fence is in an error state. Since we already have a function that calls _fini() and signals the fence in the tlb inval code, we can expose that and call it from the PT code. Fixes: f002702290fc ("drm/xe: Hold a PM ref when GT TLB invalidations are inflight") Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: <[email protected]> # v6.11+ Cc: Matthew Brost <[email protected]> Cc: Nirmoy Das <[email protected]> Cc: Rodrigo Vivi <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 65338639b79ce88aef5263cd518cde570a3c7c8e) Signed-off-by: Thomas Hellström <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions