drm/i915: Move intel_plane_atomic_calc_changes() & co. out
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Feb 2022 09:06:22 +0000 (11:06 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Feb 2022 12:59:31 +0000 (14:59 +0200)
commitc17897428e1d25975da5d45d40f53bfb19d8fdcc
treea46ed7ab6d37ffc9ee25ae40a7900adaae906d45
parenta6e7a006f5d551ee0827059300148e1c9cf4f9a3
drm/i915: Move intel_plane_atomic_calc_changes() & co. out

Exfiltrate intel_plane_atomic_calc_changes() and its friends from
intel_display.c to intel_atomic_plane.c since that is a much better
fit.

While at it also nuke the official looking kernel docs for
intel_wm_need_update() and flag it for eventual destruction so
that people don't get any wrong ideas about using it in new code.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220211090629.15555-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/intel_atomic_plane.h
drivers/gpu/drm/i915/display/intel_display.c