commit a09ba7faf75fa4b21980d81de8e5f3d5c0785ccf
Author: Eric Anholt <email address hidden>
Date: Sat Aug 29 12:49:51 2009 -0700
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.
pull request sent.
commit a09ba7faf75fa4b 21980d81de8e5f3 d5c0785ccf
Author: Eric Anholt <email address hidden>
Date: Sat Aug 29 12:49:51 2009 -0700
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.freedeskt op.org/ show_bug. cgi?id= 23566 /bugs.freedeskt op.org/ show_bug. cgi?id= 23220 /bugs.freedeskt op.org/ show_bug. cgi?id= 23253 /bugs.freedeskt op.org/ show_bug. cgi?id= 23366
https:/
https:/
https:/
Cc: Stable Team <email address hidden>
Signed-off-by: Eric Anholt <email address hidden>
Reviewed-by: Jesse Barnes <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>