summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_fb.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/intel_fb.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/intel_fb.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.h b/drivers/gpu/drm/i915/display/intel_fb.h
index 64e6a2521320..3cde53c75cb3 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.h
+++ b/drivers/gpu/drm/i915/display/intel_fb.h
@@ -14,4 +14,8 @@ bool is_ccs_plane(const struct drm_framebuffer *fb, int plane);
bool is_gen12_ccs_plane(const struct drm_framebuffer *fb, int plane);
bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane);
+int main_to_ccs_plane(const struct drm_framebuffer *fb, int main_plane);
+int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane);
+int skl_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane);
+
#endif /* __INTEL_FB_H__ */