[Intel-gfx] [PATCH 04/11] drm/i915/perf: do not warn when OA buffer is already allocated
matthew.william.auld at gmail.com
Mon Mar 26 12:00:32 UTC 2018
On 26 March 2018 at 10:08, Lionel Landwerlin
<lionel.g.landwerlin at intel.com> wrote:
> If 2 processes race to open the perf stream, it's possible that one of them
> will see that OA buffer has already been allocated, while a previous process
> is still finishing to reprogram the hardware (on gen8+).
But we grab the perf.lock while opening the perf stream, and we only
allow one exclusive stream. Maybe I'm missing something?
More information about the Intel-gfx