commit | 5d7bd705ddb362d5bd8ef2f3b294cd8f9d93c39e | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Oct 31 17:50:18 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Sun Nov 11 23:51:12 2012 +0100 |
tree | 0c3598e06d266e35b18a607a200b233330315c76 | |
parent | 57779d06367a915ee03e6cb918d7575f0a46e419 [diff] |
drm/i915: Check framebuffer stride more thoroughly Make sure the the framebuffer stride is smaller than 32k. That seems to be the limit on recent hardware. Not quite sure if <=Gen4 has smaller limits. Also when using a tiled memory make sure the object stride matches the framebuffer stride. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>