Commit b1562f0f authored by Imre Deak's avatar Imre Deak

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: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020195138.1841242-6-imre.deak@intel.com
parent d89357de
...@@ -349,7 +349,7 @@ bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane) ...@@ -349,7 +349,7 @@ bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane)
plane == 2; 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) && return intel_format_info_is_yuv_semiplanar(fb->format, fb->modifier) &&
color_plane == 1; color_plane == 1;
......
...@@ -30,7 +30,6 @@ enum intel_plane_caps { ...@@ -30,7 +30,6 @@ enum intel_plane_caps {
bool is_ccs_plane(const struct drm_framebuffer *fb, int plane); 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_plane(const struct drm_framebuffer *fb, int plane);
bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane); bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int plane);
bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane);
u64 *intel_fb_plane_get_modifiers(struct drm_i915_private *i915, u64 *intel_fb_plane_get_modifiers(struct drm_i915_private *i915,
enum intel_plane_caps plane_caps); enum intel_plane_caps plane_caps);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment