[PATCH v7 04/11] drm/i915: don't whitelist oacontrol in cmd parser

2016-10-25 Thread Matthew Auld
On 25 October 2016 at 00:19, Robert Bragg wrote: > Being able to program OACONTROL from a non-privileged batch buffer is > not sufficient to be able to configure the OA unit. This was originally > allowed to help enable Mesa to expose OA counters via the > INTEL_performance_query extension, but th

[PATCH v7 04/11] drm/i915: don't whitelist oacontrol in cmd parser

2016-10-25 Thread Robert Bragg
Being able to program OACONTROL from a non-privileged batch buffer is not sufficient to be able to configure the OA unit. This was originally allowed to help enable Mesa to expose OA counters via the INTEL_performance_query extension, but the current implementation based on programming OACONTROL vi