drm/i915/display: Explicitly cleanup initial_plane_config
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Feb 2020 09:48:00 +0000 (09:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 5 Feb 2020 09:20:39 +0000 (09:20 +0000)
commit1586f6200f69d65a49158c5d0823460568d850f7
tree5978f6afbaf6d543815742a7793f7c822feea8ae
parent5758e073845845110d7545a98cb1c76f59b15a0d
drm/i915/display: Explicitly cleanup initial_plane_config

I am about to stuff more objects into the plane_config and would like to
have it clean up after itself. Move the current framebuffer release into
a common function so it can be extended with the new object with
relative ease.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200204094801.877288-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/display/intel_display.c