[Intel-gfx] [PATCH 4/9] drm/i915: don't free the CFB while FBC is enabled

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 25 02:20:30 PST 2014


On Tue, Dec 23, 2014 at 10:35:40AM -0200, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> Because that is probably not very a good idea: if we used the stolen
> memory for more things, there could be a risk that someone would
> "allocate" the memory that the HW is still using as the CFB while FBC
> was still enabled.

Not in the code as it currently is due to the struct mutex lock. You
need to explain how and why you intend to remove that invariant.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list