]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f7243dc72117acf35bce778f805fc240a1a37d8
tree5978f6afbaf6d543815742a7793f7c822feea8ae
parent74834f7bb6ce00d1cf3b0a3a652b468cac59c241
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