Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f590d279 authored by Owain Ainsworth's avatar Owain Ainsworth Committed by Eric Anholt
Browse files

drm/i915: reduce some of the duplication of tiling checking



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: default avatarOwain G. Ainsworth <oga@openbsd.org>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 10ae9bd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment