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)
commit8bcd45534ddf68ab71aeed709dacd9cf65dc0f75
treea70584ebcef73813dba47693530af6b87098fe4f
parentbd9b6a4ec5b963378d22d4ba41b5e61e0ecec9aa
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