diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-08-23 15:25:34 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-08-24 20:47:10 +0300 |
commit | b8db261187439c42d18036d661a95e68de76550e (patch) | |
tree | efe81cfde78afd457e2f8f337ecb083dae64336d /drivers/gpu/drm/i915/display/intel_fb.h | |
parent | d36168832755112573b926efe3b9d5213504f265 (diff) | |
download | linux-b8db261187439c42d18036d661a95e68de76550e.tar.gz linux-b8db261187439c42d18036d661a95e68de76550e.tar.bz2 linux-b8db261187439c42d18036d661a95e68de76550e.zip |
drm/i915/fb: move intel_fb_align_height() to intel_fb.c
Split out fb related stuff from intel_display.c to intel_fb.c.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7c97d29eeff676b510eafd242e2a6d7c8ed4a3a6.1629721467.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fb.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_fb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.h b/drivers/gpu/drm/i915/display/intel_fb.h index 4768360401ae..f3d677cd6b6e 100644 --- a/drivers/gpu/drm/i915/display/intel_fb.h +++ b/drivers/gpu/drm/i915/display/intel_fb.h @@ -31,7 +31,8 @@ unsigned int intel_tile_size(const struct drm_i915_private *i915); unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane); unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane); unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane); - +unsigned int intel_fb_align_height(const struct drm_framebuffer *fb, + int color_plane, unsigned int height); unsigned int intel_cursor_alignment(const struct drm_i915_private *i915); void intel_fb_plane_get_subsampling(int *hsub, int *vsub, |