drm/i915: Make GEM object's page lists refcounted instead of get/free.
authorEric Anholt <eric@anholt.net>
Thu, 19 Mar 2009 21:10:50 +0000 (14:10 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Mar 2009 21:46:28 +0000 (14:46 -0700)
commit856fa1988ea483fc2dab84a16681dcfde821b740
tree8cd5f580f27d266fac0c540d33cd041e074872af
parent3de09aa3b38910d366f4710ffdf430c9d387d1a3
drm/i915: Make GEM object's page lists refcounted instead of get/free.

We've wanted this for a few consumers that touch the pages directly (such as
the following commit), which have been doing the refcounting outside of
get/put pages.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c