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

Daniel Vetter daniel at ffwll.ch
Wed Apr 18 12:02:18 CEST 2012


On Tue, Apr 17, 2012 at 08:49:06AM -0700, Jesse Barnes wrote:
> 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>
Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list