Re: [PATCH 11/16] drm/i915: Introduce accurate frontbuffer tracking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 18, 2014 at 01:59:12PM +0200, Daniel Vetter wrote:
>  	mutex_lock(&dev->struct_mutex);
> -	ret = intel_pin_and_fence_fb_obj(dev,
> -					 to_intel_framebuffer(fb)->obj,
> -					 NULL);
> +	ret = intel_pin_and_fence_fb_obj(dev, obj, NULL);
> +	i915_gem_update_fb_bits(to_intel_framebuffer(old_fb)->obj, obj,
> +				INTEL_FRONTBUFFER_PRIMARY(pipe));

Hey, no changing state on a failed operation.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux