drm/i915: Export intel_framebuffer_fini
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Aug 2013 16:43:07 +0000 (17:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Aug 2013 18:08:50 +0000 (20:08 +0200)
commitddfe15677d9c47f2491e401cd773b45e1aac74bf
tree60e9e848541f4ada1d55e300da55c1df8f54661b
parent350ec881d966453bdcf1d3299071e90da4e507b4
drm/i915: Export intel_framebuffer_fini

Rather than open-code the teardown of a framebuffer, export the routine
from intel_display.c. This then make intel_fbdev symmetric in its use of
the common intel_framebuffer routines to initialise and clean up the
struct intel_framebuffer. (And new features need only be added in one
location!)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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_fb.c