drm/i915/intel_fb: Pull is_surface_linear() from intel_display.c/skl_universal_plane.c
authorImre Deak <imre.deak@intel.com>
Thu, 25 Mar 2021 21:47:51 +0000 (23:47 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 29 Mar 2021 19:54:50 +0000 (22:54 +0300)
commit3e5e0a75fa58a181f638b51103d50b9bcdbfb8c6
tree00ecc5446f1657de62fb4ed13e4958f358bb7145
parent5e4eb4e6e74937f43856df56bd60405e77574881
drm/i915/intel_fb: Pull is_surface_linear() from intel_display.c/skl_universal_plane.c

Move is_surface_linear() to intel_fb.c and export it from here, also
removing the duplicate definitions of it.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-9-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_fb.c
drivers/gpu/drm/i915/display/intel_fb.h
drivers/gpu/drm/i915/display/skl_universal_plane.c