<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 06/15/2017 07:57 PM, Rob Clark
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF6AEGtkW1=UKC5yi5T2D0rBB318B=A3JPf6hQEj=KYVQk7ZjQ@mail.gmail.com">
<pre wrap="">On Thu, Jun 15, 2017 at 12:04 PM, Tapani Pälli <a class="moz-txt-link-rfc2396E" href="mailto:tapani.palli@intel.com"><tapani.palli@intel.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 06/15/2017 06:52 PM, Rob Clark wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Thu, Jun 15, 2017 at 9:59 AM, Eric Engestrom
<a class="moz-txt-link-rfc2396E" href="mailto:eric.engestrom@imgtec.com"><eric.engestrom@imgtec.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Thursday, 2017-06-15 13:27:06 +0000, Marathe, Yogesh wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Hello,
I'm tyring to run flatland native app on android. It apparantly fails
because of a fence issue.
while debuging further it is observed that droid_window_enqueue_buffer()
is forcing
fence_fd =-1.
</pre>
</blockquote>
</blockquote>
<pre wrap="">
Yogesh, can you describe a bit more what "fails" means? What sequence
of gl calls, for example, is it making?
</pre>
</blockquote>
<pre wrap="">
The problem described shortly: Flatland uses timestamps from Fence objects
for calculating time (using getSignalTime API) and in case of having -1 from
producer (Mesa) we will end up having same timestamp for startFence and
endFence (since both are Fence::NO_FENCE) and thus flatland will keep
running forever as it thinks no time has been passed between 2 fences. It is
stuck in a loop where it tries to find how many frames are required so that
driver will spend certain amount of time doing it.
</pre>
</blockquote>
<pre wrap="">
hmm, any idea what the getSignalTime() API sits on top of? I don't
think we have such a capability with fence fd's..
</pre>
</blockquote>
<span class="kwd"><br>
I don't know much of libsync but it uses libsync functions
'sync_fence_info' and 'sync_pt_info' to retrieve data from fence
fd.<br>
</span><br>
<blockquote type="cite"
cite="mid:CAF6AEGtkW1=UKC5yi5T2D0rBB318B=A3JPf6hQEj=KYVQk7ZjQ@mail.gmail.com">
<pre wrap="">
BR,
-R
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>