summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_fb.h
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2021-04-14 18:51:58 +0300
committerImre Deak <imre.deak@intel.com>2021-05-04 16:12:14 +0300
commit959086ecd677745f24526426c33a559fc3d2d2c1 (patch)
treefdc6aada5d9bb2cedabad8b4a912f50ea7e921aa /drivers/gpu/drm/i915/display/intel_fb.h
parent31824c03faac432171032fe9a50567ea7973d68e (diff)
downloadlinux-959086ecd677745f24526426c33a559fc3d2d2c1.tar.xz
drm/i915: Pass intel_framebuffer instad of drm_framebuffer to intel_fill_fb_info()
Make one step to pass intel_framebuffer to all intel_fb functions. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210414155208.3161335-2-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fb.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fb.h b/drivers/gpu/drm/i915/display/intel_fb.h
index 13244ec1ad21..7cec77bb5046 100644
--- a/drivers/gpu/drm/i915/display/intel_fb.h
+++ b/drivers/gpu/drm/i915/display/intel_fb.h
@@ -45,7 +45,7 @@ u32 intel_plane_compute_aligned_offset(int *x, int *y,
const struct intel_plane_state *state,
int color_plane);
-int intel_fill_fb_info(struct drm_i915_private *i915, struct drm_framebuffer *fb);
+int intel_fill_fb_info(struct drm_i915_private *i915, struct intel_framebuffer *fb);
void intel_fb_fill_view(const struct intel_framebuffer *fb, unsigned int rotation,
struct intel_fb_view *view);
int intel_plane_compute_gtt(struct intel_plane_state *plane_state);