Bug 14538 - [core TTM] Premature fence timeouts.
Summary: [core TTM] Premature fence timeouts.
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2008-02-18 02:32 UTC by Thomas Hellström
Modified: 2019-10-14 13:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Thomas Hellström 2008-02-18 02:32:46 UTC
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.
Comment 1 Martin Peres 2019-10-14 13:20:15 UTC

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.