Re: [PATCH] dma-buf: keep the signaling time of merged fences v3

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

 



Am 30.06.23 um 19:19 schrieb Luben Tuikov:
On 2023-06-30 08:00, Christian König wrote:
[SNIP]
---
Silly question perhaps:
	Could we not have returned an existing (signalled) fence with
the wanted timestamp (when count == 0), as opposed to allocating a stub? Maybe
allocation should be avoided?

No a silly, but a very good question.

Answer is yes, that's what we have done previously. Problem with that approach is that each fence reference prevents the driver who originally issued this fence from being able to unload.

That's especially ugly in cases of hotplug because you have to keep a zombie driver instance around for potentially quite some time.

Regards,
Christian.



[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