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

Jesse Barnes
2013-11-14T16:08:13Z

On Thu, 14 Nov 2013 15:06:59 +0000
Chris Wilson <chris@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