[Intel-gfx] [PATCH] drm/i915: Convert breadcrumbs spinlock to be irqsafe

Tvrtko Ursulin tursulin at ursulin.net
Fri Oct 28 10:27:43 UTC 2016



On 28/10/16 11:10, Chris Wilson wrote:
> On Fri, Oct 28, 2016 at 10:42:22AM +0100, Tvrtko Ursulin wrote:
>>
>>
>> On 27/10/16 17:10, Chris Wilson wrote:
>>> The breadcrumbs are about to be used from within IRQ context sections,
>>> therefore we need to employ the irqsafe spinlock variants.
>>>
>>> (This is split out of the defer global seqno allocation patch due to
>>> realisation that we need a more complete conversion if we want to defer
>>> request submission even further.)
>
> [snip]
>
>> Assuming I got the above right and you agree to change it:
>
> You made me go and reduce them to _bh as appropriate anyway!!!

Hm, but can't enable signalling be called with irqs disabled when fences 
are exported?

Regards,

Tvrtko


More information about the Intel-gfx mailing list