Re: [Mesa-dev] [PATCH 2/9] i965: Check last known busy status on bo before asking the kernel

2017-06-15 Thread Chris Wilson
Quoting Kenneth Graunke (2017-06-15 19:45:19) > On Thursday, June 15, 2017 1:41:39 AM PDT Chris Wilson wrote: > > Quoting Kenneth Graunke (2017-06-14 22:49:01) > > > On Friday, June 9, 2017 6:01:33 AM PDT Chris Wilson wrote: > > > > If we know the bo is idle (that is we have no submitted a command

Re: [Mesa-dev] [PATCH 2/9] i965: Check last known busy status on bo before asking the kernel

2017-06-15 Thread Kenneth Graunke
On Thursday, June 15, 2017 1:41:39 AM PDT Chris Wilson wrote: > Quoting Kenneth Graunke (2017-06-14 22:49:01) > > On Friday, June 9, 2017 6:01:33 AM PDT Chris Wilson wrote: > > > If we know the bo is idle (that is we have no submitted a command buffer > > > referencing this bo since the last

Re: [Mesa-dev] [PATCH 2/9] i965: Check last known busy status on bo before asking the kernel

2017-06-15 Thread Chris Wilson
Quoting Kenneth Graunke (2017-06-14 22:49:01) > On Friday, June 9, 2017 6:01:33 AM PDT Chris Wilson wrote: > > If we know the bo is idle (that is we have no submitted a command buffer > > referencing this bo since the last query) we can skip asking the kernel. > > Note this may report a false

Re: [Mesa-dev] [PATCH 2/9] i965: Check last known busy status on bo before asking the kernel

2017-06-14 Thread Kenneth Graunke
On Friday, June 9, 2017 6:01:33 AM PDT Chris Wilson wrote: > If we know the bo is idle (that is we have no submitted a command buffer > referencing this bo since the last query) we can skip asking the kernel. > Note this may report a false negative if the target is being shared > between processes

[Mesa-dev] [PATCH 2/9] i965: Check last known busy status on bo before asking the kernel

2017-06-09 Thread Chris Wilson
If we know the bo is idle (that is we have no submitted a command buffer referencing this bo since the last query) we can skip asking the kernel. Note this may report a false negative if the target is being shared between processes (exported via dmabuf or flink). To allow the caller control over