Re: [PATCH 04/11] drm/i915/perf: do not warn when OA buffer is already allocated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 March 2018 at 10:08, Lionel Landwerlin
<lionel.g.landwerlin@xxxxxxxxx> 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?
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux