On 10/18/24 08:28, Akihiko Odaki wrote:
>> +static void virgl_write_context_fence(void *opaque, uint32_t ctx_id,
>> +                                      uint32_t ring_idx, uint64_t fence)
>> +{
>> +    VirtIOGPU *g = opaque;
> 
> What about taking the BQL here instead of having a QEMUBH?

That will block virglrenderer thread writing the fence, which in turns
might block other virglrenderer threads.

-- 
Best regards,
Dmitry

Reply via email to