drm/i915: Use intel_tile_{size,width,height}() in intel_gen4_compute_page_offset()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Jan 2016 19:08:35 +0000 (21:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Jan 2016 16:46:41 +0000 (18:46 +0200)
commitd843310d146452105e2bc54b8d82e52ad727697f
tree3fe3ff4f25eba5be2be7bc3cc760c2064f8edf7f
parentd9b3288ecf2fe33b46335d2c93bc5ae50d486d0b
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
drivers/gpu/drm/i915/intel_display.c