Skip to content
Commit 0b0120d4 authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

drm/i915/perf: always consider holding preemption a privileged op



The ordering of the checks in the existing code can lead to holding
preemption not being considered as privileged op.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9cd20ef7 ("drm/i915/perf: allow holding preemption on filtered ctx")
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191111095308.2550-1-lionel.g.landwerlin@intel.com
parent baea9ffe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment