commit | d843310d146452105e2bc54b8d82e52ad727697f | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Jan 12 21:08:35 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Jan 13 18:46:41 2016 +0200 |
tree | 3fe3ff4f25eba5be2be7bc3cc760c2064f8edf7f | |
parent | d9b3288ecf2fe33b46335d2c93bc5ae50d486d0b [diff] |
drm/i915: Use intel_tile_{size,width,height}() in intel_gen4_compute_page_offset() Make intel_gen4_compute_page_offset() ready for other tiling formats besied X-tile by getting the tile dimensions through intel_tile_{size,width,height}(). Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1452625717-9713-6-git-send-email-ville.syrjala@linux.intel.com