Luca Barbieri <[email protected]> writes:

>> The card also keeps some internal FIFO caches, so it seems to me that
>> getting that safe of races and efficient at the same time could be a bit
>> non-trivial.
>
> Are they flushable?
> It seems this *might* do the job:
> if (!pfifo->cache_flush(dev))
> return;
> pfifo->reassign(dev, false);
> pfifo->cache_flush(dev);
> pfifo->cache_pull(dev, false);
>
>
> pfifo->cache_pull(dev, true);
> pfifo->reassign(dev, true);

Yeah, that would probably do the job, but it's likely to be too slow to
be useful.

Attachment: pgpCDvzDQ4HoQ.pgp
Description: PGP signature

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to