drm/i915: add plane_config fetching infrastructure v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 7 Mar 2014 16:57:48 +0000 (08:57 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 8 Mar 2014 10:31:29 +0000 (11:31 +0100)
commit46f297fb83d4f9a6f6891964beb184664341a28b
tree01e3b56de203fdce2619bcb46d2907522eb65b79
parentc2831a94b5e77a407db0708816949d4a87416a8e
drm/i915: add plane_config fetching infrastructure v2

Early at init time, we can try to read out the plane config structure
and try to preserve it if possible.

v2: alloc fb obj at init time after fetching plane config

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h