drm/i915/fb: Make intel_fb_needs_pot_stride_remap() static

intel_fb_needs_pot_stride_remap() isn't needed outside intel_fb.c.
Make it static.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260407155053.32156-3-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Ville Syrjälä 2026-04-07 18:50:43 +03:00
parent a70e5ab00b
commit e538f2a7be
2 changed files with 1 additions and 2 deletions

View File

@ -1265,7 +1265,7 @@ static bool intel_plane_can_remap(const struct intel_plane_state *plane_state)
return true;
}
bool intel_fb_needs_pot_stride_remap(const struct intel_framebuffer *fb)
static bool intel_fb_needs_pot_stride_remap(const struct intel_framebuffer *fb)
{
struct intel_display *display = to_intel_display(fb->base.dev);

View File

@ -77,7 +77,6 @@ u32 intel_plane_compute_aligned_offset(int *x, int *y,
const struct intel_plane_state *plane_state,
int color_plane);
bool intel_fb_needs_pot_stride_remap(const struct intel_framebuffer *fb);
bool intel_plane_uses_fence(const struct intel_plane_state *plane_state);
bool intel_fb_supports_90_270_rotation(const struct intel_framebuffer *fb);