[Intel-gfx] [PATCH] drm/i915: intel_update_fbc() requires struct_mutex, so no longer atomic

Jesse Barnes jbarnes at virtuousgeek.org
Tue Apr 17 17:49:06 CEST 2012


On Tue, 17 Apr 2012 15:08:19 +0100
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> As we need to manipulate our device structure and allocate queue a task,
> it is no longer a simple atomic operation and cannot be performed along
> the atomic modeset paths. Instead make sure that we disable FBC (which
> must be therefore kept as a set of simple register writes) when
> performing the atomic modeset and leave the heavy-weight
> intel_update_fbc() for the normal modeset.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
> ---

Looks good.

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>



More information about the Intel-gfx mailing list