commit | c539b579b6c72719a8e14b1823ccf1e9fb3380d2 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Oct 05 15:58:14 2018 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Oct 08 13:52:54 2018 +0300 |
tree | 46bfa97b7759c671c201568def1f17cdd8aca20e | |
parent | 2d72dc8b7c15e4a83b4f7c6976feaf96e7e3e63e [diff] |
drm/i915: Introduce intel_plane_alloc() Pull the common plane+plane_state allocation into a small helper. Reduces the amount of boilerplate in the plane initialization functions. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181005125817.22576-9-ville.syrjala@linux.intel.com