diff options
author | 2010-02-19 11:51:59 +0100 | |
---|---|---|
committer | 2010-02-26 13:23:21 -0800 | |
commit | 63560396536e9eb8858826fcbfc14d4015a41a95 (patch) | |
tree | dad8f01fb791190a5361204f3ea98a54f941fcb7 /lib/bitmap.c | |
parent | drm/i915: extract fence stealing code (diff) | |
download | linux-dev-63560396536e9eb8858826fcbfc14d4015a41a95.tar.xz linux-dev-63560396536e9eb8858826fcbfc14d4015a41a95.zip |
drm/i915: ensure lru ordering of fence_list
The fence_list should be lru ordered for otherwise we might try
to steal a fence reg from an active object even though there are
fences from inactive objects available. lru ordering was obeyed
for gpu access everywhere save when moving dirty objects from
flushing_list to active_list.
Fixing this cause the code to indent way to much, so I've extracted
the flushing_list processing logic into its on function.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions