diff options
author | 2010-02-19 11:51:58 +0100 | |
---|---|---|
committer | 2010-02-26 13:23:21 -0800 | |
commit | ae3db24aab398fb5f985696c12362eb12ef65812 (patch) | |
tree | 6c8c552805855cc42ec9d18773dc026424a0fa9f /lib/bitmap.c | |
parent | drm/i915: fixup active list locking in object_unbind (diff) | |
download | linux-dev-ae3db24aab398fb5f985696c12362eb12ef65812.tar.xz linux-dev-ae3db24aab398fb5f985696c12362eb12ef65812.zip |
drm/i915: extract fence stealing code
The spaghetti logic in there tripped up my brain's code parser for a
few secs. Prevent this from happening again by extracting the fence
stealing code into a seperate functions. IMHO this slightly clears up
the code flow.
v2: Beautified according to ickle's comments.
v3: ickle forgot to flush his comment queue ... Now there's also a
we-are-paranoid BUG_ON in there.
v4: I've forgotten to switch on my brain when doing v3. Now the BUG_ON
actually checks something useful.
v5: Clean up a stale comment as noted by Eric Anholt.
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