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

Lionel Landwerlin lionel.g.landwerlin at intel.com
Thu Oct 11 10:06:52 UTC 2018


On 10/10/2018 20:24, Matthew Auld wrote:
> 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?
>
Indeed.... Sorry for that, dropping for good!

-
Lionel


More information about the Intel-gfx mailing list