http://bugs.freedesktop.org/show_bug.cgi?id=14538

           Summary: [core TTM] Premature fence timeouts.
           Product: DRI
           Version: DRI CVS
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Symtoms:
gltestperf times out with an -EBUSY (-16).

It's possible to feed enough rendering commands in a command FIFO for the GPU
to be busy more than 3 seconds, which is the default fence wait.

Proposed fix:
1) Add an issued_jiffies timestamp member to the fence. The fence maximum wait
time will be relative to this timestamp, instead of relative to the wait start.
This will remove all needs for extra user-space fence time-out checks.

2) If a timeout is hit, we call a device-specific callback "fence_timeout" that
checks in one way or another whether the GPU is still alive. In that case,
reset issued_jiffies to the current time. If not, Really time out.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to