[Intel-gfx] [PATCH 2/5] drm/i915: retrieve current fb config into new plane_config structure at init

Jesse Barnes jbarnes at virtuousgeek.org
Thu Nov 14 17:09:12 CET 2013


On Thu, 14 Nov 2013 15:06:59 +0000
Chris Wilson <chris at chris-wilson.co.uk> wrote:

> On Wed, Nov 13, 2013 at 10:20:45AM -0800, Jesse Barnes wrote:
> > Read out the current plane configuration at init time into a new
> > plane_config structure.  This allows us to track any existing
> > framebuffers attached to the plane and potentially re-use them in our
> > fbdev code for a smooth handoff.
> 
> I don't see where plane_config is freed afterwards?

We just keep it around like a piece of stale toast... guess I need to
find a place to free it (maybe after the first mode set or after the
fbdev BIOS init).

-- 
Jesse Barnes, Intel Open Source Technology Center



More information about the Intel-gfx mailing list