summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_fb.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-10-20 22:51:32 +0300
committerImre Deak <imre.deak@intel.com>2021-10-21 21:44:36 +0300
commitb1562f0f0f69120225285977eb2bd488c7eb5482 (patch)
treea6e1f2883b4fd56fb9767240c80d9a381b7e7230 /drivers/gpu/drm/i915/display/intel_fb.c
parentd89357ded55e1294e172cec176f49e1685dca06d (diff)
downloadlinux-b1562f0f0f69120225285977eb2bd488c7eb5482.tar.gz
linux-b1562f0f0f69120225285977eb2bd488c7eb5482.tar.bz2
linux-b1562f0f0f69120225285977eb2bd488c7eb5482.zip
drm/i915: Unexport is_semiplanar_uv_plane()
This function is only used by intel_fb.c, so unexport it. Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211020195138.1841242-6-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fb.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.c b/drivers/gpu/drm/i915/display/intel_fb.c
index 0355a73ebdcb..3fe22f4418a0 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.c
+++ b/drivers/gpu/drm/i915/display/intel_fb.c
@@ -349,7 +349,7 @@ bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane)
plane == 2;
}
-bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane)
+static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane)
{
return intel_format_info_is_yuv_semiplanar(fb->format, fb->modifier) &&
color_plane == 1;