mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
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
This commit is contained in:
parent
d89357ded5
commit
b1562f0f0f
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ enum intel_plane_caps {
|
|||
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);
|
||||
bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane);
|
||||
|
||||
u64 *intel_fb_plane_get_modifiers(struct drm_i915_private *i915,
|
||||
enum intel_plane_caps plane_caps);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user