summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/skl_universal_plane.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-03-25 23:47:50 +0200
committerImre Deak <imre.deak@intel.com>2021-03-29 22:54:50 +0300
commit5e4eb4e6e74937f43856df56bd60405e77574881 (patch)
treec7baaf40a134413d1f00abe4462b43e0620703c7 /drivers/gpu/drm/i915/display/skl_universal_plane.h
parentf837a61fb3abc66b827eb9a009b37ca4b7641c3a (diff)
downloadlinux-5e4eb4e6e74937f43856df56bd60405e77574881.tar.gz
linux-5e4eb4e6e74937f43856df56bd60405e77574881.tar.bz2
linux-5e4eb4e6e74937f43856df56bd60405e77574881.zip
drm/i915/intel_fb: Pull FB plane functions from skl_universal_plane.c
Move the FB plane related functions from skl_universal_plane.c to intel_fb.c. 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-8-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/skl_universal_plane.h')
-rw-r--r--drivers/gpu/drm/i915/display/skl_universal_plane.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.h b/drivers/gpu/drm/i915/display/skl_universal_plane.h
index 818266653630..351040b64dc7 100644
--- a/drivers/gpu/drm/i915/display/skl_universal_plane.h
+++ b/drivers/gpu/drm/i915/display/skl_universal_plane.h
@@ -8,7 +8,6 @@
#include <linux/types.h>
-struct drm_framebuffer;
struct drm_i915_private;
struct intel_crtc;
struct intel_initial_plane_config;
@@ -26,7 +25,6 @@ void skl_get_initial_plane_config(struct intel_crtc *crtc,
int skl_format_to_fourcc(int format, bool rgb_order, bool alpha);
-int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane);
int skl_calc_main_surface_offset(const struct intel_plane_state *plane_state,
int *x, int *y, u32 *offset);