[Intel-gfx] [PATCH] drm/i915: Remove invalid object alignment.

Jesse Barnes jbarnes at virtuousgeek.org
Wed Dec 2 22:43:33 CET 2009


On Wed,  2 Dec 2009 21:23:28 +0000
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Kristian Høgsberg <krh at bitplanet.net>
> Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
> ---
>  drivers/gpu/drm/i915/intel_display.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c
> b/drivers/gpu/drm/i915/intel_display.c index 65b76ff..4424c70 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -1213,7 +1213,6 @@ intel_pin_and_fence_fb_obj(struct drm_device
> *dev, struct drm_gem_object *obj) BUG();
>  	}
>  
> -	alignment = 256 * 1024;
>  	ret = i915_gem_object_pin(obj, alignment);
>  	if (ret != 0)
>  		return ret;

I just obsoleted this one with a bigger patch that brings us up to date
with the patch that should have been applied.

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list