OSDN Git Service

[intel-GEM] ref count objects in gtt-lru.
authorKeith Packard <keithp@keithp.com>
Wed, 7 May 2008 04:59:06 +0000 (21:59 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 7 May 2008 04:59:06 +0000 (21:59 -0700)
commit6a6c37af9ecaabfe1399a1300cadaff730767013
tree5fdcd7396aad7ab84cd523b5660ca8f80577853c
parent61253f4f677518537368103799c9510b8b5ad1e3
[intel-GEM] ref count objects in gtt-lru.

If objects on the lru aren't ref counted, they'll get pulled from the gtt as
soon as they are freed. This change does cause objects to get stuck in the
gtt until they're forced out by new requests. The lru should get cleaned
when the irq occurs.
linux-core/i915_gem.c
shared-core/i915_drv.h