diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2015-01-20 12:51:45 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-01-27 09:51:01 +0100 |
commit | ec2c981e6232ac2039e679d24642b80fbbd2acc6 (patch) | |
tree | cd590182407207070ba74e88ffe78125cb117510 /drivers/gpu/drm/i915/intel_drv.h | |
parent | 49af449b457b721ac5c18f537cf7484903f212f8 (diff) | |
download | linux-ec2c981e6232ac2039e679d24642b80fbbd2acc6.tar.gz linux-ec2c981e6232ac2039e679d24642b80fbbd2acc6.tar.bz2 linux-ec2c981e6232ac2039e679d24642b80fbbd2acc6.zip |
drm/i915: Use a common function for computing the fb height alignment
If we need to change the fb height constraints, it sounds like a good
idea to have to do it in one place only.
v2: v2: Rebase on top of Ander's "Make intel_crtc->config a pointer"
Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 04e2cfcc630b..47a452a5ed17 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -872,6 +872,8 @@ void intel_frontbuffer_flip(struct drm_device *dev, intel_frontbuffer_flush(dev, frontbuffer_bits); } +int intel_fb_align_height(struct drm_device *dev, int height, + unsigned int tiling); void intel_fb_obj_flush(struct drm_i915_gem_object *obj, bool retire); |