aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAndi Shyti <[email protected]>2024-06-14 00:24:02 +0200
committerAndi Shyti <[email protected]>2024-06-15 13:58:18 +0200
commitae45f07cade1a5853ff6fd745bbd86a64cc82643 (patch)
treec527274de3faf3a667e0e6f53e2b8b6cde6366e3 /tools/testing/selftests/bpf/progs/test_autoload.c
parent45ebbbbeaa33da4a6dbc532ebc57d20de4b60a82 (diff)
drm/i915/gt/uc: Evaluate GuC priority within locks
The ce->guc_state.lock was made to protect guc_prio, which indicates the GuC priority level. But at the begnning of the function we perform some sanity check of guc_prio outside its protected section. Move them within the locked region. Use this occasion to expand the if statement to make it clearer. Signed-off-by: Andi Shyti <[email protected]> Cc: Matthew Brost <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions