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

Chris Wilson
2013-11-13T22:10:54Z

On Wed, Nov 13, 2013 at 10:20:45AM -0800, Jesse Barnes wrote:
> + plane_config->pitch =
> + intel_framebuffer_pitch_for_width(plane_config->fb_width,
> + plane_config->bpp,
> + plane_config->tiled);
> +
> + plane_config->size = ALIGN(plane_config->pitch *
> + plane_config->fb_height, PAGE_SIZE);
> + plane_config->obj =
> + i915_gem_object_create_stolen_for_preallocated(dev,
> + plane_config->base,
> + plane_config->base,
> + plane_config->size);
> +}

Oh I see now. Dramatic changes. Will need to dig up ken.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre