[Intel-gfx] [PATCH 3/4] drm/i915/perf: do not warn when OA buffer is already allocated

Matthew Auld matthew.william.auld at gmail.com
Wed Oct 10 19:24:58 UTC 2018


On Wed, 10 Oct 2018 at 19:55, 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+).
>
> The opening sequence has been reworked a few times and we probably lost
> track of the order in which things are supposed to happen.
>
> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

Accidental resend, or did the locking actually change recently?


More information about the Intel-gfx mailing list