drm/i915: reduce some of the duplication of tiling checking
authorOwain Ainsworth <zerooa@googlemail.com>
Thu, 18 Feb 2010 15:33:00 +0000 (15:33 +0000)
committerEric Anholt <eric@anholt.net>
Mon, 22 Feb 2010 16:54:42 +0000 (11:54 -0500)
i915_gem_object_fenceable was mostly just a repeat of the
i915_gem_object_fence_offset_ok, but also checking the size (which was
checkecd when we allowed that BO to be tiled in the first place). So
instead, export the latter function and use it in place.

Signed-Off-By: Owain G. Ainsworth <oga@openbsd.org>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found