[Nouveau] [PATCH] drm/ttm: Fix race condition in ttm_bo_delayed_delete

Francisco Jerez currojerez at riseup.net
Thu Jan 21 09:39:03 PST 2010


Luca Barbieri <luca at luca-barbieri.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/nouveau/attachments/20100121/6ae3c6ab/attachment.pgp 


More information about the Nouveau mailing list