[Intel-gfx] [PATCH] drm/i915: reduce some of the duplication of tiling checking

Eric Anholt eric at anholt.net
Mon Feb 22 17:51:44 CET 2010


On Thu, 18 Feb 2010 15:33:00 +0000, Owain Ainsworth <zerooa at googlemail.com> wrote:
> note: not having a linux box to test on i have no idea if this builds.
> 
> Works for me on openbsd though.
> 
> From c230980acaae09a672fcddbdbc4cf30549173e98 Mon Sep 17 00:00:00 2001
> From: Owain G. Ainsworth <oga at openbsd.org>
> Date: Thu, 18 Feb 2010 15:26:47 +0000
> Subject: [PATCH] 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: Owain G. Ainsworth <oga at openbsd.org>

Sounds good, and it even built fine :)

Applied to -next.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100222/037052f7/attachment.sig>


More information about the Intel-gfx mailing list