[PATCH libdrm v3 0/4] etna_pipe_wait_ns(..)

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 23 19:22:32 UTC 2016


On 23 November 2016 at 18:45, Rob Clark <robdclark at gmail.com> wrote:
> On Wed, Nov 23, 2016 at 1:18 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 23 November 2016 at 07:26, Christian Gmeiner
>> <christian.gmeiner at gmail.com> wrote:
>>> Add an API to pass the timeout value (ns) from pipe->fence_finish(..)
>>> to the kernel. The current API accepts ms and special handling is needed
>>> for PIPE_TIMEOUT_INFINITE.
>>>
>>> The idea is not to break old mesa (out-of-tree) + new libdrm. It may be
>>> possible to break etnaviv's ABI as the gallium driver is not upstream yet
>>> but I am quite unsure whats the best solution.
>>>
>> I'm kind of split with a small inclination towards "break it" ;-)
>
> fwiw, I suggested the "don't break it" approach.. in the early days of
> a new FOSS gfx driver, it is hard enough for end users to pull
> together the right combination of trees to make things work, so lets
> not make it harder for them.  In the end, a FOSS driver is to enable
> the users ;-)
>
Which is kind of but not the same the thing I've mentioned - check if
driver devs/users have a preference and go ahead with it :-P
There is limited benefit in supporting "out of tree" code if most/all
the people don't care about it ... and Mesa is likely to land ~soonish
 ;-)

I see your point, hopefully mine was clear as well.
Emil


More information about the dri-devel mailing list