Re: [Intel-gfx] [PATCH] drm/i915/perf: always consider holding preemption a privileged op

2019-11-11 Thread Lionel Landwerlin
On 11/11/2019 12:05, Chris Wilson wrote: Quoting Lionel Landwerlin (2019-11-11 09:53:08) The ordering of the checks in the existing code can lead to holding preemption not being considered as privileged op. Signed-off-by: Lionel Landwerlin Fixes: 9cd20ef7803c ("drm/i915/perf: allow holding pre

Re: [Intel-gfx] [PATCH] drm/i915/perf: always consider holding preemption a privileged op

2019-11-11 Thread Chris Wilson
Quoting Lionel Landwerlin (2019-11-11 09:53:08) > The ordering of the checks in the existing code can lead to holding > preemption not being considered as privileged op. > > Signed-off-by: Lionel Landwerlin > Fixes: 9cd20ef7803c ("drm/i915/perf: allow holding preemption on filtered > ctx") Oops

[Intel-gfx] [PATCH] drm/i915/perf: always consider holding preemption a privileged op

2019-11-11 Thread Lionel Landwerlin
The ordering of the checks in the existing code can lead to holding preemption not being considered as privileged op. Signed-off-by: Lionel Landwerlin Fixes: 9cd20ef7803c ("drm/i915/perf: allow holding preemption on filtered ctx") --- drivers/gpu/drm/i915/i915_perf.c | 20 ++-- 1