drm/i915: alloc intel_fb in the intel_fbdev struct
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 7 Feb 2014 20:10:38 +0000 (12:10 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:52:55 +0000 (18:52 +0100)
commit71f68dda1f4958a5c8cd7484c9fd0d186b26cb10
treea70584ebcef73813dba47693530af6b87098fe4f
parent435eea3d675ea0ad8c4efc68e5af244597141c63
drm/i915: alloc intel_fb in the intel_fbdev struct

Allocate this struct instead, so we can re-use another allocated
elsewhere if needed.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: WARN_ON if there's no backing storage attached to an fb,
that's a bug.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c