Re: [PATCH] dma-buf: fix reservation_object_wait_timeout_rcu once more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 22.01.2018 um 20:47 schrieb Chris Wilson:
Quoting Christian König (2018-01-22 19:32:39)
We need to set shared_count even if we already have a fence to wait for.
You mean for the

if (ret > 0 && wait_all && (i + 1 < shared_count)

clause.

In the case of having the exclusive fence, i=0 (erm, once), but
shared_count may still be just 1 and so we still fail to wait for the
shared fence in addition to the exclusive fence.

Ah, crap. Good point. V2 is on the list, please take a look.

Thanks,
Christian.

-Chris

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux