diff options
author | Eric Anholt <[email protected]> | 2009-08-29 12:49:51 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-08-29 17:37:21 -0700 |
commit | a09ba7faf75fa4b21980d81de8e5f3d5c0785ccf (patch) | |
tree | dd0e468fa4a1a287fc365dc5b4ce546b68234377 /tools/perf/util/trace-event-scripting.c | |
parent | f8aed700c6ec46ddade6570004ce25332283b306 (diff) |
drm/i915: Fix CPU-spinning hangs related to fence usage by using an LRU.
The lack of a proper LRU was partially worked around by taking the fence
from the object containing the oldest seqno. But if there are multiple
objects inactive, then they don't have seqnos and the first fence reg
among them would be chosen. If you were trying to copy data between two
mappings, this could result in each page fault stealing the fence from
the other argument, and your application hanging.
https://bugs.freedesktop.org/show_bug.cgi?id=23566
https://bugs.freedesktop.org/show_bug.cgi?id=23220
https://bugs.freedesktop.org/show_bug.cgi?id=23253
https://bugs.freedesktop.org/show_bug.cgi?id=23366
Cc: Stable Team <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions