diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-05-18 16:24:26 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-07-08 14:05:15 +0300 |
commit | d372ba42431059e8a35f94353cce40fada02acc2 (patch) | |
tree | 0652372bd8123ab05983abc4ab1b1bd29d795390 /drivers/gpu/drm/i915/display/intel_atomic_plane.h | |
parent | cd5606aa39925ad4483e96abffc9cc62bb36c640 (diff) | |
download | linux-d372ba42431059e8a35f94353cce40fada02acc2.tar.gz linux-d372ba42431059e8a35f94353cce40fada02acc2.tar.bz2 linux-d372ba42431059e8a35f94353cce40fada02acc2.zip |
drm/i915/plane: add intel_plane_helper_add() helper
Add a small helper to keep intel_plane_helper_funcs static.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210518132426.7567-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_atomic_plane.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_atomic_plane.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_atomic_plane.h b/drivers/gpu/drm/i915/display/intel_atomic_plane.h index dc4d05e75e1c..62e5a2a77fd4 100644 --- a/drivers/gpu/drm/i915/display/intel_atomic_plane.h +++ b/drivers/gpu/drm/i915/display/intel_atomic_plane.h @@ -17,8 +17,6 @@ struct intel_crtc_state; struct intel_plane; struct intel_plane_state; -extern const struct drm_plane_helper_funcs intel_plane_helper_funcs; - unsigned int intel_adjusted_rate(const struct drm_rect *src, const struct drm_rect *dst, unsigned int rate); @@ -65,5 +63,6 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state, bool can_position); void intel_plane_set_invisible(struct intel_crtc_state *crtc_state, struct intel_plane_state *plane_state); +void intel_plane_helper_add(struct intel_plane *plane); #endif /* __INTEL_ATOMIC_PLANE_H__ */ |