OSDN Git Service

[gem] Clean up active/inactive list handling using helper functions.
authorEric Anholt <eric@anholt.net>
Tue, 20 May 2008 17:48:36 +0000 (10:48 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 May 2008 17:52:39 +0000 (10:52 -0700)
commit6c3ac484b049681f9f3e692f9a6238ed122a8191
tree5cbe0ca9b9bc234ef7a0fa503d312ff5d0d6fad6
parent7dced2f33a952ad12aafb7a3e34747156020a3ae
[gem] Clean up active/inactive list handling using helper functions.

Additionally, a boolean active field is added to indicate which list an
object is on, rather than smashing last_rendering_cookie to 0 to show
inactive.  This will help with flush-reduction later on, and makes the code
clearer.
linux-core/i915_gem.c
shared-core/i915_drv.h